Support emby tags for music videos
This commit is contained in:
parent
069379ae59
commit
6849c22414
1 changed files with 4 additions and 1 deletions
|
@ -401,6 +401,9 @@ 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)
|
||||||
|
|
Loading…
Reference in a new issue