Re: How do I use pid recursive?

2013-05-18 Thread dinkypumpkin

On 18/05/2013 16:26, Jake Tucker wrote:

I've tried:

get_iplayer --type=radio --pid-recursive=b01sk4r8
which returns:
Option pid-recursive does not take an argument

and:

get_iplayer --type=radio --pid-recursive b01sk4r8
which returns:
INFO: 0 Matching Programmes


get_iplayer --type=radio --pid-recursive --pid b01sk4r8



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: How do I use pid recursive?

2013-05-18 Thread get_ipla...@i.lucanops.net
On Sat, 2013-05-18 at 16:26 +0100, Jake Tucker wrote:
[snip]
 I can't remember what errors I was seeing when the problem started.
 Since then whenever I want a book (or another example all parts of a
 15 Minute Drama) I enter a pid for each part/episode. I don't do it
 that often and if I was I'd of looked into this before now. I'd like
 to grab the first 5 parts of the Carre book on Book at Bedtime from
 the last 5 days. It is a 10 parter continuing next week. From previous
 use what would happen in this situation is get_iplayer would grab the
 parts that have aired and return something like not found for the
 parts still to air.
 The Carre book pid is b01sk4r8
 
 I've tried:
 
 get_iplayer --type=radio --pid-recursive=b01sk4r8
 which returns:
 Option pid-recursive does not take an argument

I know workarounds aren't necessarily welcome, so I apologise, but the
way I would download these (I think - I'm into electronic music off the
radio) would be to just do a text search for the series, and -g it.

 get_iplayer --type=radio --nopurge bedtime

Add -g to the above command and all matches for bedtime will be
downloaded, and programmes already downloaded will be skipped. I think
that reproduces what you are trying to do using pids.

HTH
Nick



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: How do I use pid recursive?

2013-05-18 Thread Steve

Is anyone using get_Iplayer on a raspberry Pi?

This is my current setup:

(downconv.sh)
/usr/bin/perl /mnt/usb/Iplayer/get_iplayer --pvr 21 | tee 
/mnt/usb/Iplayer/Logs/Gip-Log1.txt

/mnt/usb/Iplayer/avconv.sh
mv /mnt/usb/Iplayer/*.m4a -f /mnt/usb/Iplayer/m4a


(avconv.sh)
for f in *.m4a; do avconv -i $f -acodec libmp3lame -ab 256k 
${f%.m4a}.mp3; done


This is the only way I can get playable mp3's on the pi, it wont seem to 
convert to mp3 internally.
I've been using GIP for years on my main machine and it is the same 
setup. Am I doing something basic and stupid to get this problem? I dont 
mind running the two scripts as it mainly runs when I'm asleep anyway, 
but I'd like to do it a bit more elegantly if possible ie all within 
get_iplayer.

Cheers
Steve

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


How do I use pid recursive?

2013-05-18 Thread Jake Tucker
get_iplayer --type=radio --pid-recursive --pid b01sk4r8

Thanks dinkypumpkin.
Looking at that command I believe it is the one I always used.  Having
a doh! moment right now.

___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


Re: How do I use pid recursive?

2013-05-18 Thread dinkypumpkin

On 18/05/2013 18:20, bat guano wrote:

Is there a get_iplayer search command that will return the series pid for such as Book at 
Bedtime or A Delicate Truth?  


No.  The feeds get_iplayer uses to populate its cache don't contain the 
information necessary to accurately determine series PIDs.  You might be 
able to do it for some programmes, but not all.  Even if do have a 
series PID, the related metadata accessed by --pid-recursive may contain 
a big list of non-existent episodes, so you would just be wasting 
bandwidth.  It seems easier just to pluck the PID from your browser or 
use a sufficiently specific search string with get_iplayer.



___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer


RE: How do I use pid recursive?

2013-05-18 Thread bat guano

 No.
...
 It seems easier just to pluck the PID from your browser

OK
I will right-click, copy location on the Book at Bedtime webpage (view 
episodes).

The pid is in here:-
http://www.bbc.co.uk/programmes/b01sk4r8/episodes/guide

;-)   
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer