Fix minor docstring typos in jellyfin component media_source.py (#146398)

This commit is contained in:
Will Schlitzer 2025-06-09 14:12:32 -04:00 committed by GitHub
parent 7cc8f91bf9
commit 0144a0bb1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -329,8 +329,8 @@ class JellyfinSource(MediaSource):
movies = await self._get_children(library_id, ITEM_TYPE_MOVIE)
movies = sorted(
movies,
# Sort by whether a movies has an name first, then by name
# This allows for sorting moveis with, without and with missing names
# Sort by whether a movie has a name first, then by name
# This allows for sorting movies with, without and with missing names
key=lambda k: (
ITEM_KEY_NAME not in k,
k.get(ITEM_KEY_NAME),
@ -388,7 +388,7 @@ class JellyfinSource(MediaSource):
series = await self._get_children(library_id, ITEM_TYPE_SERIES)
series = sorted(
series,
# Sort by whether a seroes has an name first, then by name
# Sort by whether a series has a name first, then by name
# This allows for sorting series with, without and with missing names
key=lambda k: (
ITEM_KEY_NAME not in k,