Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,310 Members 45,188 Now Online
XDA Developers Android and Mobile Development Forum

[APP] iPlayer [v0.5 18/03/09]

Tip us?
 
craftyb
Old
(Last edited by craftyb; 19th March 2009 at 12:10 AM.) Reason: updated for 0.5 release
#1  
Member - OP
Thanks Meter 0
Posts: 88
Join Date: Mar 2006
Location: London
Default [APP] iPlayer [v0.5 18/03/09]

Browse and stream content from the BBC's iPlayer.



Features:
- Finger friendly UI including flick kinetic scrolling, swipe gestures and vibration feedback.
- Supports Nav Sensor and Stylus Removal (thanks koush)!
- Higher quality video/audio than Samsung User Agent hack (483x272 h.264 video stream).
- Browse content by Highlights, Popular, Channel/Station, Category or Date.
- Search for content and save history.
- Self updating and AppToDate support.
- Downloads video to device for later viewing (I download at home over wifi and then watch videos on the tube on the way to work).
- Video launched in your default player associated with '.mov' files.
- Radio shows launched in your default player associated with '.mp3' files.

This app works by impersonating an iPhone to access an unprotected mp4 file and then patching the index to allow immediate playback. Radio programs are downloaded as mp3s. Many thanks to the people who discovered this technique - see readme.txt for credits and further explanation. Note that this is in no way sanctioned by the BBC.

This is obviously a very data intensive application so I would recommend using over wi-fi or with an unlimited data plan.

Requirements:
- .Net framework 3.5.
- You also must be in the UK to use this. The BBC seem to block access over cellular data from some operators (e.g. Vodafone) . If this happens then please try over wifi & report your findings. Prelimanary proxy support has been introduced in v0.4. Edit the settings.xml to add a UK proxy.
- This app is only working for the VGA and WVGA devices at the moment. I may add support for other devices and screen resolutions in the future if there is enough interest.
- You need a video player capable of playing back the (h.264 + AAC) video. I use the commercial app CorePlayer which plays the files pretty well (benchmarks at 91%). You can also use this build of the free TCPMP which will play the files but benchmarks at around 61%. Either way you will need to associate '.mov' files with your player.

This has been a bit of a hobby project and is my first attempt at Windows Mobile development. I'm releasing it for free but if you find it useful then consider buying me a beer!

v0.5 cab attached below:
Attached Files
File Type: cab iPlayer.cab - [Click for QR Code] (913.6 KB, 15745 views)
 
craftyb
Old
(Last edited by craftyb; 7th April 2009 at 12:24 PM.) Reason: added link to myPlayer
#2  
Member - OP
Thanks Meter 0
Posts: 88
Join Date: Mar 2006
Location: London
Default To do, bugs + Changelog

To Do:
- QVGA (&WQVGA) resolution? For now check out myPlayer.
- Stability fixes
- A few more ideas...

Known Bugs:
- Cancelled downloads not deleted - you will need to manually remove them.
- Launching a 'Saved Search' breaks the top navigation controls - d'oh!
- Date view seems to be broken again by changes by the BBC.
- Incorrect AppToDate xml - causes ATD to always say there is a newer version.

Changelog:
v0.5 18/03/09
- Fixed parsing of programs, searches and day listings due to changes to BBC site
- Added new 'Feeds' view for easier choosing of feeds
- Now starts in 'Feeds' view and checks for updates in background for faster startup
- Added saved searches - currently saves every search term

v0.4 20/02/09
- Improved radio show integration
- Added more settings including changing save location
- Added 'auto buffer' mode or manually set
- Choose whether to begin playback after buffering (and set default)
- Double click pink 'headers' to scroll to top of page
- Fixed 'Related Programs' due to change in BBC site
- Initial proxy support - have to edit settings.xml
- *Hopefully* WVGA compatible

v0.3 03/02/09
- Added experimental radio show download/streams. Only accessible via search at the moment
- Added more options to Settings screen
- Added wifi icon
- Decreased download 'chunk' size - should reduce memory overhead.
- Added more error handling
- More logging (renamed to debug.txt to help attaching to posts).

v0.2 26/01/09
- Added a [very] basic settings screen. Only option is to enable debug mode. If you encounter any bugs then please turn debug mode on, replicate and then attach the file "debug.log" that is produced in the install dir to your post detailing the problem. Thanks!
- Forgot to update the readme.txt file but if the About screen says v0.2 then you have the latest.
- Did you notice the automatic updates?

v0.1 25/01/09
- Initial release
 
chrisnash
Old
#3  
chrisnash's Avatar
Senior Member
Thanks Meter 4
Posts: 288
Join Date: Jun 2006
Location: London
Nice!
Been waiting for this for a long time.
Many many thanks.
Cant wait to test
Orange SPV M500 M2000 M3100 M700
HTC TyTN II Diamond Rhodium Leo DHD
---------------- ONE X --------------
 
hotrod101
Old
#4  
hotrod101's Avatar
Senior Member
Thanks Meter 1
Posts: 563
Join Date: Mar 2008
Location: Timiskaming
Testing in Canada, Will let you know how it works, if it works
Current device - HTC Touch Elfin with Stock WM 6.0 ROM
 
hotrod101
Old
#5  
hotrod101's Avatar
Senior Member
Thanks Meter 1
Posts: 563
Join Date: Mar 2008
Location: Timiskaming
Program wouldn't even start - Errors and closes. That's too bad.
Current device - HTC Touch Elfin with Stock WM 6.0 ROM
 
TrizO
Old
#6  
TrizO's Avatar
Member
Thanks Meter 0
Posts: 99
Join Date: Dec 2008
Location: Ohio
Works well, but im wondering...could you expand this to other sites? i like the layout it is intuitive.
 
tboy2000
Old
#7  
tboy2000's Avatar
Senior Member
Thanks Meter 232
Posts: 1,516
Join Date: Oct 2006
Location: London
Thought it would work on my Touch HD but alas poor yorick, it does not.

Any chance for WVGA support?

Unlocked Samsung Ativ S 8.1
Dell Venue 8 Pro 64gb Windows 8.1
Dell Inspiron One 2320 AIO (QuadCore i7-2600S 2.80GHz, 8gig Ram, 2TB HD) Windows 8.1


*List of WP8 Apps & Games at Full Screen Resolution, No Black Bars*


*My Surface Hints, Tips and Registry Tweaks Thread*


*My Leo Hints, Tips and Registry Tweaks Thread*


*Make your own HD2 self-contained Kickstand*
 
leonatan25
Old
#8  
leonatan25's Avatar
Senior Member
Thanks Meter 1
Posts: 113
Join Date: Jul 2008
I get this exception:

iPlayer.exe
NotSupportedException

at System.Net.WebRequest.Create(Uri requestUri, Boolean schemeOnly)
at System.Net.WebRequest.Create(String requestUriString)
at iPlayer.Utils.CreateWebRequest(String pURL, Boolean pKeepAlive, String pUserAgent, String pCookie)
at iPlayer.ProgramDetails.GetFileSize(String url)
at iPlayer.ProgramDetails.LoadProgDetails()
at iPlayer.ProgramDetails.<Initialise>b__0()

Any help?

Disclaimer:
Posts written by me are my views, ideas and opinions only, and should not be taken as facts, unless stated otherwise.
 
craftyb
Old
#9  
Member - OP
Thanks Meter 0
Posts: 88
Join Date: Mar 2006
Location: London
Quote:
Originally Posted by hotrod101 View Post
Program wouldn't even start - Errors and closes. That's too bad.
Sorry is Diamond only at the mo. Have updated first post to clarify.
 
craftyb
Old
#10  
Member - OP
Thanks Meter 0
Posts: 88
Join Date: Mar 2006
Location: London
Quote:
Originally Posted by TrizO View Post
Works well, but im wondering...could you expand this to other sites? i like the layout it is intuitive.
Thanks, yes i'd like to expand it to other sites at some point. I was considering some kind of plugin structure so others could add support to other sites?

I was thinking about adding revision3. Any other ideas?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Run, Jump, and Shoot in Tales of Ciaxia

There are certain types of games that have become paramount of the portable gaming world. As we have … more

Samsung Gear Live Stock Firmware Image Pulled, Temp Root

Just yesterday,XDA Recognized Developer and TV ProducerAdamOutlertore apart … more

Draw a Line and Let Your Device Do the Rest with LineitApp

Over the years, since evenbefore Android entered the scene, we have striven to … more

[APK] Chrome Beta 37 Brings First Traces of Material Design

With Android L on the horizon, it’s no surprise that Google’s … more