Update library.py

add 'year' to filter, it works
This commit is contained in:
hidaba 2018-11-26 12:28:14 +01:00 committed by GitHub
parent 4f5ce34b17
commit 73d1eec5ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -776,7 +776,7 @@ class MusicSection(LibrarySection):
TAG (str): 'Directory'
TYPE (str): 'artist'
"""
ALLOWED_FILTERS = ('genre', 'country', 'collection', 'mood')
ALLOWED_FILTERS = ('genre', 'country', 'collection', 'mood','year')
ALLOWED_SORT = ('addedAt', 'lastViewedAt', 'viewCount', 'titleSort')
TAG = 'Directory'
TYPE = 'artist'