Post by RSFrom: Ralph Corderoy
Sent: Wednesday, December 6, 2017 2:08 PM
Post by Ralph CorderoyThat just means get_iplayer is ignoring the failure to remove the file
rather that report it to you. A quick skim of all the `unlink' function
calls show none have their return value checked.
Hi Ralph and Nick
What level of error reporting is being used? The default (since v3.06)
--ffmpeg-loglevel=fatal
does not even report running out of disk space for the output file.
If you use
--ffmpeg-loglevel=info or --ffmpeg-loglevel=verbose
it may tell you what the error is.
Running get_iplayer with --verbose may also help to narrow down where
the failure is occurring.
Doesn't look as though using --verbose gives any information to help
with the problem. Here's the last part of the console output from
downloading the latest Peaky Blinders episode with --verbose. The output
folder at the end of the download still contains the .dash.m4v and
-temp-32694.mp4 files as well as the expected .mp4 file.
===============================================================
INFO: Converting to MP4
INFO: Command: "ffmpeg" "-loglevel" "fatal" "-stats" "-y" "-i"
"D:\Users\Nick\Videos\Peaky_Blinders-s04e04-Dangerous.dash.m4a" "-i"
"D:\Users\Nick\Videos\Peaky_Blinders-s04e04-Dangerous.dash.m4v" "-c:v"
"copy" "-c:a" "copy" "-map" "0:a:0" "-map" "1:v:0"
"D:\Users\Nick\Videos\Peaky_Blinders-s04e04-Dangerous.partial.mp4"
frame=172416 fps=34275 q=-1.0 Lsize= 1741151kB time=00:57:28.29
bitrate=4136.4kbits/s speed= 685x
INFO: Command exit code 0 (raw code = 0)
INFO: Loading recordings history
INFO: Downloading thumbnail
INFO: Getting URL:
Loading Image...INFO: Tagging MP4
INFO: Command: "AtomicParsley"
"D:\Users\Nick\Videos\Peaky_Blinders-s04e04-Dangerous.mp4" "--freefree"
"--overWrite" "--stik" "TV Show" "--advisory" "remove" "--copyright"
"2017 British Broadcasting Corporation, all rights reserved" "--title"
"Dangerous" "--artist" "BBC Two" "--albumArtist" "BBC TV" "--album"
"Peaky Blinders: Series 4" "--grouping" "Drama,Crime,Classic & Period"
"--composer" "BBC iPlayer" "--genre" "Drama" "--comment" "Tommy's
enemies edge nearer as an old friend makes a welcomed return." "--year"
"2017-12-06T21:00:00Z" "--tracknum" "4" "--disk" "4" "--lyrics" "The
Peaky Blinders are lured by the Italians into a cat-and-mouse chase on
the streets of Birmingham, where it becomes clear that Tommy has met his
match. Trapped in Small Heath, Tommy tries to console himself with a
visit from an old flame but it soon becomes clear that he can't always
get what he wants.
As his factory lies idle, Tommy confronts the possibility that the
Communists might win and he will be deemed a traitor to his class.
Meanwhile, Changretta prepares to spring another trap.
EPISODE
http://www.bbc.co.uk/iplayer/episode/b09j0hxs
SERIES
http://www.bbc.co.uk/programmes/p05hgs13" "--description" "Tommy's
enemies edge nearer as an old friend makes a welcomed return."
"--longdesc" "The Peaky Blinders are lured by the Italians into a
cat-and-mouse chase on the streets of Birmingham, where it becomes clear
that Tommy has met his match. Trapped in Small Heath, Tommy tries to
console himself with a visit from an old flame but it soon becomes clear
that he can't always get what he wants.
As his factory lies idle, Tommy confronts the possibility that the
Communists might win and he will be deemed a traitor to his class.
Meanwhile, Changretta prepares to spring another trap." "--hdvideo"
"true" "--TVShowName" "Peaky Blinders: Series 4" "--TVEpisode" "s04e04"
"--TVSeasonNum" "4" "--TVEpisodeNum" "4" "--TVNetwork" "BBC Two"
"--artwork" "D:\Users\Nick\Videos\Peaky_Blinders-s04e04-Dangerous.jpg"
Started writing to temp file.
Progress: ======================================================> 98% -|
Finished writing to temp file.
INFO: Command exit code 0 (raw code = 0)
D:\Users\Nick>
===============================================================