mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Add developer mode
This commit is contained in:
parent
0926c0b5b4
commit
7dfdf91279
2 changed files with 6 additions and 1 deletions
|
@ -177,6 +177,9 @@ class Service(xbmc.Monitor):
|
|||
LOG.info("--[ check updates/%s ]", objects.version)
|
||||
kodi = xbmc.getInfoLabel('System.BuildVersion')
|
||||
|
||||
if settings('devMode'):
|
||||
kodi = "DEV"
|
||||
|
||||
try:
|
||||
versions = requests.get('http://kodi.emby.media/Public%20testing/Dependencies/databases.json').json()
|
||||
build = find(versions, kodi)
|
||||
|
|
|
@ -97,8 +97,10 @@
|
|||
<setting label="30535" type="action" action="RunPlugin(plugin://plugin.video.emby?mode=deviceid)" option="close" />
|
||||
<setting label="33161" type="action" action="RunPlugin(plugin://plugin.video.emby?mode=checkupdate)" option="close" />
|
||||
<setting label="33180" type="action" action="RunPlugin(plugin://plugin.video.emby?mode=restartservice)" option="close" />
|
||||
<setting type="sep" />
|
||||
<setting label="Developer mode" id="devMode" type="bool" default="false" />
|
||||
|
||||
<setting type="sep"/>
|
||||
<setting type="sep" />
|
||||
<setting label="33104" type="lsep"/>
|
||||
<setting label="33093" type="folder" id="backupPath" option="writeable" />
|
||||
<setting label="33092" type="action" action="RunPlugin(plugin://plugin.video.emby?mode=backup)" visible="!eq(-1,)" option="close" />
|
||||
|
|
Loading…
Reference in a new issue