Re: Searching failing
> On 9 Mar 2024, at 14:46, Charles Johnson wrote: > > On 06/03/2024 20:56, iz wrote: >> "firstbcastdate" is not a search field. Use --fields=available > Thank you. So I therefore must take it that all tokens that match the pattern > ^\w+: in a listing (such as firstbcastyear:, firstbcastrel:, etc.) are NOT > the names of fields? If so, that's a PITA. How do I know which fields ARE > available for use? > Only a few fields in --info output are derived from the cache data used for searches. You would be waiting until (relative) doomsday to index all metadata for all available programmes. The only really useful search fields are the ones shown in the doc examples. The use of "available" is a bit of a fluke that only works because it is stored as a formatted date/time. As was mentioned by Chris Walker, you also have --available-since and --available-before to bracket searches by availability time. Otherwise, crack open one of your cache files - fields names at at the top. They are the same field names shown in docs for use with --listformat. ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Searching failing
> On 23 Feb 2024, at 11:00, Charles Johnson wrote: > > I don't really do much searching so I might be doing something wrong, but the > following search fails to produce any results for me: > > get_iplayer --type=radio --fields=firstbcastdate "2024-02-22" > > I know for a fact that certain programmes are new every day. Can anyone tell > me what's (not) happening here? "firstbcastdate" is not a search field. Use --fields=available ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Searching failing
On Sat, 24 Feb 2024 10:27:02 + Chris Walker wrote: > On Fri, 23 Feb 2024 12:11:34 + > Charles Johnson wrote: > > > On 23/02/2024 11:11, Chris Walker wrote: > > > Does this help? > > > get_iplayer --since=24 ".*" > > > > Yes, that does return results thanks. Just wondering why my > > original does not > > Could it be because you didn't specify any programmes to search? > > I amended your search to add ".*" and it produced loads of results but > looking at the stream of output, the search criteria regarding the > date didn't work so more research needed I think. Looking some more at the link I provided in my first response, and referring to my comment above about too many results, I tried this (I used "The Newsroom" just to reduce the stream of output) :- get_iplayer --type=radio --available-since=48 --available-before=24 "The Newsroom" Matches: [snip list of finds] INFO: 7 matching programmes So Charles, I hope this helps you in your quest. -- __ __| |_ __ __ .. / _/ _` \ V V / | mailto:cdw_pcm...@the-walker-household.co.uk | \__\__,_|\_/\_/ || ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Searching failing
On Fri, 23 Feb 2024 12:11:34 + Charles Johnson wrote: > On 23/02/2024 11:11, Chris Walker wrote: > > Does this help? > > get_iplayer --since=24 ".*" > > Yes, that does return results thanks. Just wondering why my original > does not Could it be because you didn't specify any programmes to search? I amended your search to add ".*" and it produced loads of results but looking at the stream of output, the search criteria regarding the date didn't work so more research needed I think. -- __ __| |_ __ __ .. / _/ _` \ V V / | mailto:cdw_pcm...@the-walker-household.co.uk | \__\__,_|\_/\_/ || ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Searching failing
On Fri, 23 Feb 2024 11:00:46 + Charles Johnson wrote: > I don't really do much searching so I might be doing something wrong, > but the following search fails to produce any results for me: > > get_iplayer --type=radio --fields=firstbcastdate "2024-02-22" > > I know for a fact that certain programmes are new every day. Can > anyone tell me what's (not) happening here? Does this help? get_iplayer --since=24 ".*" I found that here - https://github.com/get-iplayer/get_iplayer/wiki/search -- __ __| |_ __ __ .. / _/ _` \ V V / | mailto:cdw_pcm...@the-walker-household.co.uk | \__\__,_|\_/\_/ || ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Searching failing
I don't really do much searching so I might be doing something wrong, but the following search fails to produce any results for me: get_iplayer --type=radio --fields=firstbcastdate "2024-02-22" I know for a fact that certain programmes are new every day. Can anyone tell me what's (not) happening here? ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer