Wednesday 18 November 2009

Oh they love to make changes !

Ok thanks to user feedback and the fact im back in the UK, I realised things were broken again.

But I've sorted that again ... download here.

Until the next breakage

Cheers

Friday 23 October 2009

Showtime !

Fixed again - The Beeb changed the url schema for programme identifiers. Thanks for your feedbacks ! Have been out of the country or I would have got to this sooner. But seeing as my 1st gen iphone is slowly dying (battery life down to 80% of original and now a dead strip thanks to the humidty in Texas) I havent been using the script myself as much as I used to.

If any of my scripts users have an old 1st gen, surplus to requirements that they would be willing to donate it would be much appreciated :D

Anyhoo - as per usual download from here the new version, copy to /usr/bin/ and set permissions of 0777, also delete iplayer_dl from /usr/bin/ to install the latest version.

Until the next breakage ... enjoy

Wednesday 15 July 2009

Iphone OS 3.0 Update

Ok I bit the bullet and upgraded to 3.0 the other day, quite painless really, inclusive of redsn0w 0.8 - all is looking good.

Apart from the re-install of ipl2iph....

So while this is fresh in my head, I'll detail the install instructions for 3.0.

1. You should already have Cydia installed, I haven't used Icy yet so I'm unsure its default packages.

2. First off - Cydia doesnt include apt-get by default anymore - so an "apt" package has to be installed. I think it was the apt 6.0 I installed.

3. Install Mobile Terminal from Cydia.

4. Install "Air Sharing" from either iTunes or the App Store, then run it at least once.

5. Get the latest copy of ipl2iph

6. Transfer to /usr/bin/ on the iPhone and set permissions of 777

7. Look up a programme on the iplayer site on iPhone and HIT REFRESH.

8. Open Mobile Terminal and type su

9 enter the root password (usually alpine).

10 type ipl2iph

11 answer y to all prerequisite installs.

12 wait .. time passes .. done.

Some technical changes have occurred since the last OS. My script works by looking up the SuspendState.plist on the iPhone to determine the last visisted iplayer "page" and then pass that info onto Paul Battley's iplayer downloading script. This plist used to be quite sparse but now contains your back/forward history of Safari tabs as well as the tab content, for when you re-open Safari. Which means it was quite a struggle to extract the correct ID for the intended programme. So as long as the refresh button is punched and the script is run subsequently, you should end up with the correct download.

Also the plutil command has been updated with better xml handling, but gave me a headache with not finishing its job fast enough.