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
|
||||
cache, _ = advancedsettings_xml(['cache', 'memorysize'])
|
||||
if cache is None:
|
||||
# Kodi default cache
|
||||
cache = '20971520'
|
||||
else:
|
||||
cache = str(cache.text)
|
||||
log.info('Current Kodi video memory cache in bytes: %s' % cache)
|
||||
# Kodi default cache if no setting is set
|
||||
cache = str(cache.text) if cache is not None else '20971520'
|
||||
log.info('Current Kodi video memory cache in bytes: %s', cache)
|
||||
settings('kodi_video_cache', value=cache)
|
||||
|
||||
# Do we need to migrate stuff?
|
||||
|
|
Loading…
Reference in a new issue