--pvrqueue automatically adds future recordings?

Andy Bircumshaw andy at networkned.co.uk
Wed Apr 18 16:40:57 EDT 2012


On 18 April 2012, at 18:53, Ronny Andersson wrote:

> 
>> $ get_iplayer social
>> get_iplayer v2.80, 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:
>> 2115:   The Anti-Social Network - -, BBC Three, Factual,Guidance,TV, default
>> 
>> INFO: 1 Matching Programmes
>> $
>> $ get_iplayer --pvrqueue social
> 
> 
> Why don't you use the index instead;
> 
> $ get_iplayer --pvrqueue 2115
> 
> This will add only this program using the PID instead. When you refresh later it still uses the PID in the pvr queue, since the indexes changes all the time but the PID is always the same.

The reason I don't is that I usually perform the search, use my bash history to find the last time I used pvrqueue and then replace the last word with "!!:$".

Also, if you have --refresh running as periodic cronjob there is a chance (slim, hopefully) that the index number will change in the time between running the search and adding the pvr item. Generally I have considered this preferable to having to wait for a refresh if the cache is more than 4 hours old - far too often this has caused me to have to wait before a search is completed. 

aB.




More information about the get_iplayer mailing list