Move KODILANGUAGE
This commit is contained in:
parent
569a816cb3
commit
8d11fa2a90
2 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,7 @@ import xbmcvfs
|
|||
import clientinfo
|
||||
import downloadutils
|
||||
from utils import window, settings, language as lang, tryDecode, tryEncode, \
|
||||
DateToKodi
|
||||
DateToKodi, KODILANGUAGE
|
||||
from PlexFunctions import PLEX_TO_KODI_TIMEFACTOR, PMSHttpsEnabled
|
||||
import embydb_functions as embydb
|
||||
|
||||
|
@ -1932,7 +1932,6 @@ class API():
|
|||
else:
|
||||
log.info('Start movie set/collection lookup on themoviedb')
|
||||
|
||||
KODILANGUAGE = xbmc.getLanguage(xbmc.ISO_639_1)
|
||||
apiKey = settings('themoviedbAPIKey')
|
||||
if media_type == 'show':
|
||||
media_type = 'tv'
|
||||
|
@ -2068,7 +2067,6 @@ class API():
|
|||
mediaId: IMDB id for movies, tvdb id for TV shows
|
||||
"""
|
||||
item = self.item.attrib
|
||||
KODILANGUAGE = xbmc.getLanguage(xbmc.ISO_639_1)
|
||||
api_key = settings('FanArtTVAPIKey')
|
||||
typus = item.get('type')
|
||||
if typus == 'show':
|
||||
|
|
|
@ -29,6 +29,8 @@ addonName = 'PlexKodiConnect'
|
|||
WINDOW = xbmcgui.Window(10000)
|
||||
ADDON = xbmcaddon.Addon(id='plugin.video.plexkodiconnect')
|
||||
|
||||
KODILANGUAGE = xbmc.getLanguage(xbmc.ISO_639_1)
|
||||
|
||||
###############################################################################
|
||||
# Main methods
|
||||
|
||||
|
|
Loading…
Reference in a new issue