Add PKC settings status indication for caching
This commit is contained in:
parent
aa11761ae9
commit
c8405414d1
4 changed files with 11 additions and 0 deletions
|
@ -146,6 +146,11 @@ msgctxt "#30027"
|
||||||
msgid "Prefix in Kodi playlist name to trigger sync"
|
msgid "Prefix in Kodi playlist name to trigger sync"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
# PKC settings artwork options: status info
|
||||||
|
msgctxt "#30028"
|
||||||
|
msgid "PKC-only image caching completed"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "#30030"
|
msgctxt "#30030"
|
||||||
msgid "Port Number"
|
msgid "Port Number"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -60,6 +60,9 @@ class ImageCachingThread(backgroundthread.KillableThread):
|
||||||
return
|
return
|
||||||
app.APP.monitor.waitForAbort(1)
|
app.APP.monitor.waitForAbort(1)
|
||||||
cache_url(url)
|
cache_url(url)
|
||||||
|
else:
|
||||||
|
# Toggles Image caching completed to Yes
|
||||||
|
utils.settings('plex_status_image_caching', value=utils.lang(107))
|
||||||
LOG.info("---===### Stopped ImageCachingThread ###===---")
|
LOG.info("---===### Stopped ImageCachingThread ###===---")
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -67,6 +67,8 @@ class Service():
|
||||||
# Reset some status in the PKC settings
|
# Reset some status in the PKC settings
|
||||||
# toggled to "No"
|
# toggled to "No"
|
||||||
utils.settings('plex_status_fanarttv_lookup', value=utils.lang(106))
|
utils.settings('plex_status_fanarttv_lookup', value=utils.lang(106))
|
||||||
|
# toggled to "No"
|
||||||
|
utils.settings('plex_status_image_caching', value=utils.lang(106))
|
||||||
|
|
||||||
# Reset window props
|
# Reset window props
|
||||||
for prop in WINDOW_PROPERTIES:
|
for prop in WINDOW_PROPERTIES:
|
||||||
|
|
|
@ -139,6 +139,7 @@
|
||||||
<setting label="39020" type="action" action="RunPlugin(plugin://plugin.video.plexkodiconnect/?mode=texturecache)" option="close" /> <!-- Cache all images to Kodi texture cache now -->
|
<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 type="lsep" label="$LOCALIZE[126]" /><!-- Status -->
|
||||||
<setting id="plex_status_fanarttv_lookup" label="30019" type="text" default="" enable="false" /><!-- FanartTV lookup completed -->
|
<setting id="plex_status_fanarttv_lookup" label="30019" type="text" default="" enable="false" /><!-- FanartTV lookup completed -->
|
||||||
|
<setting id="plex_status_image_caching" label="30028" type="text" default="" enable="false" /><!-- Image caching completed -->
|
||||||
</category>
|
</category>
|
||||||
<!--
|
<!--
|
||||||
<category label="30235" visible="false">
|
<category label="30235" visible="false">
|
||||||
|
|
Loading…
Reference in a new issue