Support emby tags for music videos

This commit is contained in:
angelblue05 2015-10-18 21:15:49 -05:00
parent 069379ae59
commit 6849c22414

View file

@ -401,7 +401,10 @@ class WriteKodiVideoDB():
#update the checksum in emby table #update the checksum in emby table
cursor.execute("UPDATE emby SET checksum = ? WHERE emby_id = ?", (API().getChecksum(MBitem),MBitem["Id"])) cursor.execute("UPDATE emby SET checksum = ? WHERE emby_id = ?", (API().getChecksum(MBitem),MBitem["Id"]))
# Add tags to item, view tag and emby tags
tags = MBitem['Tags']
self.AddTagsToMedia(idMVideo, tags, "musicvideo", cursor)
#update or insert actors #update or insert actors
self.AddPeopleToMedia(idMVideo,MBitem.get("People"),"musicvideo", connection, cursor) self.AddPeopleToMedia(idMVideo,MBitem.get("People"),"musicvideo", connection, cursor)