Hi All!
I'm working on a plugin which will present a user with a list of channels (Lets say just BBC services for arguments sakes). In order to change the channel from the menu I have been looking into the ChannelSelection.py module. I have written a very basic plugin that presents the user with a list of channels however I have not worked out how to import ChannelSelection.py properly.
I have successfully imported the module using the "from Screens.ChannelSelection import ChannelSelection however I haven't managed to move much further than this point. I just get errors when I try to use functions such as getCurrentServicePath. Does anybody know how to use this module / could anybody post an example Python script.
I have also come across the PlayService() function however once again I cannot find a lot of information on how to use it. I understand that it takes a channel reference but which modules do I need to import to use this function and how can I get a list of service references in Python.
Currently I have no bouquets set up on my receiver, all I have done is take it out the box and perform a scan for free to air services.
Any help with this would be great!
All the best,
Oliver.