Enigma2 BBC iplayer in works

by louisvarley

Hi all. I've been working on a plugin. May need testers.

I've managed to use the perl script get_iplayer to download and generate a bouquet and to pass on streaming info to my box. I believe k can do the same for all other on demand services making them show as a bouquet IPTV style list rather than an entire plugin like the Plex / Kodi varieties.

Only downside is this needs a dedicated Linux server to run as get_iplayer has lots of perl modules. Some which won't run on MIPs Architecture. But at the moment I am hosting one for a couple of boxes. All working fine.

jdox_

Interested outside observer here, it seems cool but I have no idea, I suppose you enigma guys will never get any official apps for your device so this is the length you have to go to.

So if i'm understanding correctly... you've made a personal web scaper server for iplayer and that server restreams the actual bytestream it gets to enigma2 or just sends along the url+sessioninfo?

eckotrack

I can try, can you share me the app?

louisvarley

going to slightly change the way this will work to make the bouquets not reliant on the server redirecting the streams, this will require the server to index the streams which will take time, i have a few ideas for making this faster

Chaomino

Making a m3u look like a bouquet is super easy. Just need a couple of tweaks.

I made one using rtmp streams. Working good. Bad thing is that HLS streams are not working properly. Maybe i have to update my e2 image

louisvarley

Right UPDATE for all that is interested.

so i've rewritten it so the server does even more heavy lifting, rather than merely have the server forward requests, it now runs through the iplayer saving URL's to a database which it can use to generate bouquets that are functional.

here is the github project https://github.com/SEAL-team-ricks/enigma2-ondemand-to-iptv-extension

still LOTS to do, ill share a generated bouquet file when i can test to make sure my changes have not broken anything and can then set the script as a service

louisvarley

here is a test m3u that people can test out. Generated by the script

https://gist.github.com/SEAL-team-ricks/78a3a18592abe355e5f290be734443b9

louisvarley

few little bugs and fixes to apply today, previously it indexed using get_iplayers own index ID number, which was fine, but when new shows come in, the index moves and the system needs to reindex. Reason for using this is i didnt think get iplayer could use the programs PID to pull stream info, infact it can, using this means the Index does not drift, resulting in incorrect URL's. re-running a full scrape so i can generate a new bouquet.