Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
--embed-thumbnail crashes the program if the file has the wrong type #10500
Comments
|
You should make a PR.
|
As I said, the code is too confusing for me to make a nice PR that isn’t as hacky as the one above. |
|
Is any update there through years? Why this is just ignored, thought the fix is trivial? I got the same issue trying to use |
|
look like |
|
Ignoring errors is not a solution |
|
any explanation? |
|
All your command does is ignore any error. It would ignore errors you may want to catch and stop for. For a single video argument for this issue ignoring the error may be okay, but it's not okay for playlists or multiple video URLs as arguments. |
|
This is exactly what I want for playlists.--ignore-errors |
Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Description of your issue, suggested solution and other information
The program crashes with
--embed-thumbnailsenabled when the file is notmp3/m4a/mp4.I wanted to backup a long playlist over night, but it crashed after video 9.
Invocation:
I wrote a small, dirty patch that prevents the crash:
The nice way would be to catch the exception outside of the class and handle it correctly, but I couldn’t find out where it is called.
It should also be clarified how the semantics should be: does
--embed-thumbnailguarantee that a thumbnail exists in the output? can it embed if there is a thumbnail (then the error should not exist)? does it try its best and skip if it doesn’t work?