mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16: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,6 +97,8 @@
|
|||
<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 label="33104" type="lsep"/>
|
||||
|
|
Loading…
Reference in a new issue