mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix empty artist, missing Title
This commit is contained in:
parent
59ce94066e
commit
1fc22ce824
2 changed files with 2 additions and 1 deletions
|
@ -381,7 +381,7 @@ class Actions(object):
|
||||||
metadata.update({
|
metadata.update({
|
||||||
'mediatype': "musicvideo",
|
'mediatype': "musicvideo",
|
||||||
'album': obj['Album'],
|
'album': obj['Album'],
|
||||||
'artist': obj['Artists'],
|
'artist': obj['Artists'] or [],
|
||||||
'lastplayed': obj['DatePlayed'],
|
'lastplayed': obj['DatePlayed'],
|
||||||
'duration': obj['Runtime']
|
'duration': obj['Runtime']
|
||||||
})
|
})
|
||||||
|
|
|
@ -162,6 +162,7 @@
|
||||||
},
|
},
|
||||||
"MusicVideoUserData": {
|
"MusicVideoUserData": {
|
||||||
"Id": "Id",
|
"Id": "Id",
|
||||||
|
"Title": "Name",
|
||||||
"Runtime": "RunTimeTicks,CumulativeRunTimeTicks",
|
"Runtime": "RunTimeTicks,CumulativeRunTimeTicks",
|
||||||
"Resume": "UserData/PlaybackPositionTicks",
|
"Resume": "UserData/PlaybackPositionTicks",
|
||||||
"Favorite": "UserData/IsFavorite",
|
"Favorite": "UserData/IsFavorite",
|
||||||
|
|
Loading…
Reference in a new issue