mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Fix directors
This commit is contained in:
parent
8025bc31f9
commit
7dbc1339bb
1 changed files with 3 additions and 1 deletions
|
@ -413,10 +413,12 @@ class WriteKodiVideoDB():
|
||||||
self.AddTagsToMedia(idMVideo, tags, "musicvideo", cursor)
|
self.AddTagsToMedia(idMVideo, tags, "musicvideo", cursor)
|
||||||
|
|
||||||
#update or insert actors
|
#update or insert actors
|
||||||
|
people = MBitem['People']
|
||||||
artists = MBitem['ArtistItems']
|
artists = MBitem['ArtistItems']
|
||||||
for artist in artists:
|
for artist in artists:
|
||||||
artist['Type'] = "Artist"
|
artist['Type'] = "Artist"
|
||||||
self.AddPeopleToMedia(idMVideo,artists,"musicvideo", connection, cursor)
|
people.extend(artists)
|
||||||
|
self.AddPeopleToMedia(idMVideo,people,"musicvideo", connection, cursor)
|
||||||
|
|
||||||
# Update artwork
|
# Update artwork
|
||||||
self.textureCache.addArtwork(API().getAllArtwork(MBitem), idMVideo, "musicvideo", cursor)
|
self.textureCache.addArtwork(API().getAllArtwork(MBitem), idMVideo, "musicvideo", cursor)
|
||||||
|
|
Loading…
Reference in a new issue