Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

[WIP] RTE Player for Enigma2

13

Comments

  • Closed Accounts Posts: 5,178 ✭✭✭STB


    A lot of the work done on this by the OP and others has now ended up in...........

    OE-Alliance OnDemand Plugin ( BETA)BBC Player and ITV player working in Ireland

    which has RTE, Tv3, 4OD, BBC, ITV all in one.


  • Registered Users, Registered Users 2 Posts: 296 ✭✭Obskure


    Spotted that, cheers. I just felt that the thread you mention is very VIX-centric. Alot of the boardsies following this thread are doing so because they are using the st7162 chipset. It would be great to see the plug-in ported to these boxes.


  • Closed Accounts Posts: 5,178 ✭✭✭STB


    Obskure wrote: »
    Spotted that, cheers. I just felt that the thread you mention is very VIX-centric. Alot of the boardsies following this thread are doing so because they are using the st7162 chipset. It would be great to see the plug-in ported to these boxes.

    Well it is running on BH OE2 also, but thats MIPS also.

    You are using a Amiko Alien/GM box ? There is a thread on the terrestrial forum that might be of help, just in case you havent seen that.


  • Registered Users, Registered Users 2 Posts: 296 ✭✭Obskure


    Thanks for that STB. I am following that also.


  • Registered Users Posts: 1 xyladecor


    givecredit wrote: »
    The RTE plugin is Geo Locked.

    no, not really. BBC, ITV (maybe TV3, not tested yet) is geoblocked, but not the RTE content.

    my problem is, that RTE is playing on dreambox 800, but the sound is stuttering and is not running flawlessly, it sounds crappy.

    does anybody know how this can be fixed?


  • Registered Users Posts: 173 ✭✭PadraigL


    Hi

    I have rte palyer working on an alien 2 box. Only thing is, it won't stream Savage Eye. I presume its to do with the over 18's box that has to be ticked when watching on the web site.
    Is there anyway around this?

    Also is there a 3player plugin for this box, spark7162?

    thx


  • Registered Users Posts: 173 ✭✭PadraigL


    I take it back that the rte player is working. It hung on European Weather and I had to hard boot the box.
    I was on HDMU 10846 and decided to put HDMU 10881. Played European weather first time but hung on The Teens Midwife about 25mins in. Again had to ahrd boot the box.

    Anyone got it working on a spark7162 box?

    Thx


  • Closed Accounts Posts: 13,874 ✭✭✭✭PogMoThoin


    PadraigL wrote: »
    I take it back that the rte player is working. It hung on European Weather and I had to hard boot the box.
    I was on HDMU 10846 and decided to put HDMU 10881. Played European weather first time but hung on The Teens Midwife about 25mins in. Again had to ahrd boot the box.

    Anyone got it working on a spark7162 box?

    Thx

    No, there is a dependency that needs to be compiled from source (lxml). I've asked the HDMU team if they could do it in their test environment as it's not possible to compile it with the box itself
    http://www.hdmedia-universe.com/board/showthread.php?3504-Lxml-for-Amiko-Alien-2


  • Registered Users Posts: 173 ✭✭PadraigL


    Thanks PogMoThoin
    The rte palyer would be great but if the Ondemand plugin was to work that would be ..:):):)


  • Closed Accounts Posts: 270 ✭✭Richard Logue


    It would be good if the plugin worked outside Ireland.

    I can see the listings of programmes that I'm allowed to see here in Britain (i.e. No EastEnders) but nothing plays when selected.


  • Advertisement
  • Registered Users Posts: 1 adrianc1982


    hello rogerthis, nice work on your plugin. Im also a python developer and have made a couple sucessful plugins for enigma2. That said i had to check your code, when i read you started a wednesday and finished a monday, i was like whoa, who is this guy, enigma2 developing is hard because not a lot of documentation is available theres only a tutorial around the net and then you have to start reading code classes and methods from everywhere just to figure out what can be used and what not.

    Anyway, congrats on your plugin again, just as a note so you can improve your python skills, dont code the same window over and over again, 600 lines of code could be written in 250 or 300, MenuList can be set over and over again without calling a new window and a new skin to draw a new menu, this adds speed to your plugin. Granted you will have to make a list with your previous menu and handle a history for it but thats not hard either.

    Heres a method from the MenuList which i know you will find very useful..

    yourlist = []
    yourlist.append(('Menu Entry', 'url', 'movieposter')
    self["myMenu"].setList(yourlist)

    this simple code will delete your previous menu and will fill in a new list into the menu. How to go back? just save your last list to another list like a masterList

    masterList = []
    masterList.append(yourlist)

    if you go back and need to flush the last list because you wont need it anymore just do a..

    masterList.pop() # this will delete the last entry or in your case the last list

    then..
    self["myMenu"].setList(masterList[-1]) # will set the previous menu which you saved when you entered the new one see :)

    Not a lot of documentation of enigma2 plugin development is available so i had to come and share some knowlegde hope this helps you with your plugin and future plugins, adrian peace out.


  • Registered Users Posts: 14 frank087234


    is there anyfix for tv3 straight off the telly? does not seem to find url


  • Registered Users Posts: 222 ✭✭zakalibit


    for those running dmm in dreamboxes, or ARP on amiko and clones I'd recommend to try change:

    fileRef = eServiceReference(4097,0,fileUrl)

    to

    fileRef = eServiceReference(1,0,fileUrl)


  • Registered Users Posts: 222 ✭✭zakalibit


    Actually I take my words back :) it wont work through the 1st service, as it accept only ts streams, so for ts streams plugins should prefer 1st service over 4097


  • Registered Users Posts: 135 ✭✭Gargantuan


    I recently updated to open pli 4.0 from 2.1 on Dreambox800se .

    Had RTE player working great on 2.1

    But now only the video works but no sound , any ideas?


  • Registered Users Posts: 222 ✭✭zakalibit


    Gargantuan wrote: »
    I recently updated to open pli 4.0 from 2.1 on Dreambox800se .

    Had RTE player working great on 2.1

    But now only the video works but no sound , any ideas?

    yes, enigma problem, probably they have changed gstreamer options


  • Registered Users Posts: 222 ✭✭zakalibit


    could you try any other newer image compiled before 2013-07-23
    there is a change in the flv audio playback that might cause the issue you have


    https://sourceforge.net/p/openpli/openpli-oe-core/ci/36e684dc2d5844adefbed74f35742cdc22632cda/


  • Registered Users Posts: 135 ✭✭Gargantuan


    Cheers for the suggestions , will give it a look over the weekend


  • Registered Users Posts: 14 frank087234


    TV3 keeps crashing when play video, oozoon oe2.0, dreamelite 4 oe2.0, tsimage 3.0


  • Advertisement
  • Registered Users Posts: 222 ✭✭zakalibit


    TV3 keeps crashing when play video, oozoon oe2.0, dreamelite 4 oe2.0, tsimage 3.0

    without a crashlog your message is useles


  • Registered Users Posts: 14 frank087234


    zakalibit wrote: »
    without a crashlog your message is useles

    you could suggest a working tv 3 plugin, if you have one


  • Registered Users Posts: 222 ✭✭zakalibit


    you could suggest a working tv 3 plugin, if you have one

    to have a working plugin you have to create one and providing a crash log is part of the process.

    check /hdd location on your box and see if there is any log files, take the one with a latest timestamp and post it here


  • Registered Users Posts: 9 polomora


    Just to thanks to all who made this possible.
    Installed the plugin on my Vuplus Duo running OpenPLi.
    Works perfectly here in Belgium - no DNS / IP address spoofing needed.
    Just finished watching the Late Late Toy Show, Mrs Belgium very impressed.


  • Registered Users, Registered Users 2 Posts: 710 ✭✭✭mad turnip


    I'll give it a go on dm500hd over the weekend.


  • Registered Users Posts: 222 ✭✭zakalibit


    I have reworked the rteplayer, removed code duplication, removed regex usage, it is using json format now, I have created a github project where I saved my changes, I hope the author does not mind

    https://github.com/zakalibit/e2rteplayer

    There is and ipk built for current version in https://github.com/zakalibit/e2rteplayer/tree/master/packages


  • Advertisement
  • Registered Users Posts: 222 ✭✭zakalibit


    there is a small bug, playlist window does no hide on playback start, working on a fix


  • Registered Users Posts: 222 ✭✭zakalibit


    should be all fixed now


  • Registered Users Posts: 4 jjhn


    Zardoz wrote: »
    I just cant get it to work ,hair is almost all gone .:(
    I tried so many different images and they all green screened on 1channel and RTE player .
    Python2.6/urllib errors.
    I tried adding extra python sub process files ,changing file attributes but all to no avail.
    I tried manual plugin installs,ipk installs ,installing from TSPanel but all gave the same result.
    I tried the images on my older Dm800 and that caused the same green screen issues ,the only image that 1channel seems to work with is the one I had on it Dream Elite Phoenix 2.

    I loaded that Dream Elite Phoenix image onto the newer Dm800 and 1channel works on that but RTE player opens the selected programme but the time stays at 0.00,it wont play.
    So its not a hardware fault with the newer unit,which is only a week old btw.

    I thought it could be an ethernet issue so I replaced the wifi with a direct cable to the router but that made no difference.
    Bar it being a modem issue I dont know what more I can do.

    Try this,

    Copy the folder "rteplayer" using a FTP program (such as FileZilla) to "/usr/lib/enigma2/python/Plugins/Extensions/"

    Restart Enigma2

    Goto plugin section and start RTE Player

    What working:
    Video files are playing
    Sections
    Latest Episodes
    Most Popular Episodes
    Episodes by Date

    What not working:
    Sections
    Categories
    A to Z

    Already tested and working on:
    Icecrypt S3700 Hdmu enigma2
    Vu+ Duo with Openvix 3.0
    Vu+ Solo with Openvix 3.0
    Gigablue Quad Openvix 3.0
    Azbox HD Elite Openrsi 3.0


  • Registered Users Posts: 4 jjhn




  • Closed Accounts Posts: 4,234 ✭✭✭Fresh Pots


    Just getting a black screen on amiko alien 2 running hyperion v3


  • Advertisement
  • Closed Accounts Posts: 5,178 ✭✭✭STB


    TheTechGuy wrote: »
    Just getting a black screen on amiko alien 2 running hyperion v3

    Isnt Hyperion for SH4 boxes ?

    OnDemand plugin works for me on a Gigablue UE+ and a VU+Uno (RTE Player/TV3 Player/BBC Player/ITV player in one)


  • Closed Accounts Posts: 4,234 ✭✭✭Fresh Pots


    STB wrote: »
    Isnt Hyperion for SH4 boxes ?

    OnDemand plugin works for me on a Gigablue UE+ and a VU+Uno (RTE Player/TV3 Player/BBC Player/ITV player in one)

    Yeah it is. it was working before but hasn't in a couple of months now. The on demand plugin would be handy but since I can't change my dns settings on my router bbc/itv won't work.


  • Closed Accounts Posts: 5,178 ✭✭✭STB


    TheTechGuy wrote: »
    Yeah it is. it was working before but hasn't in a couple of months now. The on demand plugin would be handy but since I can't change my dns settings on my router bbc/itv won't work.

    Who is maintaining the ported versions for SH4 boxes ?

    Why would you need to change your DNS settings ? It launches TUNLR if receiving a urllib2 (geo)error when attempting to launch the stream afaik.


  • Closed Accounts Posts: 4,234 ✭✭✭Fresh Pots


    STB wrote: »
    Why would you need to change your DNS settings ? It uses TUNLR within the application afaik.

    I didn't know that! Well it always green screened anytime I tried it before, I assumed that was due to a geoblock and that the plugin didn't know what to do so it would gs. Is rte player working in the on demand plugin so?


  • Closed Accounts Posts: 5,178 ✭✭✭STB


    TheTechGuy wrote: »
    I didn't know that! Well it always green screened anytime I tried it before, I assumed that was due to a geoblock and that the plugin didn't know what to do so it would gs. Is rte player working in the on demand plugin so?

    Yes. All except 4OD work fine. Its very useful.

    Green screens are no doubt dependency issues or possibly that you are running a e2 ipk for mips that the sh4 box cannot satisfy.

    (Source: https://github.com/oe-alliance/oe-alliance-plugins/tree/master/OnDemand

    Another well written plugin is IPTV List Updater (for live stuff).


  • Closed Accounts Posts: 4,234 ✭✭✭Fresh Pots


    STB wrote: »
    Yes. All except 4OD work fine. Its very useful.

    Green screens are no doubt dependency issues or possibly that you are running a e2 ipk for mips that the sh4 box cannot satisfy.

    (Source: https://github.com/oe-alliance/oe-alliance-plugins/tree/master/OnDemand

    Another well written plugin is IPTV List Updater (for live stuff).

    Had another search and found out that it won't work on the AA2 as its "not proper enigma2". It doesn't have all the dependencies apparently. :( Back to the drawing board I think.


  • Registered Users Posts: 7 Don81


    I am in Ireland - rte and 3 player works great for me..Great work. (E2 4.1 Image)
    ITV and BBC are region locked..
    4od give error when trying to load program list!!

    Many thanks.
    Don


  • Registered Users, Registered Users 2 Posts: 7,007 ✭✭✭deezell


    This player now crashing Linux boxes. Previously unnoticed typo in plugin.py, the culprit, a missing ')' before the word 'Gecko'. Thanks to Conor-Mr2 for the fix,

    .............So everywhere in the plugin.py file you see the line:
    req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3 Gecko/2008092417 Firefox/3.0.3')

    You would replace it with
    req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3')......


  • Registered Users, Registered Users 2 Posts: 619 ✭✭✭white_westie


    deezell wrote: »
    This player now crashing Linux boxes. Previously unnoticed typo in plugin.py, the culprit, a missing ')' before the word 'Gecko'. Thanks to Conor-Mr2 for the fix,

    .............So everywhere in the plugin.py file you see the line:
    req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3 Gecko/2008092417 Firefox/3.0.3')

    You would replace it with
    req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3')......

    Thanks guys, was working fine up to a few weeks ago, then I started getting a 'no workable streams could be found' message on screen - assumed RTE had changed stream source.

    PS: should add that I have the OnDemand plugin installed and just manually edited the rteplayer.py and restarted enigma


  • Registered Users, Registered Users 2 Posts: 2,057 ✭✭✭UrbanFret


    deezell wrote: »
    This player now crashing Linux boxes. Previously unnoticed typo in plugin.py, the culprit, a missing ')' before the word 'Gecko'. Thanks to Conor-Mr2 for the fix,

    .............So everywhere in the plugin.py file you see the line:
    req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3 Gecko/2008092417 Firefox/3.0.3')

    You would replace it with
    req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3')......


    where does the edited file go to?:confused:


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 7,007 ✭✭✭deezell


    UrbanFret wrote: »
    where does the edited file go to?:confused:

    Usr/lib/enigma2/python/plugins/extensions/rteplayer
    Overwrite existing and reboot


  • Registered Users, Registered Users 2 Posts: 2,057 ✭✭✭UrbanFret


    deezell wrote: »
    Usr/lib/enigma2/python/plugins/extensions/rteplayer
    Overwrite existing and reboot

    my path is Usr/lib/enigma2/python/plugins/extensions/ondemand

    no such file in there.
    Any ideas?


  • Registered Users, Registered Users 2 Posts: 2,057 ✭✭✭UrbanFret


    Well its working now anyway.
    I have rte player in the plugins now instead of on demand.
    Thanks!


  • Registered Users, Registered Users 2 Posts: 7,007 ✭✭✭deezell


    UrbanFret wrote: »
    my path is Usr/lib/enigma2/python/plugins/extensions/ondemand

    no such file in there.
    Any ideas?

    Ondemand is a different plugin . This is a fix for the standalone rteplayer plugin, though i think this is the basis if the rte part of ondemand. Just unzip this below and pop it into extensions, including rteplayer folder and reboot. Go to plugins where it should display rteplayer in the list.EDIT. You've got it going.


  • Closed Accounts Posts: 4,719 ✭✭✭JaMarcusHustle


    deezell wrote: »
    Ondemand is a different plugin . This is a fix for the standalone rteplayer plugin, though i think this is the basis if the rte part of ondemand. Just unzip this below and pop it into extensions, including rteplayer folder and reboot. Go to plugins where it should display rteplayer in the list.EDIT. You've got it going.

    Is this still supposed to be working?

    Any time I select a program to watch, I just get the loading animation but it never plays. The remote is unresponsive while its loading and it never comes out of it. I have to reboot at the back of the box.

    ZGemma H2S running Wooshbuild.


  • Registered Users, Registered Users 2 Posts: 657 ✭✭✭flashinthepan


    I tried it there about an hour ago on a duo2
    It worked ok ( played the stream ) but seemed to take an age to close giving the vix spinner for a good 20 seconds before closing but no crash


  • Registered Users, Registered Users 2 Posts: 7,007 ✭✭✭deezell


    I tried it there about an hour ago on a duo2
    It worked ok ( played the stream ) but seemed to take an age to close giving the vix spinner for a good 20 seconds before closing but no crash

    Working still on sab triple aka alien 2, closed quickly with a few exit key taps.it's a simple plugin which feeds off the xml rteplayer archive. No compulsory ads or breaks.


  • Registered Users, Registered Users 2 Posts: 7,007 ✭✭✭deezell


    Is this still supposed to be working?

    Any time I select a program to watch, I just get the loading animation but it never plays. The remote is unresponsive while its loading and it never comes out of it. I have to reboot at the back of the box.

    ZGemma H2S running Wooshbuild.

    I suspect whooshbuild may not treat the python scripts correctly. I know very little about this image but I read scripts have to be submitted for inclusion in the image. Also something about no ftp support. How did you drop the files into the plugins/ extensions folder. I think you problem lies with the compiled versions included in the zip file. Delete plugin.pyo and the two _ init_ files leaving just plugin.py and the .png file. Reboot and allow the image to compile the files assuming it has a python interpreter compiler on board.


  • Registered Users, Registered Users 2 Posts: 5,906 ✭✭✭Zardoz


    deezell wrote: »
    Working still on sab triple aka alien 2, closed quickly with a few exit key taps.it's a simple plugin which feeds off the xml rteplayer archive. No compulsory ads or breaks.

    It doesn't work on Hyerion 5.x on the Aliens though as I think they changed the Gstreamer .
    It loads the Rteplayer plugin but when you select a programme it stays at 00:00.
    They probably use the same updated Gstreamer on the Zgemmas .


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 7,007 ✭✭✭deezell


    Zardoz wrote: »
    It doesn't work on Hyerion 5.x on the Aliens though as I think they changed the Gstreamer .
    It loads the Rteplayer plugin but when you select a programme it stays at 00:00.
    They probably use the same updated Gstreamer on the Zgemmas .

    Built in obsolescence strikes again Z.


Advertisement