On Python dude

terrorman

Vu+ User
Reboot box: self.session.open(TryQuitMainloop, 2)

Refresh Settings (channel list): which is the call or command in python

I put it here, i find a section of programming in plugins
 

dalraist

Vu+ User+++
1. In BH:
system("Blackholecmd reboot")

Otherwise, you can do the same thing with wget commands

2.
from enigma import eDVBDB
self.eDVBDB = eDVBDB.getInstance()
self.eDVBDB.reloadServicelist()
self.eDVBDB.reloadBouquets()
 

terrorman

Vu+ User
thx my friend


from enigma import eDVBDB
from Components.Sources.Source import Source
self.eDVBDB = eDVBDB.getInstance()
self.eDVBDB.reloadServicelist()
self.eDVBDB.reloadBouquets()


I think it works, i have no errors, but does not update the list of channels in real time

any ideas?
 

dalraist

Vu+ User+++
Are you sure? I used it in old SVDownloader version and it worked.
Check E2 log with init 4. You should see reloading in realtime.
 

dalraist

Vu+ User+++
Sorry, I missed this last question.
Yes, of course:
Code:
wget -q http://127.0.0.1/web/servicelistreload?mode=0
 
Top