On Tue, Sep 6, 2016 at 7:45 PM, Dave Widgery <dave.widg...@gmail.com> wrote: > > Hi thanks for the suggestion, but I am running windows not linux, i > will give it a try but not sure that it will work. > > Dave > > On 6 September 2016 at 17:10, David Walters <da...@jellybaby.net> wrote: > > On Tue, Sep 6, 2016 at 3:45 PM, Dave Widgery <dave.widg...@gmail.com> wrote: > >> > >> get_iplayer creates the entries in the file each time it has a > >> sucsessful downloads a file, > >
A quick (in code change, not in execution) and dirty way to do this would be to add the following line to the function mode_ver_download_retry_loop at around 4377 of get_iplayer version 2.95. Add the following line after the one "my $retcode;" $hist->add($prog);return; This will never download any program, but will update your history file instead. Now call get_iplayer with whatever programmes you want to have added to your history file and it will be updated. e.g. get_iplayer -g . will add everything that is current to the history file. get_iplayer -g egg will only add programmes that match 'egg' to the history file It will take a long time, and the code to add to the history file is not optimised to do this sort of write since it rewrites the complete history file for each file it finds, and there are doubtless many other ways to do this. Howerver, this does has the advantage of just being a one line change to the current code, though so it's easy to put in place and revert afterwards. Remember to remove the line after you've finished through.... J. _______________________________________________ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer