mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Don't sort playlist contents
This commit is contained in:
parent
637aa3974c
commit
0f84d148b9
1 changed files with 2 additions and 0 deletions
|
@ -294,6 +294,8 @@ def browse(media, view_id=None, folder=None, server_id=None):
|
||||||
listing = TheVoid('Browse', {'Id': view_id, 'ServerId': server_id, 'Media': get_media_type(content_type), 'Params': {'GenreIds': folder.split('-')[1]}}).get()
|
listing = TheVoid('Browse', {'Id': view_id, 'ServerId': server_id, 'Media': get_media_type(content_type), 'Params': {'GenreIds': folder.split('-')[1]}}).get()
|
||||||
elif folder == 'favepisodes':
|
elif folder == 'favepisodes':
|
||||||
listing = TheVoid('Browse', {'Media': get_media_type(content_type), 'ServerId': server_id, 'Limit': 25, 'Filters': ['IsFavorite']}).get()
|
listing = TheVoid('Browse', {'Media': get_media_type(content_type), 'ServerId': server_id, 'Limit': 25, 'Filters': ['IsFavorite']}).get()
|
||||||
|
elif folder and media == 'playlists':
|
||||||
|
listing = TheVoid('Browse', {'Id': folder, 'ServerId': server_id, 'Recursive': False, 'Sort': 'None'}).get()
|
||||||
elif media == 'homevideos':
|
elif media == 'homevideos':
|
||||||
listing = TheVoid('Browse', {'Id': folder or view_id, 'Media': get_media_type(content_type), 'ServerId': server_id, 'Recursive': False}).get()
|
listing = TheVoid('Browse', {'Id': folder or view_id, 'Media': get_media_type(content_type), 'ServerId': server_id, 'Recursive': False}).get()
|
||||||
elif media == 'movies':
|
elif media == 'movies':
|
||||||
|
|
Loading…
Reference in a new issue