mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-21 00:35:08 +00:00
preparation of videoextras
This commit is contained in:
parent
455b7262fc
commit
36007a1e7d
2 changed files with 32 additions and 2 deletions
|
@ -50,7 +50,6 @@ class Main:
|
|||
|
||||
'reset': utils.reset,
|
||||
'resetauth': entrypoint.resetAuth,
|
||||
'extrafanart': entrypoint.getExtraFanArt,
|
||||
'play': entrypoint.doPlayback,
|
||||
'passwords': utils.passwordsXML,
|
||||
'adduser': entrypoint.addUser,
|
||||
|
@ -66,10 +65,15 @@ class Main:
|
|||
'deviceid': entrypoint.resetDeviceId
|
||||
}
|
||||
|
||||
if "extrafanart" in sys.argv[0]:
|
||||
if "/extrafanart" in sys.argv[0]:
|
||||
embypath = sys.argv[2][1:]
|
||||
embyid = params.get('id',[""])[0]
|
||||
entrypoint.getExtraFanArt(embyid,embypath)
|
||||
|
||||
if "/Extras" in sys.argv[0] or "/VideoFiles" in sys.argv[0]:
|
||||
embypath = sys.argv[2][1:]
|
||||
embyid = params.get('id',[""])[0]
|
||||
entrypoint.getVideoFiles(embyid,embypath)
|
||||
|
||||
if modes.get(mode):
|
||||
# Simple functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue