Prettify
This commit is contained in:
parent
02f48dd15f
commit
6e00838ef0
1 changed files with 3 additions and 6 deletions
|
@ -404,12 +404,9 @@ class InitialSetup():
|
||||||
|
|
||||||
# Get current Kodi video cache setting
|
# Get current Kodi video cache setting
|
||||||
cache, _ = advancedsettings_xml(['cache', 'memorysize'])
|
cache, _ = advancedsettings_xml(['cache', 'memorysize'])
|
||||||
if cache is None:
|
# Kodi default cache if no setting is set
|
||||||
# Kodi default cache
|
cache = str(cache.text) if cache is not None else '20971520'
|
||||||
cache = '20971520'
|
log.info('Current Kodi video memory cache in bytes: %s', cache)
|
||||||
else:
|
|
||||||
cache = str(cache.text)
|
|
||||||
log.info('Current Kodi video memory cache in bytes: %s' % cache)
|
|
||||||
settings('kodi_video_cache', value=cache)
|
settings('kodi_video_cache', value=cache)
|
||||||
|
|
||||||
# Do we need to migrate stuff?
|
# Do we need to migrate stuff?
|
||||||
|
|
Loading…
Add table
Reference in a new issue