Skip to content

Commit 73d1eec

Browse files
authored
Update library.py
add 'year' to filter, it works
1 parent 4f5ce34 commit 73d1eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plexapi/library.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ class MusicSection(LibrarySection):
776776
TAG (str): 'Directory'
777777
TYPE (str): 'artist'
778778
"""
779-
ALLOWED_FILTERS = ('genre', 'country', 'collection', 'mood')
779+
ALLOWED_FILTERS = ('genre', 'country', 'collection', 'mood','year')
780780
ALLOWED_SORT = ('addedAt', 'lastViewedAt', 'viewCount', 'titleSort')
781781
TAG = 'Directory'
782782
TYPE = 'artist'

0 commit comments

Comments
 (0)