Re: [Dorset] BBC iPlayer downloads

2015-05-25 Thread Andrew Montgomery-Hurrell
Version 2.86 in the Ubuntu repository is out of date, the version on github
is 2.92 so there might have been new changes to fix the issues you're seeing

On Mon, 25 May 2015 at 09:33 Terry Coles d-...@hadrian-way.co.uk wrote:

 On Sunday 24 May 2015 21:39:40 Ralph Corderoy wrote:
  Andrew Montgomery-Hurrell wrote:
   You could always try https://github.com/get-iplayer/get_iplayer
   instead.
 
  That's what I use, and quite a few others I know.

 Ralph,

 Have you used this recently?  I remember using this some years ago, but
 then
 started having problems, so I gave up.  I just installed it again (it's in
 the
 Ubuntu repository as 'get-iplayer') and this is what I got:

 First a raw search:


 terry@BEIGE:~$ get_iplayer
 get_iplayer v2.86, Copyright (C) 2008-2010 Phil Lewis
   This program comes with ABSOLUTELY NO WARRANTY; for details use
 --warranty.
   This is free software, and you are welcome to redistribute it under
 certain
   conditions; use --conditions for details.

 Matches:
 1:  BBC iPlayer Feeds - -, BBC News, HD,Highlights,Popular,
 default,audiodescribed,signed,

 INFO: 1 Matching Programmes


 Apparently only one feed.  I then tried recording:

 terry@BEIGE:~$ get_iplayer --get 1
 get_iplayer v2.86, Copyright (C) 2008-2010 Phil Lewis
   This program comes with ABSOLUTELY NO WARRANTY; for details use
 --warranty.
   This is free software, and you are welcome to redistribute it under
 certain
   conditions; use --conditions for details.

 Matches:
 1:  BBC iPlayer Feeds - -, BBC News, HD,Highlights,Popular,
 default,audiodescribed,signed,

 INFO: 1 Matching Programmes
 ERROR: No PID for index Unknown (try using --type option ?)

 According to the Wiki and the man page it's expecting the Index number from
 the search.  I only get one and it doesn't work, so what am I doing
 wrong?  I
 tried the search using --type, but I only get the same answer.

 --

 Terry Coles



 --
 Next meeting:  Bournemouth, Tuesday, 2015-06-02 20:00
 Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
 New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
 Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

--
Next meeting:  Bournemouth, Tuesday, 2015-06-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] BBC iPlayer downloads

2015-05-25 Thread Terry Coles
On Monday 25 May 2015 08:39:43 Andrew Montgomery-Hurrell wrote:
 Version 2.86 in the Ubuntu repository is out of date, the version on github
 is 2.92 so there might have been new changes to fix the issues you're seeing

OK.  I uninstalled V 2.86, downloaded the latest version, made it executable 
and ran it as:

terry@BEIGE:~$ ./get_iplayer

On first execution, it installed some plugins and on the second it gave exactly 
the same result as V 2.86.

What do others get, when they type 'get_iplayer' for a simple search?

-- 

Terry Coles



--
Next meeting:  Bournemouth, Tuesday, 2015-06-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] BBC iPlayer downloads

2015-05-25 Thread Andrew Montgomery-Hurrell
I installed the script as described here:
https://github.com/get-iplayer/get_iplayer/wiki/manual

Running it the first time with no arguments, downloaded some plugins as you
described, running it again like so:

./get_iplayer apollo

Printed out a whole load info whilst getting TV index feeds, then finished
with 3 matches, like so:
Matches:
838: Live at the Apollo: Series 9 - Episode 1, BBC One, Comedy,Standup,
default
839: Live at the Apollo: Series 9 - Episode 2, BBC One, Comedy,Standup,
default
840: Live at the Apollo: Series 9 - Episode 3, BBC One, Comedy,Standup,
default

Running the following:

./get_iplayer 838 --get

Began downloading the episode




On Mon, 25 May 2015 at 09:59 Terry Coles d-...@hadrian-way.co.uk wrote:

 On Monday 25 May 2015 08:39:43 Andrew Montgomery-Hurrell wrote:
  Version 2.86 in the Ubuntu repository is out of date, the version on
 github
  is 2.92 so there might have been new changes to fix the issues you're
 seeing

 OK.  I uninstalled V 2.86, downloaded the latest version, made it
 executable
 and ran it as:

 terry@BEIGE:~$ ./get_iplayer

 On first execution, it installed some plugins and on the second it gave
 exactly
 the same result as V 2.86.

 What do others get, when they type 'get_iplayer' for a simple search?

 --

 Terry Coles



 --
 Next meeting:  Bournemouth, Tuesday, 2015-06-02 20:00
 Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
 New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
 Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

--
Next meeting:  Bournemouth, Tuesday, 2015-06-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] BBC iPlayer downloads

2015-05-25 Thread Ralph Corderoy
Hi Terry,

The BBC quite often change things meaning an up-to-date script is
required.  The -u option will update the script and plugins with later
versions if they're available.

Andrew Montgomery-Hurrell wrote:
 I installed the script as described here:
 https://github.com/get-iplayer/get_iplayer/wiki/manual
 
 Running it the first time with no arguments, downloaded some plugins
 as you described, running it again like so:
 
 ./get_iplayer apollo
 
 Printed out a whole load info whilst getting TV index feeds, then
 finished with 3 matches, like so:
 Matches:
 838: Live at the Apollo: Series 9 - Episode 1, BBC One, Comedy,Standup, 
 default
 839: Live at the Apollo: Series 9 - Episode 2, BBC One, Comedy,Standup, 
 default
 840: Live at the Apollo: Series 9 - Episode 3, BBC One, Comedy,Standup, 
 default

AIUI, the BBC withdrew the source of information for what was available
so searches can miss some of what's available now that they're using
information cobbled together from elsewhere.
https://squarepenguin.co.uk/wiki/releasenotes/release289/ has more
details.  I still find its search sufficient, but one can always use the
BBC's iPlayer web site to search and then use the resulting URL or PID
with -g/--get, e.g. http://www.bbc.co.uk/programmes/b05vlwxj or
b05vlwxj.

 Running the following:
 
 ./get_iplayer 838 --get
 
 Began downloading the episode

--subtitles can also be useful.

Cheers, Ralph.

--
Next meeting:  Bournemouth, Tuesday, 2015-06-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] BBC iPlayer downloads

2015-05-25 Thread Terry Coles
On Sunday 24 May 2015 21:39:40 Ralph Corderoy wrote:
 Andrew Montgomery-Hurrell wrote:
  You could always try https://github.com/get-iplayer/get_iplayer
  instead.
 
 That's what I use, and quite a few others I know.

Ralph,

Have you used this recently?  I remember using this some years ago, but then 
started having problems, so I gave up.  I just installed it again (it's in the 
Ubuntu repository as 'get-iplayer') and this is what I got:

First a raw search:


terry@BEIGE:~$ get_iplayer
get_iplayer v2.86, Copyright (C) 2008-2010 Phil Lewis
  This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
  This is free software, and you are welcome to redistribute it under certain
  conditions; use --conditions for details.

Matches:
1:  BBC iPlayer Feeds - -, BBC News, HD,Highlights,Popular, 
default,audiodescribed,signed,

INFO: 1 Matching Programmes


Apparently only one feed.  I then tried recording:

terry@BEIGE:~$ get_iplayer --get 1
get_iplayer v2.86, Copyright (C) 2008-2010 Phil Lewis
  This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
  This is free software, and you are welcome to redistribute it under certain
  conditions; use --conditions for details.

Matches:
1:  BBC iPlayer Feeds - -, BBC News, HD,Highlights,Popular, 
default,audiodescribed,signed,

INFO: 1 Matching Programmes
ERROR: No PID for index Unknown (try using --type option ?)

According to the Wiki and the man page it's expecting the Index number from 
the search.  I only get one and it doesn't work, so what am I doing wrong?  I 
tried the search using --type, but I only get the same answer.

-- 

Terry Coles



--
Next meeting:  Bournemouth, Tuesday, 2015-06-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] BBC iPlayer downloads

2015-05-25 Thread Tim

On 25/05/15 09:58, Terry Coles wrote:

On Monday 25 May 2015 08:39:43 Andrew Montgomery-Hurrell wrote:

Version 2.86 in the Ubuntu repository is out of date, the version on github
is 2.92 so there might have been new changes to fix the issues you're seeing

OK.  I uninstalled V 2.86, downloaded the latest version, made it executable
and ran it as:

terry@BEIGE:~$ ./get_iplayer

On first execution, it installed some plugins and on the second it gave exactly
the same result as V 2.86.

What do others get, when they type 'get_iplayer' for a simple search?

I downloaded this from somewhere years ago (can't remember where), this 
may help


-
Usage

Run: ‘get_iplayer -h’
For Advanced and extended options run: ‘get_iplayer --long-help’
Examples
Searching

* List all tv programmes (either from BBC site or cached):

get_iplayer

* List all tv programme names matching ‘News’:

get_iplayer news

* List all Radio programme names matching ‘News’:

get_iplayer --type=radio news

* List all tv programmes with long descriptions:

get_iplayer --long

* List all tv programmes showing only ‘pid’, ‘name’ and ‘episode’

get_iplayer --listformat=’pid: name - episode’

* Search all tv programmes for the word ‘hello’ in the ‘episode’ and 
‘channel’ fields


get_iplayer --fields=’episode,channel’ hello

* List all tv programmes with categories containing the word ‘News’ and 
on channel ‘BBC One’


get_iplayer --channel=’BBC One’ --category=News

* List all tv programmes added to the cache since 24 hours ago:

get_iplayer --since=24

* List all available categories for BBC Radio and BBC TV programmes:

get_iplayer --list=categories --type=’tv,radio’

* List all available radio channels:

get_iplayer --list=channel --type=radio

* List all ITV programmes and BBC podcasts

get_iplayer --type=’podcast,itv’

* List all programmes with categories not containing the string ‘child’ 
on BBC One:


get_iplayer --exclude-category=child --channel=’bbc one’

* List all programme metadata and available download modes for programme 
with index number 123:


get_iplayer --info 123

Downloading

Essentially, you can just add ‘--get’ to any of the above searches to 
download them.

* Download programme number 123 (see index list):

get_iplayer --get 123

* Download Radio programme number 10123 (see index list):

get_iplayer --get 10123

* Download Radio programme number 10123 and tv programme number 324 (see 
index list):


get_iplayer --get 10123 324

* Download Podcasts matching ‘Moyles’:

get_iplayer --type=podcast --get ‘Moyles’

* Download all tv programmes with ‘blue peter’ in the title/episode:

get_iplayer --get ‘blue peter’

* Download all tv programmes with ‘blue peter’ in the title/episode, and 
programme index 123:


get_iplayer --get ‘blue peter’ 123

* Download all programmes with URL that contains a programme ID (pid) 
b002a23a (i.e. the URL of the programme page on BBC iplayer):


get_iplayer --get --pid http://blah.blah.blah/b002a23a.shtml

* Download all programmes with ‘comedy’ in the title, episode or long 
description:


get_iplayer --long --get comedy

* Download all programmes with categories containing ‘music’:

get_iplayer --get --category=comedy

* Download an ITV player TV programme (requires mplayer)

get_iplayer --type=itv --get 123

* Using rtmpdump tool to get high or normal quality Flash download 
version of a TV programme (--rtmpdump is optional)


get_iplayer --type=tv --get 123 --vmode=rtmp 
--rtmpdump=’/path/to/rtmpdump’


* Download a TV programme trying iphone, flashhigh and flashnormal modes 
in order until one succeeds.


get_iplayer --type=tv --get 123 
--vmode=iphone,flashhigh,flashnormal --rtmpdump=’/path/to/rtmpdump’


* Using rtmpdump tool to get high quality Flash download version of a 
BBC Radio programme (--rtmpdump is optional)


get_iplayer --type=radio --get 12345 --amode=flashaudio 
--rtmpdump=’/path/to/rtmpdump’


* Download a radio programme trying iphone, flashaudio, flashaac then 
realaudio modes in order until one succeeds.


get_iplayer --type=radio --get 12345 
--amode=iphone,flashaudio,flashaac,realaudio --rtmpdump=’/path/to/rtmpdump’


Other Features

* Refresh/flush the tv programme cache (this happens after 4hrs 
automatically - see --expiry option):


get_iplayer --flush

* Refresh/flush the programme cache for all types:

get_iplayer --flush --type=all

* Refresh/flush the radio programme cache:

get_iplayer --flush --type=radio

* Check for Updates and Download new version of get_iplayer (also 
creates backup):


get_iplayer --update

Streaming

* Stream a programme in mplayer or xine while downloading it to disk:

get_iplayer --stdout --get 123 | mplayer -cache 3072-
get_iplayer --stdout --get 123 | xine stdin:/

* Stream a programme in mplayer or 

Re: [Dorset] BBC iPlayer downloads

2015-05-25 Thread Terry Coles
On Monday 25 May 2015 09:18:04 Andrew Montgomery-Hurrell wrote:
 I installed the script as described here:
 https://github.com/get-iplayer/get_iplayer/wiki/manual
 
 Running it the first time with no arguments, downloaded some plugins as you
 described, running it again like so:
 
 ./get_iplayer apollo
 
 Printed out a whole load info whilst getting TV index feeds, then finished
 with 3 matches, like so:
 Matches:
 838: Live at the Apollo: Series 9 - Episode 1, BBC One, Comedy,Standup,
 default
 839: Live at the Apollo: Series 9 - Episode 2, BBC One, Comedy,Standup,
 default
 840: Live at the Apollo: Series 9 - Episode 3, BBC One, Comedy,Standup,
 default
 
 Running the following:
 
 ./get_iplayer 838 --get
 
 Began downloading the episode

Well; don't ask me why, but I just typed:
  ./get_iplayer

and it downloaded the full Index!  There is nothing different to what I was 
doing this morning; all I've done is to shut down the machine while we went 
shopping.

As the Yanks would say - go figure!

-- 

Terry Coles



--
Next meeting:  Bournemouth, Tuesday, 2015-06-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] BBC iPlayer downloads

2015-05-25 Thread Victor Churchill
I'm visiting folks in Scotland at the mo so not at my machine for exact
reference, but it's worth mentioning that get-iplayer also has an embedded
CGI server you can access to provide a web GUI to your browser, which looks
quite similar to the BBC iPlayer pages and has similar search capabilities.
Very handy if you don't want to handle the complicated CLI commands.

Look at the 'web PVR Manager' section of the wiki docs at
https://github.com/get-iplayer/get_iplayer/wiki/manual#manual-wpm


On 25 May 2015 at 13:15, Terry Coles d-...@hadrian-way.co.uk wrote:

 On Monday 25 May 2015 09:18:04 Andrew Montgomery-Hurrell wrote:
  I installed the script as described here:
  https://github.com/get-iplayer/get_iplayer/wiki/manual
 
  Running it the first time with no arguments, downloaded some plugins as
 you
  described, running it again like so:
 
  ./get_iplayer apollo
 
  Printed out a whole load info whilst getting TV index feeds, then
 finished
  with 3 matches, like so:
  Matches:
  838: Live at the Apollo: Series 9 - Episode 1, BBC One, Comedy,Standup,
  default
  839: Live at the Apollo: Series 9 - Episode 2, BBC One, Comedy,Standup,
  default
  840: Live at the Apollo: Series 9 - Episode 3, BBC One, Comedy,Standup,
  default
 
  Running the following:
 
  ./get_iplayer 838 --get
 
  Began downloading the episode

 Well; don't ask me why, but I just typed:
   ./get_iplayer

 and it downloaded the full Index!  There is nothing different to what I was
 doing this morning; all I've done is to shut down the machine while we went
 shopping.

 As the Yanks would say - go figure!

 --

 Terry Coles



 --
 Next meeting:  Bournemouth, Tuesday, 2015-06-02 20:00
 Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
 New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
 Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR




-- 
best regards,
웃
Victor Churchill,
Bournemouth
--
Next meeting:  Bournemouth, Tuesday, 2015-06-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR