fix the mediatype for album and song items
I think this is a bug in Kodi, I have had to set both the music and video info labels.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<addon id="plugin.video.embycon"
|
||||
name="EmbyCon"
|
||||
version="1.4.35"
|
||||
version="1.4.36"
|
||||
provider-name="Team B">
|
||||
<requires>
|
||||
<import addon="xbmc.python" version="2.25.0"/>
|
||||
|
||||
@@ -419,7 +419,7 @@ def add_gui_item(url, item_details, display_options, folder=True):
|
||||
videoInfoLabels["tracknumber"] = item_details.track_number
|
||||
list_item.setInfo('music', videoInfoLabels)
|
||||
# this is to fix a bug in Kodi tracknumber sorting, the video tracknumber overrides the music one when sorting
|
||||
list_item.setInfo('video', {"tracknumber": item_details.track_number})
|
||||
list_item.setInfo('video', videoInfoLabels)
|
||||
else:
|
||||
list_item.setInfo('video', videoInfoLabels)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user