Hi
I am developing on plugins for the dreambox using enigma2.
I want to play channel from code or i want to manage channel change using the code is it possible.
please help me for that thing.
Posted 7 September 2013 - 12:06
Do you mean: Control box via a program instead of remote?
Yes, that's possible: http://openpli.org/f...a2-via-console/
Posted 7 September 2013 - 12:15
thanks for Reply
but in my channel list there are two channel "MTV" and "sky sport" something like that.
I want to play any one of the channel using code is it possible.
I don't want to use virtual remote.after change channel some method(function) called in back end which change the channel when we us the remote.Any one know how to call that method or something.using that I can do.
Posted 7 September 2013 - 14:09
from enigma import eServiceReference, iServiceInformation, iPlayableService ### to know the current service self.lastservice = self.session.nav.getCurrentlyPlayingServiceReference() currPlay = self.session.nav.getCurrentService() ###to stop playing service self.session.nav.stopService() ## to play service with known refrence self.session.nav.playService(sref) javascript:void(0)
if you want to use that from inside plugin the above function will help you
0 members, 0 guests, 0 anonymous users