Overwriting lower quality files
David Cantrell
david at cantrell.org.uk
Sun Oct 1 06:11:12 PDT 2023
On 30/09/2023 12:05, MrBrunes wrote:
> I've just realised that some of my historical downloads of TOTP are in
> SD or non-50fps HD but the download history doesn't seem to note the
> quality, so I need to force download them again. Since new programmes
> are currently made available each week (for 30d) I thought I could add
> "force 1" to the PVR search for that programme, but then this will
> obvs download files that are already in 50fps. Also it will keep
> downloading files each time they are made available.
>
> I thought of deleting all the TOTP lines in download_history as that
> at least would prevent them from being downloaded again subsequently,
> but I don't know if this is an easy thing to do (can't see if my text
> editor can do this (Notepad++).
>
> Is there a better, more efficient method of doing this?
I have a small script which uses ffmpeg to report what the frame rate
is, and another similar script to report the resolution. You could use
these in another small script of your own to conditionally re-download
only those that aren't in your desired quality:
https://github.com/DrHyde/shellscripts/blob/master/fps
https://github.com/DrHyde/shellscripts/blob/master/ffres
--
David Cantrell
More information about the get_iplayer
mailing list