Rename MainModule to Entrypoint

It is more appropriate.
This commit is contained in:
angelblue05 2015-05-05 15:18:52 -05:00
parent 60957668f3
commit add7494b99
2 changed files with 7 additions and 7 deletions

View file

@ -13,7 +13,7 @@ sys.path.append(BASE_RESOURCE_PATH)
import MainModule as mainModule import Entrypoint as entrypoint
import Utils as utils import Utils as utils
@ -27,7 +27,7 @@ except:
##### Play items via plugin://plugin.video.emby/ ##### ##### Play items via plugin://plugin.video.emby/ #####
if mode == "play": if mode == "play":
mainModule.doPlayback(id) entrypoint.doPlayback(id)
##### DO DATABASE RESET ##### ##### DO DATABASE RESET #####
elif mode == "reset": elif mode == "reset":
@ -35,26 +35,26 @@ elif mode == "reset":
#### DO RESET AUTH ##### #### DO RESET AUTH #####
elif mode == "resetauth": elif mode == "resetauth":
mainModule.resetAuth() entrypoint.resetAuth()
##### BROWSE EMBY CHANNELS ROOT ##### ##### BROWSE EMBY CHANNELS ROOT #####
elif mode == "channels": elif mode == "channels":
mainModule.BrowseChannels(id) entrypoint.BrowseChannels(id)
##### BROWSE EMBY CHANNELS FOLDER ##### ##### BROWSE EMBY CHANNELS FOLDER #####
elif mode == "channelsfolder": elif mode == "channelsfolder":
folderid = params['folderid'] folderid = params['folderid']
mainModule.BrowseChannels(id,folderid) entrypoint.BrowseChannels(id,folderid)
##### GET NEXTUP EPISODES FOR TAGNAME ##### ##### GET NEXTUP EPISODES FOR TAGNAME #####
elif mode == "nextup": elif mode == "nextup":
limit = int(params['limit']) limit = int(params['limit'])
mainModule.getNextUpEpisodes(id, limit) entrypoint.getNextUpEpisodes(id, limit)
##### GET EXTRAFANART FOR LISTITEM ##### ##### GET EXTRAFANART FOR LISTITEM #####
elif "extrafanart" in sys.argv[0]: elif "extrafanart" in sys.argv[0]:
mainModule.getExtraFanArt() entrypoint.getExtraFanArt()
##### SHOW ADDON SETTINGS ##### ##### SHOW ADDON SETTINGS #####