v3.18: PID-based PVR search indexes radio programmes without --type=radio
This fix in 3.18 has introduced some unwanted behaviour (at least for me).
If a TV only get_iplayer instance is used with 3.18 when a pid based search (or a Once from Web PVR Manager) is included with --pvr it now indexes and creates a Radio cache even though type is set to TV and search is for a TV programme.
Prior to 3.18 it was possible to only have a TV cache if Radio downloads were not required.
PID-based searches always check both tv and radio caches (whatever is present) in order to get basic metadata in case other methods fail. This has been mostly invisible to users because cache updates have been suppressed for such searches. That never made sense to me in the PVR context since PVR functionality should be suitable for unattended execution, thus all redundancy should be deployed. That is particularly true since PID-based searches can now be used for downloading of ongoing series, and cache updates are now fairly quick. However, I've arguably violated the Principal of Least Surprise by changing this. It doesn't help that --type is a somewhat ambiguous option. Its primary function is as a search filter, but it has a secondary function in controlling programme indexing. My colleague wants to revert this change in some way, so I'm going to leave it up to them how to proceed.

For now, if you want to avoid indexing any radio programmes, delete your radio.cache file and use --refresh-exclude-groups-radio=local,regional,national to exclude all radio stations from indexing. You will have a radio.cache file, but it will contain no entries.

Possibly Related Threads…
Thread Author Replies Views Last Post
  [FIXED]  get_iplayer 3.17.0 re-indexes programmes before every download with —refresh-future sanwin 21 12,995 28-12-2018, 03:59 PM
Last Post: dinky
  [FIXED]  Indexing skipped with --pvr if first PVR search is PID-based roga 1 3,203 28-12-2018, 03:57 PM
Last Post: dinky
  ERROR: Programme type '' does not exist 12stringbassist 10 10,376 10-11-2017, 01:57 PM
Last Post: 12stringbassist
  Some programmes not in radio listings cricketer 2 3,187 31-01-2017, 06:07 PM
Last Post: cricketer