Enigma2 - Get a list of channels and select a channel

  • Hi!


    I am currently working on an Enigma2 plugin that is basically a simplified EPG, no Now / Next info or program data, just a list of channels. I have read about the Components.ServiceList.py module and have managed to import it successfully into my plugin however I am having difficulties using the getCurrent() function within the module. Is there anything I need to do in order to initialize this library or could it just be the way I am using the function. Below is the line I am using to try and obtain the information. Any advice / code snippets would be great!!


    Code
    self.channel = self.ServiceList.getCurrent()


    All the best,
    Oliver