Re: [Dorset] BBC iPlayer downloads

2015-05-26 Thread Andrew

On 26/05/15 22:14, Peter Merchant wrote:

peterm@peterm-34204H:~/Software$ ./get_iplayer -u
peterm@peterm-34204H:~/Software$ sh ./get_iplayer

first time it tells me it is there, and repeat says not found. Hmm.


I don't think you want to run it with 'sh'.

--

Andrew.



--
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-26 Thread Andrew Montgomery-Hurrell
Possibly you might need to delete the ~/.get_iplayer folder it creates. The
one created by the previous apt installed version might be causing issues?

On Wed, 27 May 2015 01:32 Andrew zil...@ziltro.com wrote:

 On 26/05/15 22:14, Peter Merchant wrote:
  peterm@peterm-34204H:~/Software$ ./get_iplayer -u
  peterm@peterm-34204H:~/Software$ sh ./get_iplayer
 
  first time it tells me it is there, and repeat says not found. Hmm.

 I don't think you want to run it with 'sh'.

 --

 Andrew.



 --
 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-26 Thread Ralph Corderoy
Hi Terry,

 That Web GUI makes it all a lot easier.

I've never used it, but IIRC the release notes make it clear it lags the
command line and doesn't keep up with the latest BBC hoops that needs
jumping through for all functionality.  So if something doesn't work,
try the command line.

Most of the options aren't needed for typical use.  I have a few scripts
I edit over time, e.g. fetch a new index with `./refresh':

#! /bin/sh

# Quiet avoids the default of listing everything added,
# but it still searches for a pattern that matches everything,
# so give it something that won't exist.
exec ./get_iplayer --quiet --refresh --refresh-future Lj66fjtqfhG

Search the index with a regular expression, `./search
'this.week|daily.politics'':

#! /bin/bash

./get_iplayer --nopurge -e 31536000 --future \
--exclude-category children \
--exclude-channel '\b(?:Alba|CBBC|CBeebies|S4C)\b' \
$@

List things added to the index by a recent refresh, `./newall':

#! /bin/bash

# --since is in hours.
./search --since 2 $@

More details on a search result, giving the URLs for the BBC site, e.g.
`./info 3141':

#! /bin/bash

./get_iplayer --no-purge -e 31536000 --future -i $@

A canned list of new things I'd like to know about, `./newfavourites':

#! /bin/sh

./newall 'jackanory|think.of.a.number|...'

Get something now, but not if it's signed as I find the smaller picture
distracting, and try to learn sign language instead, `./get 3141' or
`./get --pid foo42bar'.

#! /bin/sh

: ${1?}
./get_iplayer --nopurge -e 31536000 --future \
--modes best --subtitles --versions default,audiodescribed \
$@

I use the PVR features too, adding future programs to it as I learn of
them and running the download at times of free bandwidth.

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-26 Thread Peter Merchant

On 25/05/15 13:15, Terry Coles 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!


I downloaded the script as Terry did, but didn't get the plug-ins.

|peterm@peterm-34204H:~/Software$ ./get_iplayer -u
get_iplayer v2.92, 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.

ERROR: get_iplayer was installed using the 'apt' package manager. Please 
refer to the package manager documentation.

peterm@peterm-34204H:~/Software$

-
Yes, at one point I did that. Muon shows get_iplayer not installed, 
apt-get remove says it can't find it, and also that get-iplayer is not 
installed so can't be removed.


I think my computer is confused. Note that I had rebooted before running 
this command, after Terry's comment.


Any suggestions?

Thanks,
P.




|
--
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-26 Thread Terry Coles
On Tuesday 26 May 2015 13:38:23 Peter Merchant wrote:

 I downloaded the script as Terry did, but didn't get the plug-ins.
 
 |peterm@peterm-34204H:~/Software$ ./get_iplayer -u
 
 get_iplayer v2.92, 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.
 
 ERROR: get_iplayer was installed using the 'apt' package manager. Please
 refer to the package manager documentation.
 peterm@peterm-34204H:~/Software$
 
 -
 Yes, at one point I did that. Muon shows get_iplayer not installed,
 apt-get remove says it can't find it, and also that get-iplayer is not
 installed so can't be removed.
 
 I think my computer is confused. Note that I had rebooted before running
 this command, after Terry's comment.
 
 Any suggestions?

What happens if you type sudo apt-get update?

I find this usually fixes things when apt gets confused.

Also, I presume you installed as per the wiki?

(https://github.com/get-iplayer/get_iplayer/wiki/manual#manual-cli)[1]

-- 

Terry Coles




[1] https://github.com/get-iplayer/get_iplayer/wiki/manual#manual-cli
--
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


[Dorset] Next Meeting - One Week Tonight

2015-05-26 Thread Terry Coles
All,

The next meeting is just one week away.  See 
http://dorset.lug.org.uk/wiki/doku.php?id=meetings:pub#the_broadway

See you there!

-- 

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-26 Thread Peter Merchant

On 26/05/15 14:49, Ralph Corderoy wrote:

Hi Peter,


ERROR: get_iplayer was installed using the 'apt' package manager.
Please refer to the package manager documentation.

Perhaps you only removed the get-iplayer package, failing to purge it,
and thus its configuration file remains and that's telling the new
get_iplayer that it was installed using `apt'.  Try installing the
get-iplayer package again and then

 sudo apt-get purge --auto-remove get-iplayer

to remove it and purge the configuration files.

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


Done the reinstall, then the purge,
and then sudo apt-get update to get the system working properly again.

Now this is what I get:

peterm@peterm-34204H:~/Software$ ./get_iplayer -u
get_iplayer v2.92, 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.

INFO: Current version is 2.92
INFO: Checking for latest version from www.infradead.org
INFO: No update is necessary (latest version = 2.92)

peterm@peterm-34204H:~/Software$ sh ./get_iplayer
./get_iplayer: 26: ./get_iplayer: package: not found
./get_iplayer: 27: ./get_iplayer: my: not found
./get_iplayer: 28: ./get_iplayer: my: not found
./get_iplayer: 29: ./get_iplayer: Syntax error: ( unexpected
peterm@peterm-34204H:~/Software$

first time it tells me it is there, and repeat says not found. Hmm.




--
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-26 Thread Ralph Corderoy
Hi Peter,

 ERROR: get_iplayer was installed using the 'apt' package manager.
 Please refer to the package manager documentation.

Perhaps you only removed the get-iplayer package, failing to purge it,
and thus its configuration file remains and that's telling the new
get_iplayer that it was installed using `apt'.  Try installing the
get-iplayer package again and then

sudo apt-get purge --auto-remove get-iplayer

to remove it and purge the configuration files.

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