From 6849c2241420f0f1a515002e422231cf0d8e7201 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sun, 18 Oct 2015 21:15:49 -0500 Subject: [PATCH] Support emby tags for music videos --- resources/lib/WriteKodiVideoDB.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/lib/WriteKodiVideoDB.py b/resources/lib/WriteKodiVideoDB.py index 4a2bfe94..a2d6e081 100644 --- a/resources/lib/WriteKodiVideoDB.py +++ b/resources/lib/WriteKodiVideoDB.py @@ -401,7 +401,10 @@ class WriteKodiVideoDB(): #update the checksum in emby table 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 self.AddPeopleToMedia(idMVideo,MBitem.get("People"),"musicvideo", connection, cursor)