OE-Alliance OnDemand player

Pheonix

Senior Member
Messages
399
Here is a sneak preview of the word done so far, please bear in mind that this is still WIP ( work in progress ) and it is far from finished, but it should give you a idea of where things are going with the project.

you can keep up with developments via the GIT here

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

extract the following archive and FTP the OnDemand folder to

/usr/lib/enigma2/python/Plugins/Extensions/


then issue the following command via a telnet session.


init 4 && opkg install python-lxml python-beautifulsoup python-dnspython && init 3

This plugin will only work with the ViX image at present.
 

Pheonix

Senior Member
Messages
399
Fix for 3player ( strait off the telly ).

extract the following archive and FTP the threeplayer.py file to /usr/lib/enigma2/python/Plugins/Extensions/OnDemand/ overwriting the file already there. a reboot is required for the fix to take hold.
 

Pheonix

Senior Member
Messages
399
Small fix for 3player. 24.02.13

[OnDemand] threeplayer.py - Better Error Handling
Make better use of error handling from findPlayUrl

Code:
https://github.com/oe-alliance/oe-alliance-plugins/commit/50a80b0e36c647e3373aa8b86fd084f7a6f66b00

Extract the 3player.py file from the attached archive and FTP it to /usr/lib/enigma2/python/Plugins/Extensions/OnDemand/ overwriting the file already there, a reboot is required for the fix to take hold.
 

Pheonix

Senior Member
Messages
399
Quick preview of how were progressing ( Big thanks to Mcquaim )

This is Alpha code and very very early in development which is why it's not yet on the GIT but I though i'd give you a quick look of things to come.
 

Pheonix

Senior Member
Messages
399
The OE-Alliance OnDemand player is no longer BETA and can be downloaded via the ViX image feeds. i will upload a .ipk when i have the time.

The OE-Alliance OnDemand player is the only official version and will always be the most upto date, all other modified or "DeViXed" versions must be adapted to run on other images, this is not something we do on purpose but our build GIT is very different from those used by other image teams so for now only OE-Alliance based teams and some OpenPli based image can run the official unmodified versions from the GIT.

here are a few screen shots form the latest official version


grab.png


Config-screen.png


grab6.png


grab9.png
 

Pheonix

Senior Member
Messages
399
The OE-Alliance OnDemand player is now out of BETA status and live to download within the ViX image either from the inbuilt image feeds or via the following telnet command.

init 4 && opkg install enigma2-plugin-extensions-ondemand && init 3

you can now also install the OE-Alliance OnDemand plugin directly into the BH 2.0.2 image with the following Telnet command as all dependencies and skin requirements are now in the BH image by default.

init 4 && opkg update && opkg install enigma2-plugin-extensions-ondemand && init 3

you can keep upto date with all new and future developments with the OE-Alliance OnDemand player from the git link below. although i am not sure if the BH image contains the very latest updated version.

Code:
https://github.com/oe-alliance/oe-alliance-plugins/commits/master/OnDemand

I would also like to personally thank the BH team for making OnDemand accessible to their users and look forward to a closer working relationship with them in the future.
 

Pheonix

Senior Member
Messages
399
Full changelog.


29.01.2013
-[OnDemand] add new plugin.


30.01.2013.
-[OnDemand] cleanup and fix imports.
-[OnDemand] stop possible BSOD.

31.01.2013
-[onDemand] Update OnDemand/src/plugin.py Varies bug fixes
-[onDemand] Update OnDemand/src/plugin.py whoops
-onDemand] Update OnDemand/src/bbciplayer.py BBC Varies bug fixes

04.02.2013
-[onDemand] A complete rewrite of the threeplayer.py plugin
-A total rewrite of the threeplayer.py file to bring it in line with the format of the other onDemand plugins. New method to parse the html using lxml so a new dependancy for this to be installed also.
-The plugin still needs work for the findPlayUrl function, this is very slow but I could not figure out a quicker way to get this to run.
-[onDemand] threeplayer.py tidyup
-Some of the code vs the Git became out of line so tidyup. Also, existing import "from . import _" caused Import Error so removed.
-[OnDemand] fix translation code. this import IS required.
-[onDemand] Fix Tabing issues
-Tidy up the code as I had lots of tabbing issues. Also, only call findPlayUrl for the Section "Straight off the Telly" as we can determine the mp4 url for the other sections by using the icon url.
-[onDemand] Add Icons
-[onDemand] Remove thumbs.db
-[onDemand] Added judge's update for plugin.py
-[onDemand] Fix threeplayer.py skipping shows
-When pulling the media data I was looking for div's that had and id = "gridshow" instead of an id containing "gridshow". This resulted in every 5th show getting dropped (Good spot Sean)
-Also, putting in some of Seans code to remove the call to BeautifulSoup in the function findPlayUrl so this should help speed up getting the stream going.
-[OnDemand] cleanup and fixed line endings (now LF (Linux) instead of CRLF (windows)).


06.02.2013
-[OnDemand] Update rteolayer to use lxml
-A good few changes to rteplayer.py
-Mainly use lxml to retrieve the feeds
-Update to categories to also show a thumbnail
-Change location for default icon if show images is false
-A small change to threeplayer.py
-Change location of the default icon if show images is false
-A general tidyup on tabs in rteplayer.py and default.py also
-[OnDemand] fix build.


07.02.2113
-[OnDemand] About Text Fix
-The format of the about text was all out of line
-[onDemand] Remove duplicate screens & code
-Moved set-up show images to main screen
-Removed duplicate about screens as it's handled in main screen
-[OnDemand] Use same screen as other ondemand players.


09.02.2013
-[OnDemand] itvplayer.py - Use TUNLR for Non-UK IP
-A quick update to check for an error returned from urllib2 when retrieving the stream url.
-If an "InvalidGeoRegion" error is thrown then launch again using the TUNLR IP.


10.02.2013
-[OnDemand] itvplayer Extra Debug Output
-When a HTTPError is thrown but it is not a Geo error need to print the output of the exception.


21.02.2013
-[onDemand] Updated with Markus's Icons
-Still needs 3player icon & large icons for default players.


22.02.2013
-[OnDemand] threeplayer.py fix Straight Stream
-The html that was being returned for the Striahgt off the Telly streams had changed so I needed to change the findPlayUrl function to retrieve the mp4 url.
-Changed it slightly also so that it should future proof it a bit if it changes again in the future.
-Also added a few MessageBox popup's to display an error if this happens in future.


23.02.2013
-[OnDemand] threeplayer.py fix crash
-Need to indent findPlayUrl to include it within the StreamThumb class
-[OnDemand] threeplayer.py Fix Crash
-When moving findPlayUrl within the StreamsThumb class I didn't include the self text when calling the function.


24.02.2013
-[OnDemand] threeplayer.py - Better Error Handling
-Make better use of error handling from findPlayUrl


03.03.2013
-[OnDemand] add common library module, recode menu to use new common code that can be shared across plugin's
-[OnDemand] add 4OD, and cleanup, and use new commons library.
-[OnDemand] OUG Fixes and Default Image
-Tidy up the data parsing for the RTL streams and also fix the navigating issues.
-Pass the defaultImg to the commonModules for each player
-[OnDemand] OUG - Thumbnail Retrievel Fix
-OUG handles humbnails slightly differently than the other plugins. Needed to make a slight adjustment in CommonModules.py when constructing the thumbnail name.


04.03.2013
-[OnDemand] Attempt GEO fix for 4OD
-It was higlighted that that the streams returned from 4Od beginning with rtmpe://ll worked and the rtmpe://ak ones didn't.
-I have added a fudge to loop for MaxTimes for Non-UK users to try and obtain an rtmpe://ll stream. If not then an error message is thrown


06.03.2013
-[OnDemand] Add Search option to rteplayer.py
-As the title says, a new menu item has been added to search for programmes on the RTE Player Website
-[OnDemand] Add Search option to threeplayer.py
-A new search menu item has been added to the 3 Player to search for programmes on tv3.ie


07.03.2013
-[OnDemand] Updates and Bug Fixes
-bbciplayer.py
- Add a new Search Menu Option
- Handle parsing Dates more efficiently
- Fix invalid link for Sports Category (Thanks Mickd)
-rteplayer.py
- Move Search menu item to top of list
- Handle parsing Dates more efficiently
-threeplayer.py
- Move Search menu item to top of list
-[OnDemand] Add a Search Menu Option to fourOD.py
-A search option has now been added to the 4OD plugin. One small issue is that the search source is from channel4.com and some of the results are not available on ps3.channel4.com. I output an error message when this occurs.
-[OnDemand] Add Search menu option for itvplayer.py
-Add a search option for itvplayer.py


08.03.2013
-[OnDemand] Fix Stream Data containing &
-Update for all players to handle the & character.
-[OnDemand] Fix some data parsing Issues
-Issues with dates and also data not being a string.


09.03.2013
-[OnDemand] add option to hide from 'MainMenu, PluginBrowser & Extensions', clean up py code.
-[OnDemand] add license to plugin.
-[OnDemand] tweak main menu, also tweak the list.
-[OnDemand] tweak RTE image.
-[onDemand] fix build
-[OnDemand] fix About screen keymap.
-[OnDemand] All Players - Pass Back Duration
-Passing back duration fiels (if it exists) from each player to commonModules
-Also some code tidyup
-[OnDemand] Fix findPlayUrl stream Error
-Another good spot by mickD.
-TV3 have changed the netConnectionUrl for the Straight Off the Telly section. They are now rtmpe url's instead of rtmp url's.


10.03.2013
-[OnDemand] fix EndOfFile exit.
-[OnDemand] tweak config menu.
-[OnDemand] more cleanup and streamline code.
-[OnDemand] be less verbose.
-[OnDemand] add Title to EpisodeList screen.
-[OnDemand] add duration to screen.
-[OnDemand] fix Search.
-[OnDemand] list tweak.
-[OnDemand] New Config option for Preferred Quality
-Removed the need to select stream quality for BBC & ITV players. Instead a new config option has been added to set your preferred quality and the player will try best to match that qulaity.
-[OnDemand] Update required for plugin.py Missed adding the ConfigSelection type
-[OnDemand] Preferred Quality Changes For BBC iPlayer and ITV Player if we have already found the preferred quality setting then break and stop looking further. Faster to play the stream potentially.
-[OnDemand] Update required for plugin.py Missed adding the ConfigSelection type
-[OnDemand] Preferred Quality Changes
-For BBC iPlayer and ITV Player if we have already found the preferred quality setting then break and stop looking further. Faster to play the stream potentially.
-[FanControl] remove unused module.


13.03.2103
-[OnDemand] fix typo's.
-[OnDemand] use 'Regular' font for Title in the embedded screen as other skins may not have 'Boldit'.
-[OnDemand] Add a HD Option for BBC iPlayer
-New config option to play the HD streams from the BBC iPlayer.
-Currently this will only work for UK users, limelight doesn't seem to send data for HD streams.
-[OnDemand] Add BBC HD Streams for Non-UK A big thanks to Rogerthis for this info!! We can now play HD streams from outside the UK also

22.0.3.2013
-[OnDemand] Add ABC iView Player
-New player for our Oz users, Currently only available to users in Oz I'm afraid.
-[OnDemand] Update Credits-I forgot to add credits to Andy Botting for his great work on the XBMC ABC iView Add-on.
-[OnDemand] Update to ABC iView-I left a debug piece of code for exception handling in the plugin by accident. This would have prevented any categories from returning.
 

Pheonix

Senior Member
Messages
399
24.03.2013
-[OnDemand] BBC iPlayer Play Stream Update
-Currently if we don't find the preferred stream quality or lower an error message is thrown and nothing is played even if a playable stream is found.
-We are now going to play the available stream now anyway even if it doesn't match the preferred quality setting but a message will be displayed to notify you that this has happened.

01.04.2013
-[OnDemand] add fallback for images that do not have 'SCOPE_ACTIVE_SKIN'.

20.04.2013
-[OnDemand] update GUI for main menu.

27.04.2013
- [OnDemand] Fix OpenUitzending gemist (thanks Aux99).

01.05.2013
- [OnDemand] fourOD Feeds Update- The feeds for fourOD have changed to need to update the plugin to use
- new menu item tag.
 

Pheonix

Senior Member
Messages
399
-09-06-2013
-[OnDemand] bbciplayer.py
-updated swfurl links for bbciplayer. ( Thanks to Digidude for the fix.)

22.07.2013
-[OnDemand] Update tunlr DNS server settings ( Thanks mickd for the heads up )


you can either wait for the next build ( after 703 or 704 ) or FTP the CommonModules.py file into /usr/lib/enigma2/python/Plugins/Extensions/OnDemand/ ( delete any CommonModules.py / CommonModules.pyo files already in there ) then perform a GUI reboot for the fix to take hold.


Please remember to delete the CommonModules.py once the receiver has rebooted and it has generated the new CommonModules.pyo file
 

Pheonix

Senior Member
Messages
399
25.07.2013
-[Translations] NL Update, Thanks Rob.

13.08.2013
-[Translations] ET-Update, thanks Rimas.

15.08.2013
-[OnDemand] Remove 4OD and OUG
-4OD can't currently be fixed and OUG is not currently being maintained so they are being removed until a time that a fix has been made for either.

02.10.2013
- [OnDemand] iRadio
- Adding a new Internet Radio plugin to OnDemand
- Radio Sources from:
- SHOUTcast
- Tunein


many thanks to mcquaim ( MAC ) for all his hard work and bringing this update.
 
Top