Re: Exclude/Include patterns

2018-07-13 Thread RS

On 13/07/18 09:55, I wrote:


What is not clear is how you invoke
--refresh-include 
since by default everything is included.  Perhaps you need
--refresh-exclude-groups-radio national,regional,local
--refresh-include 


I have renamed all my cache files to prevent their being found and then run
get_iplayer --refresh-exclude-groups-radio national,regional,local 
--refresh-include "BBC Radio 4" -f --type radio


It added 1840 radio programmes to the cache.  As far as I could see from 
a visual inspection scrolling through the newly created radio.cache file 
all the programmes were from Radio 4, Radio 4 Extra and the World 
Service when joined with Radio 4.  This is clearly not quite right, but 
from what you have said you want, the failure to exclude Radio 4 Extra 
would not be a problem.


get_iplayer --refresh-exclude-groups-radio national,regional,local 
--refresh-include "BBC Radio 4,BBC Radio 3" -f --type radio


adds 2211 programmes to a newly created radio.cache

I'll leave you to check whether they are what you want.

Best wishes
Richard



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


Re: Exclude/Include patterns

2018-07-13 Thread RS

On 11/07/18 22:17, Az wrote:

On Mon, July 9, 2018 6:49 am, Az wrote:

On Mon, July 9, 2018 5:40 am, Ralph Corderoy wrote:


Hi Az,




and I tried to exclude everything and just include those like so:


It's not obvious from looking at `channels_filtered' in the get_iplayer
  script that they combine like that.


-v --cache-rebuild --type=radio --refresh-exclude ".*"
--refresh-include "BBC Radio 3,BBC Radio 4,BBC Radio 4 Extra"




Have you tried just using `--refresh-include' without excluding
everything?


That looks like it might have worked. Thanks.


I spoke too soon.

It didn't update the next day. I'm excluding local and regional groups at
the moment. That seems to cut down on some of it anyway.

Are you saying it doesn't do what the documentations says, or you want 
it to do something different from what the documentation says?  I have 
not looked at the code, but as I read the documentation

--refresh-include 
will override
--refresh-exclude-groups
and
--refresh-exclude 
will override
--refresh-include-groups

It does not say you can have contradictory
--refresh-exclude 
and
--refresh-include 

What is not clear is how you invoke
--refresh-include 
since by default everything is included.  Perhaps you need
--refresh-exclude-groups-radio national,regional,local
--refresh-include 

Best wishes
Richard


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


Help please with pvr command

2018-07-13 Thread Budge

I am trying to download "Afternoon Concert - Opera Matinee:" using pvr.

I don't want every afternoon concert, just the opera matinees.

Exactly what expression do I add to my list with --pvr-add?  Darned if I 
can get it right so help sought please.


Budge.

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


Re: Help please with pvr command

2018-07-13 Thread RS

On 13/07/18 15:45, Budge wrote:

I am trying to download "Afternoon Concert - Opera Matinee:" using pvr.

I don't want every afternoon concert, just the opera matinees.

Exactly what expression do I add to my list with --pvr-add?  Darned if I 
can get it right so help sought please.


It's a long time since I used the PVR, so I can't answer about that. 
However you problem is a Search problem.


get_iplayer matinee --type radio
returns 0 matching programmes.

I can remember having it explained to me by Phil Lewis, which gives you 
an idea of how long ago it was.  A default search will ignore everything 
after the first -.  The solution is to use the --long or -l option.  You 
may then need to refine your search to avoid having your search string 
matched in other fields, or confine your search to one or more of the 
other fields.


Best wishes
Richard




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


Trust me i'm a doctor

2018-07-13 Thread Dave Widgery
Hi
I have been trying to download trust me I'm a  doctor and failing,
from looking on iplayer it looks like only the signed versions are
available.

What is the command line option to download signed versions, I used to
know it but forgotten and haven't been able to find it in the wiki.

Can anyone please point me in the right direction.

Thanks
Dave

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


Re: Trust me i'm a doctor

2018-07-13 Thread Dave Widgery
BRILLIANT

Thanks for the quick reply, that seems to have done the trick.

Dave



On 13 July 2018 at 18:28, mccarthy kevin  wrote:
> get_iplayer --versions=signed --pid=
>
> looks like it works where  is the iplayer pid
>
>
> On 13 July 2018 at 17:08 Dave Widgery  wrote:
>
> Hi
> I have been trying to download trust me I'm a doctor and failing,
> from looking on iplayer it looks like only the signed versions are
> available.
>
> What is the command line option to download signed versions, I used to
> know it but forgotten and haven't been able to find it in the wiki.
>
> Can anyone please point me in the right direction.
>
> Thanks
> Dave
>
> ___
> get_iplayer mailing list
> get_iplayer@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer

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


Re: Trust me i'm a doctor

2018-07-13 Thread Alan Milewczyk

On 13/07/2018 17:08, Dave Widgery wrote:

Hi
I have been trying to download trust me I'm a  doctor and failing,
from looking on iplayer it looks like only the signed versions are
available.

What is the command line option to download signed versions, I used to
know it but forgotten and haven't been able to find it in the wiki.

Can anyone please point me in the right direction.

Thanks
Dave

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


Just add   --version=signed to your command line.


A


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


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


Re: Trust me i'm a doctor

2018-07-13 Thread RS



On 13/07/18 17:35, Alan Milewczyk wrote:

On 13/07/2018 17:08, Dave Widgery wrote:

Hi
I have been trying to download trust me I'm a  doctor and failing,
from looking on iplayer it looks like only the signed versions are
available.

What is the command line option to download signed versions, I used to
know it but forgotten and haven't been able to find it in the wiki.

Can anyone please point me in the right direction.

Thanks
Dave



Just add   --version=signed to your command line.


If you want to know where you downloaded it when it was first broadcast, 
I have often thought download_history was a useful database of 
recordings.  So far the only way I have been able to use it has been to 
import it into a spreadsheet.


I have now discovered

get_iplayer trust --history

gives a list of downloaded programmes with an index number (line number 
in download_history, not the cache index number).


get_iplayer  --history --info

then tells you the directory you downloaded it to and the date it was 
added to the cache.  You can also use


get_iplayer --pid b09pvwmb --history --info

but that gives you a lot more information including the metadata and 
information about versions currently available.


Best wishes
Richard




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


Re: Help please with pvr command

2018-07-13 Thread Budge

On 13/07/18 16:11, RS wrote:

On 13/07/18 15:45, Budge wrote:

I am trying to download "Afternoon Concert - Opera Matinee:" using pvr.

I don't want every afternoon concert, just the opera matinees.

Exactly what expression do I add to my list with --pvr-add?  Darned if 
I can get it right so help sought please.


It's a long time since I used the PVR, so I can't answer about that. 
However you problem is a Search problem.


get_iplayer matinee --type radio
returns 0 matching programmes.

I can remember having it explained to me by Phil Lewis, which gives you 
an idea of how long ago it was.  A default search will ignore everything 
after the first -.  The solution is to use the --long or -l option.  You 
may then need to refine your search to avoid having your search string 
matched in other fields, or confine your search to one or more of the 
other fields.


Best wishes
Richard


Hi Richard,
Very many thanks.  The --long option worked using command line.  New for 
me.
I have put what I think is required in the pvr list on basis of what 
worked so we shall see.

Thanks again,
Budge

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