This board is now closed. The Blackhole image ended in 2020. The board will remain available in Read Only Mode, so all the posts from the last 15+ years are not lost. We thank you for being part of the community for the last 15+ years. You can join the OpenBh board if you have not already done so at www.openbh.net.

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
 
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()
 
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?
 
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.
 
Sorry, I missed this last question.
Yes, of course:
Code:
wget -q http://127.0.0.1/web/servicelistreload?mode=0
 
Back
Top