mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
basic support for Kodi Leia
This commit is contained in:
parent
4ed87e877c
commit
b07d820806
2 changed files with 8 additions and 6 deletions
|
@ -29,7 +29,8 @@ def video_database():
|
||||||
'14': 90, # Helix
|
'14': 90, # Helix
|
||||||
'15': 93, # Isengard
|
'15': 93, # Isengard
|
||||||
'16': 99, # Jarvis
|
'16': 99, # Jarvis
|
||||||
'17': 107 # Krypton
|
'17': 107,# Krypton
|
||||||
|
'18': 108 # Leia
|
||||||
}
|
}
|
||||||
return xbmc.translatePath("special://database/MyVideos%s.db"
|
return xbmc.translatePath("special://database/MyVideos%s.db"
|
||||||
% db_version.get(KODI, "")).decode('utf-8')
|
% db_version.get(KODI, "")).decode('utf-8')
|
||||||
|
@ -41,7 +42,8 @@ def music_database():
|
||||||
'14': 48, # Helix
|
'14': 48, # Helix
|
||||||
'15': 52, # Isengard
|
'15': 52, # Isengard
|
||||||
'16': 56, # Jarvis
|
'16': 56, # Jarvis
|
||||||
'17': 60 # Krypton
|
'17': 60, # Krypton
|
||||||
|
'18': 65 # Leia
|
||||||
}
|
}
|
||||||
return xbmc.translatePath("special://database/MyMusic%s.db"
|
return xbmc.translatePath("special://database/MyMusic%s.db"
|
||||||
% db_version.get(KODI, "")).decode('utf-8')
|
% db_version.get(KODI, "")).decode('utf-8')
|
||||||
|
|
|
@ -194,8 +194,8 @@ class Views(object):
|
||||||
|
|
||||||
def get_tag(self, tag):
|
def get_tag(self, tag):
|
||||||
# This will create and return the tag_id
|
# This will create and return the tag_id
|
||||||
if KODI in (15, 16, 17):
|
if KODI > 14:
|
||||||
# Kodi Isengard, Jarvis, Krypton
|
# Kodi Isengard and up
|
||||||
query = ' '.join((
|
query = ' '.join((
|
||||||
|
|
||||||
"SELECT tag_id",
|
"SELECT tag_id",
|
||||||
|
@ -244,8 +244,8 @@ class Views(object):
|
||||||
|
|
||||||
log.debug("Updating: %s with %s for %s: %s", tag, new_tag, media_type, kodi_id)
|
log.debug("Updating: %s with %s for %s: %s", tag, new_tag, media_type, kodi_id)
|
||||||
|
|
||||||
if KODI in (15, 16, 17):
|
if KODI > 14:
|
||||||
# Kodi Isengard, Jarvis, Krypton
|
# Kodi Isengard and up
|
||||||
try:
|
try:
|
||||||
query = ' '.join((
|
query = ' '.join((
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue