Additional listformat fields
#1
For context, I'm currently creating a simple UI for get-iplayer, using the cached data to display info about a programme. I realise I can use the metadata options to collect more info about a particular programme, but this is slow compared to searching the cache, so it's convenient to have as much info as possible available immediately.

The current fields controllable with listformat are these: <index> <pid> <name> <episode> <seriesnum> <episodenum> <desc> <channel> <available> <expires> <timeadded> <web>

One particularly piece of metadata that I'd like to use but isn't available this way is the thumbnail url. Is there any scope to include this in the cached metadata?

I appreciate that everyone will have their own favourite piece of metadata they'd like cached, so a more general approach might allow the cached metadata fields to be configured. However, this sounds to me to be a far more complex task.

As a perl newb I can't gauge where on the scale of trivial to impossible doing something like this would be. Is this something that might be considered? I'd be willing to try to implement it (via me learning perl!) if there's any scope it might be accepted if I could get it to work.
#2
Thumbnail info is not available during programme indexing. It was at one time, but the thumbnail field in the cache is no longer used and will be removed in the next release. The cache is not a metadata repository. It is only meant to support searching for programmes in a few limited dimensions. Thumbnails are completely irrelevant to that. And there is no scope for configurable cache fields - the data is far too limited. I wouldn't support that, anyway.
#3
Thanks for clarifying. I noticed that <thumbnail> was 'nearly' supported (in that, unlike other invalid tags, it's processed and removed rather than left alone in the output), so I was hopeful, but clearly this is just a legacy quirk. You've shattered my dreams ;)

I can appreciate the thumbnail has no use in a text search, but in my case there's scope for a 'visual' search (the user scanning through a list of images), which is why I thought it might be a sensible addition. I'll stick with using the --metadata arguments instead.


Possibly Related Threads...
Thread Author Replies Views Last Post
  Web PVR: Add new fields to PVR searches with PVR List editor 2dmartin 2 873 11-05-2018, 12:35 PM
Last Post: 2dmartin