Posts: 5
Joined: Sep 2014
Reputation:
0
Hi
I am looking for the xbmc command that can allow me to Reset The PVR Database (we can find this option in XBMC settings > Live TV > General > Reset The PVR Database)
I want to execute this command with my remote control when pairing with a key
Thank you for your help
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
I have to ask, why would you want to do that?
Posts: 5
Joined: Sep 2014
Reputation:
0
Because some time my channel list is empty and I need to that to import the list again instead of rebooting
My PVR client is simple IPTV for information
And when I update my channel list file it is not updated automatcly in live TV and I want to update it manually
Thanks
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
You probably have to make sure the list is updated when XBMC starts.
Posts: 5
Joined: Sep 2014
Reputation:
0
hi live4ever thanks for the help
now i am trying a python script but it is my first one and i have some issues with it
here is the script
#! /usr/bin/env python
import xbmc
chanscan = '{"jsonrpc": 2.0", "method": "PVR.Scan", "params": [], "type": "string"}'
xbmc.executeJSONRPC ( chanscan )
but i have the following error
OpenELEC:/tmp # python test.py
Traceback (most recent call last):
File "test.py", line 4, in <module>
xbmc.executeJSONRPC ( chanscan )
AttributeError: 'module' object has no attribute 'executeJSONRPC'
i have the same error on a geexbox os
does someone have any idea on how i can fix my script
thanks
Posts: 5
Joined: Nov 2014
Reputation:
1
Not sure if you ever found the answer to this but the following worked for me:
xbmc-send --host=10.0.0.36 --port=9777 --action="startpvrmanager"
Just replace with your IP address.
p.s. You can then set it as a favourite via advanced launcher and link it to a keypress.