mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +00:00
Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi
This commit is contained in:
commit
4c43139765
3 changed files with 20 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="plugin.video.emby"
|
<addon id="plugin.video.emby"
|
||||||
name="Emby"
|
name="Emby"
|
||||||
version="1.1.52"
|
version="1.1.53"
|
||||||
provider-name="Emby.media">
|
provider-name="Emby.media">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.1.0"/>
|
<import addon="xbmc.python" version="2.1.0"/>
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
version 1.1.53
|
||||||
|
- Add visual warning when kodi version is incompatible
|
||||||
|
- Add ask to play trailers option
|
||||||
|
- Fix music singles
|
||||||
|
- Fix direct path not working during the initial setup
|
||||||
|
- Fix music videos missing artist link
|
||||||
|
|
||||||
version 1.1.52
|
version 1.1.52
|
||||||
- Report playback for music
|
- Report playback for music
|
||||||
- Support Emby tags for music videos
|
- Support Emby tags for music videos
|
||||||
|
|
|
@ -407,7 +407,10 @@ class WriteKodiVideoDB():
|
||||||
self.AddTagsToMedia(idMVideo, tags, "musicvideo", cursor)
|
self.AddTagsToMedia(idMVideo, tags, "musicvideo", cursor)
|
||||||
|
|
||||||
#update or insert actors
|
#update or insert actors
|
||||||
self.AddPeopleToMedia(idMVideo,MBitem.get("People"),"musicvideo", connection, cursor)
|
artists = MBitem['ArtistItems']
|
||||||
|
for artist in artists:
|
||||||
|
artist['Type'] = "Artist"
|
||||||
|
self.AddPeopleToMedia(idMVideo,artists,"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)
|
||||||
|
@ -919,6 +922,10 @@ class WriteKodiVideoDB():
|
||||||
query = "INSERT OR REPLACE INTO writer_link(actor_id, media_id, media_type) values(?, ?, ?)"
|
query = "INSERT OR REPLACE INTO writer_link(actor_id, media_id, media_type) values(?, ?, ?)"
|
||||||
cursor.execute(query, (actorid, id, mediatype))
|
cursor.execute(query, (actorid, id, mediatype))
|
||||||
|
|
||||||
|
elif "Artist" in type:
|
||||||
|
query = "INSERT OR REPLACE INTO actor_link(actor_id, media_id, media_type) values(?, ?, ?)"
|
||||||
|
cursor.execute(query, (actorid, id, mediatype))
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# Kodi Gotham or Helix
|
# Kodi Gotham or Helix
|
||||||
if "Actor" in type:
|
if "Actor" in type:
|
||||||
|
@ -959,6 +966,10 @@ class WriteKodiVideoDB():
|
||||||
if query:
|
if query:
|
||||||
cursor. execute(query, (actorid, id))
|
cursor. execute(query, (actorid, id))
|
||||||
|
|
||||||
|
elif "Artist" in type:
|
||||||
|
query = "INSERT OR REPLACE INTO artistlinkmusicvideo(idArtist, idMVideo) values(?, ?)"
|
||||||
|
cursor.execute(query, (actorid, id))
|
||||||
|
|
||||||
def AddGenresToMedia(self, id, genres, mediatype, cursor):
|
def AddGenresToMedia(self, id, genres, mediatype, cursor):
|
||||||
|
|
||||||
kodiVersion = self.kodiversion
|
kodiVersion = self.kodiversion
|
||||||
|
|
Loading…
Reference in a new issue