This commit is contained in:
Ty Hahn 2019-08-07 05:55:03 +09:00
parent 37727a69ed
commit 1d663b9209
2 changed files with 2 additions and 2 deletions

View file

@ -713,7 +713,7 @@ class ShowSection(LibrarySection):
'guid', 'duplicate', 'label', 'show.title', 'show.year', 'show.userRating',
'show.viewCount', 'show.lastViewedAt', 'show.actor', 'show.addedAt', 'episode.title',
'episode.originallyAvailableAt', 'episode.resolution', 'episode.subtitleLanguage',
'episode.unwatched', 'episode.addedAt','episode.userRating', 'episode.viewCount',
'episode.unwatched', 'episode.addedAt', 'episode.userRating', 'episode.viewCount',
'episode.lastViewedAt')
ALLOWED_SORT = ('addedAt', 'lastViewedAt', 'originallyAvailableAt', 'titleSort',
'rating', 'unwatched')

View file

@ -334,7 +334,7 @@ class PlexServer(PlexObject):
up the result listing. For example: datetime.now() - timedelta(days=7)
"""
results, subresults = [], '_init'
args = {'sort':'viewedAt:desc'}
args = {'sort': 'viewedAt:desc'}
if mindate:
args['viewedAt>'] = int(mindate.timestamp())
args['X-Plex-Container-Start'] = 0