mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Music default, but don't change prior setting.
Version bump
This commit is contained in:
parent
77c91379b2
commit
c3e2e031b7
5 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="plugin.video.emby"
|
<addon id="plugin.video.emby"
|
||||||
name="Emby"
|
name="Emby"
|
||||||
version="0.1.94"
|
version="1.0.0"
|
||||||
provider-name="Emby.media">
|
provider-name="Emby.media">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.1.0"/>
|
<import addon="xbmc.python" version="2.1.0"/>
|
||||||
|
|
|
@ -41,7 +41,7 @@ class LibrarySync():
|
||||||
|
|
||||||
startupDone = WINDOW.getProperty("startup") == "done"
|
startupDone = WINDOW.getProperty("startup") == "done"
|
||||||
syncInstallRunDone = addon.getSetting("SyncInstallRunDone") == "true"
|
syncInstallRunDone = addon.getSetting("SyncInstallRunDone") == "true"
|
||||||
performMusicSync = addon.getSetting("disableMusicSync") == "false"
|
performMusicSync = addon.getSetting("enableMusicSync") == "true"
|
||||||
dbSyncIndication = addon.getSetting("dbSyncIndication") == "true"
|
dbSyncIndication = addon.getSetting("dbSyncIndication") == "true"
|
||||||
WINDOW.setProperty("SyncDatabaseRunning", "true")
|
WINDOW.setProperty("SyncDatabaseRunning", "true")
|
||||||
|
|
||||||
|
@ -518,7 +518,7 @@ class LibrarySync():
|
||||||
#this will only perform sync for items received by the websocket
|
#this will only perform sync for items received by the websocket
|
||||||
addon = xbmcaddon.Addon(id='plugin.video.emby')
|
addon = xbmcaddon.Addon(id='plugin.video.emby')
|
||||||
dbSyncIndication = addon.getSetting("dbSyncIndication") == "true"
|
dbSyncIndication = addon.getSetting("dbSyncIndication") == "true"
|
||||||
performMusicSync = addon.getSetting("disableMusicSync") == "false"
|
performMusicSync = addon.getSetting("enableMusicSync") == "true"
|
||||||
WINDOW.setProperty("SyncDatabaseRunning", "true")
|
WINDOW.setProperty("SyncDatabaseRunning", "true")
|
||||||
|
|
||||||
#show the progress dialog
|
#show the progress dialog
|
||||||
|
|
|
@ -216,7 +216,7 @@ def reset():
|
||||||
connection.commit()
|
connection.commit()
|
||||||
cursor.close()
|
cursor.close()
|
||||||
|
|
||||||
if addonSettings.getSetting("disableMusicSync") == "false":
|
if addonSettings.getSetting("enableMusicSync") == "true":
|
||||||
# delete video db table data
|
# delete video db table data
|
||||||
print "Doing Music DB Reset"
|
print "Doing Music DB Reset"
|
||||||
connection = KodiSQL("music")
|
connection = KodiSQL("music")
|
||||||
|
|
|
@ -273,7 +273,7 @@ class WebSocketThread(threading.Thread):
|
||||||
|
|
||||||
#Process music library
|
#Process music library
|
||||||
addon = xbmcaddon.Addon(id='plugin.video.emby')
|
addon = xbmcaddon.Addon(id='plugin.video.emby')
|
||||||
if addon.getSetting("disableMusicSync") == "false":
|
if addon.getSetting("enableMusicSync") == "true":
|
||||||
connection = utils.KodiSQL("music")
|
connection = utils.KodiSQL("music")
|
||||||
cursor = connection.cursor()
|
cursor = connection.cursor()
|
||||||
for item in itemsRemoved:
|
for item in itemsRemoved:
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
<category label="Sync Options">
|
<category label="Sync Options">
|
||||||
<!-- <setting id="syncMovieBoxSets" type="bool" label="30238" default="true" visible="true" enable="true" /> -->
|
<!-- <setting id="syncMovieBoxSets" type="bool" label="30238" default="true" visible="true" enable="true" /> -->
|
||||||
<setting id="dbSyncIndication" type="bool" label="Show sync progress on screen" default="false" visible="true" enable="true" />
|
<setting id="dbSyncIndication" type="bool" label="Show sync progress on screen" default="false" visible="true" enable="true" />
|
||||||
<setting id="disableMusicSync" type="bool" label="Disable Music Library Sync" default="false" visible="true" enable="true" />
|
<setting id="enableMusicSync" type="bool" label="Enable Music Library Sync" default="true" visible="true" enable="true" />
|
||||||
<setting id="useDirectPaths" type="bool" label="30250" default="false" visible="true" enable="true" />
|
<setting id="useDirectPaths" type="bool" label="30250" default="false" visible="true" enable="true" />
|
||||||
</category>
|
</category>
|
||||||
<category label="Playback"> <!-- Extra Sync options -->
|
<category label="Playback"> <!-- Extra Sync options -->
|
||||||
|
|
Loading…
Reference in a new issue