Replace annoying sync message with PKC settings info

This commit is contained in:
croneter 2018-12-09 13:45:09 +01:00
parent dac7cdd47e
commit 01bbaaa90a
3 changed files with 9 additions and 6 deletions

View file

@ -64,6 +64,10 @@ class Service():
utils.settings('syncSpecificPlexPlaylistsPrefix'))
LOG.info("Db version: %s", utils.settings('dbCreatedWithVersion'))
# Reset some status in the PKC settings
# toggled to "No"
utils.settings('plex_status_fanarttv_lookup', value=utils.lang(106))
# Reset window props
for prop in WINDOW_PROPERTIES:
utils.window(prop, clear=True)

View file

@ -150,12 +150,9 @@ class Sync(backgroundthread.KillableThread):
def on_fanart_download_finished(self, successful):
# FanartTV lookup completed
if successful and app.SYNC.sync_dialog:
utils.dialog('notification',
heading='{plex}',
message=utils.lang(30019),
icon='{plex}',
sound=False)
if successful:
# Toggled to "Yes"
utils.settings('plex_status_fanarttv_lookup', value=utils.lang(107))
def start_image_cache_thread(self):
if not utils.settings('enableTextureCache') == "true":

View file

@ -137,6 +137,8 @@
<setting id="imageSyncNotifications" label="30008" type="bool" default="true" /><!-- Enable notifications for image caching -->
<setting id="imageSyncDuringPlayback" label="30009" type="bool" default="true" /><!-- Enable image caching during Kodi playback (restart Kodi!) -->
<setting label="39020" type="action" action="RunPlugin(plugin://plugin.video.plexkodiconnect/?mode=texturecache)" option="close" /> <!-- Cache all images to Kodi texture cache now -->
<setting type="lsep" label="$LOCALIZE[126]" /><!-- Status -->
<setting id="plex_status_fanarttv_lookup" label="30019" type="text" default="" enable="false" /><!-- FanartTV lookup completed -->
</category>
<!--
<category label="30235" visible="false">