Fix empty artist, missing Title

This commit is contained in:
angelblue05 2018-09-21 04:12:24 -05:00
parent 59ce94066e
commit 1fc22ce824
2 changed files with 2 additions and 1 deletions

View file

@ -381,7 +381,7 @@ class Actions(object):
metadata.update({
'mediatype': "musicvideo",
'album': obj['Album'],
'artist': obj['Artists'],
'artist': obj['Artists'] or [],
'lastplayed': obj['DatePlayed'],
'duration': obj['Runtime']
})

View file

@ -162,6 +162,7 @@
},
"MusicVideoUserData": {
"Id": "Id",
"Title": "Name",
"Runtime": "RunTimeTicks,CumulativeRunTimeTicks",
"Resume": "UserData/PlaybackPositionTicks",
"Favorite": "UserData/IsFavorite",