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({ 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']
}) })

View file

@ -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",