Avoiding cache refresh

Vangelis forthnet northmedia1 at the.forthnet.gr
Fri Feb 3 07:50:27 PST 2017


On Fri Feb 3 14:53:19 GMT 2017, Howard Orgel wrote: 

> You can always force a cache refresh manually at any time:
> 
> get_iplayer -f --force [type=< >]

You actually mean 

get_iplayer -f --force [--type=< >]

In fact, "--type" option should now be issued only for radio programmes; 

get_iplayer -f --force 

will by default refresh the tv.cache, while --type=podcast, 
despite indeed refreshing podcast.cache, has no practical value 
nowadays, since, due to changes on the beeb side (that won't be 
fixed by the dev), podcast downloading functionality is broken...

> to prevent unexpected cache refreshes 
> if sixteen days have elapsed 
> since my last forced cache refresh.

The problem with that approach is that newer 
versions of GiP (2.95+) come, by default, with a 
30-day cache support; however, this support comes 
with 7-day increments; this means that if one omits 
to manually refresh the cache at least once a week, 
there'll be gaps created within the 30-day cache. 

A (deprecated) solution is to rebuild the whole 30-day 
cache from scratch by issuing: 

get_iplayer --type=tv -f --refresh-limit-tv=30 --force

and for radio (extremely slow): 

get_iplayer --type=radio -f --refresh-limit-radio=30 --force

Kind regards all, 
Vangelis



More information about the get_iplayer mailing list