Sometimes get file rename error at end of download

Colin Law clanlaw at gmail.com
Sat Nov 25 03:59:08 PST 2017


On 25 November 2017 at 10:57, Nick Payne <njhp94 at gmail.com> wrote:
> Running get_iplayer 3.06 on Win10 x64. Sometimes the rename of the mp4
> file at the end of a download fails. ffmpeg creates the partial.mp4 file
> without any problem, but get_iplayer.pl then fails to rename
> .partial.mp4 to mp4. It's not a permissions problem, else ffmpeg would
> not be able to create the partial.mp4 file.
>
> The problem doesn't happen on every download, maybe one in three. All
> downloads go into the same folder, in which I have full permissions.
> Relevant part of the console output from running with --verbose.
> ...
> ERROR: Could not rename file:
> D:\Users\Nick\Videos\iplayer\Peaky_Blinders-s04e02-Heathens.partial.mp4
> ERROR: Destination file name:
> D:\Users\Nick\Videos\iplayer\Peaky_Blinders-s04e02-Heathens.mp4

After it fails have a look and see if the destination file already
exists with the non-partial name. That would explain why the rename
fails.

Colin



More information about the get_iplayer mailing list