GetiPlayerAutomator / get-iplayer-automator

Moved to https://github.com/Ascoware/get-iplayer-automator! The goal of Get iPlayer Automator is to allow iTunes and your Mac to become the hub for your British Television experience regardless of where in the world you are. Currently, Get iPlayer Automator allows you to download and watch BBC and ITV shows on your Mac. Series-Link/PVR functionality ensures you will never miss your favourite shows. Programmes are fully tagged and added to iTunes automatically upon completion. It is simple and easy to use, and runs on any machine running Mac OS X 10.7 or later. And since the shows are in iTunes, it is extremely easy to transfer them to your iPod, iPhone, or Apple TV allowing you to enjoy your shows on the go or on your television.
https://github.com/Ascoware/get-iplayer-automator
GNU General Public License v3.0
127 stars 54 forks source link

BBC Downloads Failing #209

Closed willson556 closed 10 years ago

willson556 commented 10 years ago

From hoosiers...@gmail.com on June 06, 2013 00:29:42

What steps will reproduce the problem? 1. Attempted to download The Apprentice

  1. Received error message 3. What is the expected output? What do you see instead? Instead of getting the program, it tries every type of file and says unable to download. Tried through the search and adding through the website. What version of the product are you using? On what operating system? 1.5.2; OS X Lion Please provide any additional information below. Attached the log for the issue.

Original issue: http://code.google.com/p/get-iplayer-automator/issues/detail?id=213

willson556 commented 10 years ago

From hoosiers...@gmail.com on June 05, 2013 16:51:18

Also seems to be happening for any BBC show. ITV shows seem to work fine.

Also attached the error log

Attachment: Error Log 050613.rtf

willson556 commented 10 years ago

From dinkypumpkin on June 06, 2013 02:21:58

TV programmes were unavailable for a while due to problems at the BBC end. The problems seem to have been corrected now.

Status: Fixed

willson556 commented 10 years ago

From dinkypumpkin on June 06, 2013 05:09:26

Problem has returned, reopening issue.

Status: New

willson556 commented 10 years ago

From dinkypumpkin on June 06, 2013 05:09:51

Issue 214 has been merged into this issue.

willson556 commented 10 years ago

From char...@antrim2004.fsnet.co.uk on June 06, 2013 05:46:35

I'm receiving almost idenntical error messages attemting to downlload a BBC TV programme.

I can still download BBC radio content successfully.

Haven't tried any ITV programmes.

willson556 commented 10 years ago

From dinkypumpkin on June 06, 2013 07:36:23

A temporary workaround is to run this command in Terminal (you can cut and paste):

perl "/Applications/Get iPlayer Automator.app/Contents/Resources/get_iplayer.pl" --profile-dir "$HOME/Library/Application Support/Get iPlayer Automator/" --prefs-add --rtmp-tv-opts="--swfVfy http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf "

To remove the setting, re-run the command changing "--prefs-add" to "--prefs-del". If that proves to be the permanent solution, a new GiA build will be available at the weekend.

willson556 commented 10 years ago

From scottatb...@gmail.com on June 06, 2013 09:00:05

Thanks, this seems to work well for me. Much appreciated.

willson556 commented 10 years ago

From char...@antrim2004.fsnet.co.uk on June 06, 2013 09:50:07

Thank you, dinkypumpkin.

I'll give the above a try and see how I get on.

Cheers!

willson556 commented 10 years ago

From chrisdav...@gmail.com on June 06, 2013 10:50:24

Same problem here, fixed by the workaround :).

For those with a stock perl install (when trying the workaround you receive an error about HTTP not found), stick these in the terminal to add the required perl modules:

sudo cpan install HTML::Entities install HTTP::Cookies install LWP::ConnCache

willson556 commented 10 years ago

From dinkypumpkin on June 06, 2013 11:05:35

Those modules should already be installed, and mucking with the system Perl is best avoided if at all possible. What version of OSX are you using?

willson556 commented 10 years ago

From dinkypumpkin on June 06, 2013 11:10:34

Also - see issue #92 for explanation of how a similarly faulty Perl installation was fixed in OSX 10.6. A similar procedure would apply on later versions.

willson556 commented 10 years ago

From dylan.wi...@gmail.com on June 06, 2013 11:14:22

The workaround seems to work. Thanks.

willson556 commented 10 years ago

From h...@jakub.at on June 06, 2013 12:03:58

how do you I have to enter this command?

perl "/Applications/Get iPlayer Automator.app/Contents/Resources/get_iplayer.pl" --profile-dir "$HOME/Library/Application Support/Get iPlayer Automator/" --prefs-add --rtmp-tv-opts="--swfVfy http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf "

willson556 commented 10 years ago

From dinkypumpkin on June 06, 2013 12:05:57

Like I wrote: "run this command in Terminal (you can cut and paste)". So - open Terminal, copy command from your browser, paste at prompt in Terminal, hit Return to run.

willson556 commented 10 years ago

From h...@jakub.at on June 06, 2013 12:25:14

Okay thanks - it did not work for me because I had a different file path for the application - I have changed the path within the command and now it seems to work. The download of my desired tv shows works again as well for me - I appricate the support

willson556 commented 10 years ago

From dinkypumpkin on June 06, 2013 12:27:06

Right. So for anyone else: If you don't have GiA installed in /Applications, adjust the path to get_iplayer.pl accordingly.

willson556 commented 10 years ago

From jim.sinf...@gmail.com on June 06, 2013 14:05:46

Can confirm for others, #6 Terminal command recommendation above seems to be working for now so give it a try.

Had same issue over last couple of days with complete fails on everything BBC. Also yesterday, some downloaded items had the ending "((flashhd))" that should have been in HD, but in fact had only downloaded as the SD version (the terminal command above also fixes this).

Although it's still a bit buggy, e.g. in a list of items to download, it seems to skip (showing "waiting") some items listed, jumping to other items later in the list, before returning to the first ones later-on, which is a bit weird.

Anyway hopefully fully fixable, so looking forward to a main fix at the weekend. Excellent work, thanks Dinky et al.

willson556 commented 10 years ago

From char...@antrim2004.fsnet.co.uk on June 06, 2013 14:51:32

Further to #8 above - and more recent posts - by my copying and pasting the workaround command as recommended, successful downloading has been initialised. Excellent!

Still don't understand what any of what it all means...but hey - ignorance is bliss!

Thank you dinkypumpkin!

willson556 commented 10 years ago

_From tom_aldr...@gmx.com on June 06, 2013 19:51:33_

Only got it to work after i removed the space between the '--prefs-del' and the '--rtmp-tv-opts etc'. Works again for bbc downloads - thank you.

willson556 commented 10 years ago

From lou...@gmail.com on June 06, 2013 20:16:48

Tried the workaround but not working for me

willson556 commented 10 years ago

From vince...@gmail.com on June 07, 2013 01:25:52

I concur this workaround worked for me as well, but ONLY when my VPN was selected, not with the provided Proxy. Its the only way I can get it to work now..

willson556 commented 10 years ago

From dinkypumpkin on June 07, 2013 02:18:04

20: That makes no sense. You must have at least one space between command-line parameters. If anyone is trying to copy and paste the command from email, make sure the command is entered all on one line at your command prompt. You email client may break up the lines. If you copy and paste from your browser, it should be OK.

22: Just to be clear - the problem discussed here is completely unrelated to proxy issues. It stems from changes to the BBC site.

willson556 commented 10 years ago

From csj...@gmail.com on June 07, 2013 03:45:40

Thank you perl fix fixed it for me too. I am running ML 10.8.4 using GIA 1.5.2 ta Paul

willson556 commented 10 years ago

From oscarot...@gmail.com on June 07, 2013 04:38:07

This command worked on 10.6.8 with 1.3.7.1 upgraded by the Snow Leopard Notes (after deleting the application, application support folder and preference file and re-doing the update).

willson556 commented 10 years ago

From oceanmoon7 on June 07, 2013 07:51:35

I've had same problem not being able to download BBC programmes since yesterday (06June). Tried this workaround command and it now works. BTW, as Manuel would say, "I know nothing!"

Using OS X 10.6.8 GIA 1.3.7.1.(399)

Much gratitude to you dinkypumpkin. Having GIA truly enhances my life, especially as I'm away from the UK for the last 3 years. I always say a good word in my head for you and all at GIA. Ta!

willson556 commented 10 years ago

From dinkypumpkin on June 07, 2013 08:49:24

Issue 217 has been merged into this issue.

willson556 commented 10 years ago

From dinkypumpkin on June 07, 2013 08:49:44

Issue 216 has been merged into this issue.

willson556 commented 10 years ago

From dinkypumpkin on June 07, 2013 08:50:13

Issue 215 has been merged into this issue.

willson556 commented 10 years ago

From dinkypumpkin on June 07, 2013 08:54:56

Summary: BBC Downloads Failing (was: Unable to download)

willson556 commented 10 years ago

From girlongirltoys on June 07, 2013 09:00:38

Hi. Can anyone advise if an upgrade for non tekkies will be available as dont really understand all the technical jargon above about re terminals! Bit beyond me! with thanks. I know I use this player daily and can't wait for it to be working again!

willson556 commented 10 years ago

From b...@nbpempire.com on June 07, 2013 09:04:56

Same comment here - I am not a tekkie either so I don't know how to do the terminal stuff - anything we can do? Do we need to wait for a new version?

willson556 commented 10 years ago

From adultfun...@gmail.com on June 07, 2013 09:08:47

Yes I am the same,,,I don't even know what the terminal is or where to find it! sorry that must sound SO dense! love GIA so hope there is a simple "fix" for non tekkies!

willson556 commented 10 years ago

From dinkypumpkin on June 07, 2013 09:11:35

32: Since you're on OSX 10.6.8 the answer is no, unfortunately. There may be another 10.6 build at some point in the future, but not any time soon - it's a much larger issue. If you're on 10.6 you will need to follow the instructions above to restore BBC downloads. Taken together #6, #14 and #16 above tell you everything you need to know. If you don't how to use the Terminal app, Google is your friend.

willson556 commented 10 years ago

From b...@nbpempire.com on June 07, 2013 09:11:37

This program has really changed and enhanced my life for the better. I don't know what I would do without it and I'll support it

willson556 commented 10 years ago

From adultfun...@gmail.com on June 07, 2013 09:15:58

Ouch, sounds quite serious. Will messing around in the terminal whatever this is affect other software on a mac? Is terminal a programme. any help so much appreciated as dont know where to start! I love this programme and would be gutted to lose it.

willson556 commented 10 years ago

From girlongirltoys on June 07, 2013 09:18:26

when i click this link below i get "content cannot be found"?? I too am trying to work out what this terminal is and how to make changes.....is this link below what needs to be pasted? http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf "

willson556 commented 10 years ago

From oceanmoon7 on June 07, 2013 09:23:31

Hope this helps the posters who are unsure about the fix, as I was earlier.

dinkypumpkin has given a workaround at #6 above.

I'm using a MacBook with Snow Leopard running OS X 10.6.8 (operating system version).

To find Terminal. Open Finder, click on Utilities, click on Terminal. Then copy the fix that dinkypumpkin provides above:

perl "/Applications/Get iPlayer Automator.app/Contents/Resources/get_iplayer.pl" --profile-dir "$HOME/Library/Application Support/Get iPlayer Automator/" --prefs-add --rtmp-tv-opts="--swfVfy http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf "

Copy the whole command as you see it from perl all the way to swf" as above.

Then paste it in Terminal just after the cursor and press enter on your computer.

It worked for me just as I've described and believe me, I know very little about computers. So make yourself a cuppa, switch off distractions and have a go.

dinkypumpkin does also mention that there will be a new GIA build on the weekend.

willson556 commented 10 years ago

From adultfun...@gmail.com on June 07, 2013 09:24:32

If anybody has time in the future, would they be able to give us a step by step guide to how to make this change using mac 10.6.8 (for dummies)so we can use the GIA again. that would be really helpful and appreciate anybodies time in this.

willson556 commented 10 years ago

From adultfun...@gmail.com on June 07, 2013 09:30:48

Thank have just seen the post above. Do you know before I start this, will doing this paste in terminal affect any other programmes on the mac....just wanted to be sure as dont want to mess other programmes up and not really understanding this I Like to check first!

willson556 commented 10 years ago

From b...@nbpempire.com on June 07, 2013 09:32:01

THANK YOU! That worked... I have never used the Terminal utility before - very simple to do

willson556 commented 10 years ago

From dinkypumpkin on June 07, 2013 09:37:36

39: Thanks for that

41: No

willson556 commented 10 years ago

From adultfun...@gmail.com on June 07, 2013 09:54:08

Wow! Reading all your comments and the nice easy "step by step" from #39 oceanmo...@gmail.com, I braved it and too seem to have resolved the issue. Thanks so much to you all for helping us novices and non tekkies out,,,,SO much appreciated! Very kind of you all

willson556 commented 10 years ago

From spacedho...@gmail.com on June 07, 2013 11:05:58

The Terminal workaround worked for me too. Cheers :)

willson556 commented 10 years ago

From george99...@gmail.com on June 07, 2013 11:39:18

Hello - I use GIA on Windows and have encountered this issue. Is there an equivalent fix on that platform? Looking at the command I am guessing the get_iplayer.pl file needs to be amended to include the url but I am not sure how to add this in as there are two references to --rtmp-tv-opts

rtmptvopts => [ 1, "rtmp-tv-opts|rtmptvopts=s", 'Recording', '--rtmp-tv-opts ', "Add custom options to flvstreamer for tv"], }

Any help gratefully received...

willson556 commented 10 years ago

From dinkypumpkin on June 07, 2013 11:46:39

46: GiA doesn't run on Windows, so you're in the wrong place. Queries about get_iplayer belong on the get_iplayer mailing list: http://lists.infradead.org/mailman/listinfo/get_iplayer But since I've just had a drink and I'm in a good mood because the quiet carriage is actually quiet: http://lists.infradead.org/pipermail/get_iplayer/2013-June/004208.html

willson556 commented 10 years ago

From george99...@gmail.com on June 07, 2013 12:04:28

Thanks Dinkypumpkin - really appreciate your answer. I'd just found that answer after posting on here...

Only thing is I'm struggling to find that options file/directory :-(

Is it likely to be called something else?

Thx

willson556 commented 10 years ago

From dinkypumpkin on June 07, 2013 12:07:21

48: You don't have that file by default, and you don't need to know where it is (%USERPROFILE%.get_iplayer\options on Windows). Just run the --prefs-add command as instructed.

willson556 commented 10 years ago

From george99...@gmail.com on June 07, 2013 12:28:40

ahhh - thanks

I actually added it into the pvr_manager.cmd file that I use to start Get_iplayer and had a go and that seemed to do the trick as well.

Thanks for your help.

willson556 commented 10 years ago

From robert.r...@mailmetrash.com on June 07, 2013 12:39:35

Thanks for the help everyone, but the commands failed me. I could not get the perl modules installed (missing YAML?), but editing the get_iplayer.pl file directly worked for me.

In get_iplayer.pl (in the GiA package contents), I changed line 5852 from: swfurl => " http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf?revision=18269_21576 ",

to: swfurl => " http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf ",

(actually I commented out the old line for easy restoration.)

This is now perfectly downloading BBC programs again. While the fixes prescribed (#6 & #9) didn't work directly, thanks, dinkypumpkin, for the key to the fix.

willson556 commented 10 years ago

From dinkypumpkin on June 07, 2013 12:44:46

51: If your Perl installation is broken, see issue #92 . Your modules are almost certainly installed but something has broken the system Perl configuration.

I don't encourage anyone to edit get_iplayer.pl directly. It will get overwritten every time you update GiA. In this case it's not a big deal since the next update will contain the requisite change, but still not a good idea.