mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Rename MainModule to Entrypoint
It is more appropriate.
This commit is contained in:
parent
60957668f3
commit
add7494b99
2 changed files with 7 additions and 7 deletions
14
default.py
14
default.py
|
@ -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 #####
|
||||||
|
|
Loading…
Reference in a new issue