mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 11:43:13 +00:00
Merge pull request #318 from jmlw/master
Allow MusicSection search by track.userRating and sort by userRating
This commit is contained in:
commit
15827022f3
1 changed files with 2 additions and 2 deletions
|
@ -776,8 +776,8 @@ class MusicSection(LibrarySection):
|
|||
TAG (str): 'Directory'
|
||||
TYPE (str): 'artist'
|
||||
"""
|
||||
ALLOWED_FILTERS = ('genre', 'country', 'collection', 'mood')
|
||||
ALLOWED_SORT = ('addedAt', 'lastViewedAt', 'viewCount', 'titleSort')
|
||||
ALLOWED_FILTERS = ('genre', 'country', 'collection', 'mood', 'track.userRating')
|
||||
ALLOWED_SORT = ('addedAt', 'lastViewedAt', 'viewCount', 'titleSort', 'userRating')
|
||||
TAG = 'Directory'
|
||||
TYPE = 'artist'
|
||||
|
||||
|
|
Loading…
Reference in a new issue