/[projects]/misc/xbmc/plugin.video.todic/default.py
ViewVC logotype

Diff of /misc/xbmc/plugin.video.todic/default.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3207 by torben, Thu Dec 8 09:47:21 2016 UTC revision 3208 by torben, Mon Sep 18 06:43:20 2017 UTC
# Line 24  from time import time Line 24  from time import time
24    
25  __addon__ = xbmcaddon.Addon(id='plugin.video.todic')  __addon__ = xbmcaddon.Addon(id='plugin.video.todic')
26  __key__ = __addon__.getSetting('xbmckey').lower()  __key__ = __addon__.getSetting('xbmckey').lower()
27    __entrypoint__ = __addon__.getSetting('entrypoint').lower()
28  __backend__ = "https://todic.dk/xbmc.php?xbmckey=" + __key__  __backend__ = "https://todic.dk/xbmc.php?xbmckey=" + __key__
29    
30    if __entrypoint__ == "alternative":
31            __backend__ = "https://alt.todic.dk/xbmc.php?xbmckey=" + key
32    
33    if __entrypoint__ == "testing":
34            __backend__ = "https://todic.dk/xbmc-beta.php?xbmckey=" + __key__
35            
36    
37    
38  fanartImage = os.path.join(__addon__.getAddonInfo('path'), 'movie_bg_blur.jpg')  fanartImage = os.path.join(__addon__.getAddonInfo('path'), 'movie_bg_blur.jpg')
39  datapath = xbmc.translatePath(  datapath = xbmc.translatePath(
40      'special://profile/addon_data/plugin.video.todic/')      'special://profile/addon_data/plugin.video.todic/')

Legend:
Removed from v.3207  
changed lines
  Added in v.3208

  ViewVC Help
Powered by ViewVC 1.1.20