2020-03-06, 08:27 PM
(2020-03-06, 07:41 PM)mvallevand Wrote: The main difficultly for most people testing extras is getting used to script files that work stdout. The only help you could give it providing ffplay with ffmpeg to help with the testing.
The secondary problem @gdogg371 had was coming up with a good 4k transcoding options totally outside of NextPVR control.
For basic Dreambox support an m3u file should work since each channel has a URL and NexPVR IPTV support should just work The trouble is Enigma2 boxes are now often pirate boxes so there are not just typical channels, there is VOD and changing channels to deal with.
Martin
You can access the different channels on the box using a combination of the box IP address and the serviceref for each channel. That's a very basic way of doing things that does not require a full blaster for the box. There is a pretty well established API that allows you to get the service refs from the box via a very simple Python script. The encoding overheads are also a lot lower for this STB as it has pretty much no 4K content on it.
As I say, the M3U playlist approach is very basic and minimal effort to implement, but you do lose the ability to use the remote API commands for things such as VOD etc if you have them. Mine has a legit viewing card in it, but most of the channels are freeview anyway. I currently only have a fixed dish with a single tuner, but I'd like to get a motorised dish and a better enigma2 box with multiple feeds from the dish as my next step.
Most of the pain (for which I owe Martin a huge debt of gratitude) is now out of the way, as I know how to set up the extras config files and use them to trigger my own add on code. With that being said, I might go down the more difficult, but more functional option anyway.
With regards to automating the NPVR bit, copying the config files and some code of my own to a location where NPVR can use it is not a problem. With regards to further automation, I simply meant are there any API hooks into NPVR where I could automate the registering the additional device under extras, rather than doing in manually as at present?