Skip to content

Commit

Permalink
Use Pvr stop/start when play list is reloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
kodi1 committed Jun 9, 2016
1 parent 7982baf commit 17bac9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<addon id="plugin.program.bscfusion" name="Fusion TV" version="0.0.2n" provider-name="kodi1">
<addon id="plugin.program.bscfusion" name="Fusion TV" version="0.0.2o" provider-name="kodi1">
<requires>
<import addon="xbmc.python" version="2.19.0"/>
<import addon="script.module.requests" version="1.1.0"/>
Expand Down
2 changes: 2 additions & 0 deletions exec.py
Expand Up @@ -173,6 +173,8 @@ def dbg_msg(msg):
if __addon__.getSetting('en_reload_pvr')== 'true':
dbg_msg('Reload PVR')
update('reload_pvr', __ua_os[__addon__.getSetting('dev_id')]['osid'])
xbmc.executebuiltin('XBMC.StopPVRManager')
xbmc.sleep(3000)
xbmc.executebuiltin('XBMC.StartPVRManager')

except Exception, e:
Expand Down

0 comments on commit 17bac9e

Please sign in to comment.