Fix AttributeError due to missing Kodi sort methods

- Partially fixes #253
This commit is contained in:
tomkat83 2017-03-14 18:45:05 +01:00
parent c4a829b831
commit 6fdff941ea

View file

@ -329,7 +329,6 @@ SORT_METHODS_SONGS = (
'SORT_METHOD_TRACKNUM', 'SORT_METHOD_TRACKNUM',
'SORT_METHOD_DURATION', 'SORT_METHOD_DURATION',
'SORT_METHOD_ARTIST', 'SORT_METHOD_ARTIST',
'SORT_METHOD_ARTIST_AND_YEAR',
'SORT_METHOD_ALBUM', 'SORT_METHOD_ALBUM',
'SORT_METHOD_SONG_RATING', 'SORT_METHOD_SONG_RATING',
'SORT_METHOD_SONG_USER_RATING' 'SORT_METHOD_SONG_USER_RATING'
@ -341,7 +340,6 @@ SORT_METHODS_ARTISTS = (
'SORT_METHOD_TRACKNUM', 'SORT_METHOD_TRACKNUM',
'SORT_METHOD_DURATION', 'SORT_METHOD_DURATION',
'SORT_METHOD_ARTIST', 'SORT_METHOD_ARTIST',
'SORT_METHOD_ARTIST_AND_YEAR',
'SORT_METHOD_ALBUM', 'SORT_METHOD_ALBUM',
) )
@ -351,6 +349,5 @@ SORT_METHODS_ALBUMS = (
'SORT_METHOD_TRACKNUM', 'SORT_METHOD_TRACKNUM',
'SORT_METHOD_DURATION', 'SORT_METHOD_DURATION',
'SORT_METHOD_ARTIST', 'SORT_METHOD_ARTIST',
'SORT_METHOD_ARTIST_AND_YEAR',
'SORT_METHOD_ALBUM', 'SORT_METHOD_ALBUM',
) )