minor
This commit is contained in:
parent
290fa837b3
commit
2482e56fdc
8
main.py
8
main.py
|
@ -525,7 +525,6 @@ def list_tracks(params):
|
||||||
# tracknumber += 1
|
# tracknumber += 1
|
||||||
# items[item]['tracknumber'] = tracknumber
|
# items[item]['tracknumber'] = tracknumber
|
||||||
|
|
||||||
# Starred
|
|
||||||
# Starred
|
# Starred
|
||||||
elif menu_id == 'tracks_starred':
|
elif menu_id == 'tracks_starred':
|
||||||
generator = connection.walk_tracks_starred()
|
generator = connection.walk_tracks_starred()
|
||||||
|
@ -821,9 +820,6 @@ def get_entry_album(item, params):
|
||||||
|
|
||||||
return entry
|
return entry
|
||||||
|
|
||||||
#sort method for list types
|
|
||||||
#https://github.com/xbmc/xbmc/blob/master/xbmc/SortFileItem.h
|
|
||||||
#TO FIX _DATE or _DATEADDED ?
|
|
||||||
def get_entry_track(item,params):
|
def get_entry_track(item,params):
|
||||||
|
|
||||||
menu_id = params.get('menu_id')
|
menu_id = params.get('menu_id')
|
||||||
|
@ -897,11 +893,15 @@ def get_entry_album_label(item,hide_artist = False):
|
||||||
|
|
||||||
|
|
||||||
def get_sort_methods(type,params):
|
def get_sort_methods(type,params):
|
||||||
|
#sort method for list types
|
||||||
|
#https://github.com/xbmc/xbmc/blob/master/xbmc/SortFileItem.h
|
||||||
|
#TO FIX _DATE or _DATEADDED ?
|
||||||
|
|
||||||
#TO FIX
|
#TO FIX
|
||||||
#actually it seems possible to 'restore' the default sorting (by labels)
|
#actually it seems possible to 'restore' the default sorting (by labels)
|
||||||
#so our starred items don't get colorized.
|
#so our starred items don't get colorized.
|
||||||
#so do not sort stuff
|
#so do not sort stuff
|
||||||
|
#see http://forum.kodi.tv/showthread.php?tid=293037
|
||||||
return []
|
return []
|
||||||
|
|
||||||
sortable = [
|
sortable = [
|
||||||
|
|
Loading…
Reference in New Issue