I'm acatually looking at the possibility to easily support IpTV channels in Mediaportal.
My idea is very simple, and I would like some feedback from someone that knows better than me the Mediaportal architecture. I'm sorry I just started to look at the code so I might not be too precise on what I'm saying.
The idea: to define a DummyTVCard (deriving form TVAnalogCard) that only supports Timeshifting. If I understand correctly, when timeshift is on the mpeg2 streams is first sent from the TVCard to a file, then mediaportal reads the timeshift file.
In the new DummyTVCard the timeshift file is going to be filled not by the TCCard but by an external program (ex. VLC) using the correct transport, which I think it should be ps.
Using the ExternalCommand plugin and defining the channels on this card as external channels, it should be easy to pass VLC (or any other programs) the correct parameters.
Now, just to be clear, this is not an original idea, since the same approach has been successfully used by GB-Pvr. It should be easy to do the same in MP I think.
I will start to look at the code in a more focused way to solve this problem, but if somebosy already has some suggestions, they are more than welcome!!
My idea is very simple, and I would like some feedback from someone that knows better than me the Mediaportal architecture. I'm sorry I just started to look at the code so I might not be too precise on what I'm saying.
The idea: to define a DummyTVCard (deriving form TVAnalogCard) that only supports Timeshifting. If I understand correctly, when timeshift is on the mpeg2 streams is first sent from the TVCard to a file, then mediaportal reads the timeshift file.
In the new DummyTVCard the timeshift file is going to be filled not by the TCCard but by an external program (ex. VLC) using the correct transport, which I think it should be ps.
Using the ExternalCommand plugin and defining the channels on this card as external channels, it should be easy to pass VLC (or any other programs) the correct parameters.
Now, just to be clear, this is not an original idea, since the same approach has been successfully used by GB-Pvr. It should be easy to do the same in MP I think.
I will start to look at the code in a more focused way to solve this problem, but if somebosy already has some suggestions, they are more than welcome!!