New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Escape all metadata params passed into ffmpeg when using '--add-mp3-metadata' #60
Comments
Thanks for the report! Looks like we need to escape the parameters passed into If you want to avoid the error for now, you can simply drop that flag from your run for that podcast feed and you should be okay! |
Try out the latest version and see how it goes on that Patreon feed! https://github.com/lightpohl/podcast-dl/releases/tag/v9.2.1 |
Thanks |
i just tryd it and got this error
|
Ah, okay! I think this is probably OS/prompt specific. Mind answering a couple questions for me?
|
windows binary |
btw i love this tool thanks for all ur hard work |
Thank you! I'll recreate on Windows and get a better patch out — one last question: Command Prompt or PowerShell to run it? |
Command Prompt |
Okay! Updated the script so slightly less info is copied over in the metadata in Windows depending on how complex the escape sequence is. Give this new version a shot! |
'amp' is not recognized as an internal or external command,
operable program or batch file.
The 12 Deaths of Christmas - Day 1 | Error downloading episode: Error: Command failed: ffmpeg -loglevel quiet -i "D:\Media\Podcasts\The Amelia Project Patreon Feed\20231225-The 12 Deaths of Christmas - Day 1.mp3" -map_metadata 0 -metadata album="The Amelia Project Patreon Feed" -metadata title="The 12 Deaths of Christmas - Day 1" -metadata comment="<p>\"For the next two weeks this case will take over our lives!\"</p><p><img data-media-id=\"258530827\"></p><p>WISHING YOU THE HAPPIEST OF HOLIDAYS dear patrons!</p><p>We'll be accompanying you over the next two weeks with daily instalments of the bonus miniseries <strong>The 12 Deaths of Christmas.</strong></p><p>It chronicles one of the most bonkers cases The Amelia Project has ever taken on. Tune in daily for the spiralling chaos...</p><p>If you haven't done so yet, do check out the <a href=\"https://www.patreon.com/posts/taking-you-93046568?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=postshare_creator&utm_content=join_link\">patron exclusive Behind the Scenes video for this series! </a></p><p>We will be collecting three pledges for this miniseries, one in December, two in January. Thank you so much for your support and allowing us to keep making this show!</p><p>Happy listening! Love & Cocoa!</p><p>The Amelia Team 💝</p><p>Website: <a href=\"https://ameliapodcast.com/\" rel=\"nofollow noopener\" target=\"_blank\">https://ameliapodcast.com/</a></p><p>Transcripts: <a href=\"https://ameliapodcast.com/season-5\" rel=\"nofollow noopener\" target=\"_blank\">https://ameliapodcast.com/season-5</a></p><p>Merch: <a href=\"https://www.teepublic.com/stores/the-amelia-project?ref_id=6148\" rel=\"nofollow noopener\" target=\"_blank\">https://www.teepublic.com/stores/the-amelia-project?ref_id=6148</a></p><p>Instagram: <a href=\"https://www.instagram.com/ameliapodcast/\" rel=\"nofollow noopener\" target=\"_blank\">https://www.instagram.com/ameliapodcast/</a></p><p>Tumblr: <a href=\"https://www.tumblr.com/ameliapodcast\" rel=\"nofollow noopener\" target=\"_blank\">https://www.tumblr.com/ameliapodcast</a></p><p>X: <a href=\"https://twitter.com/amelia_podcast\" rel=\"nofollow noopener\" target=\"_blank\">https://twitter.com/amelia_podcast</a></p><p>Bluesky: <a href=\"https://bsky.app/profile/theameliaproject.bsky.social\" rel=\"nofollow noopener\" target=\"_blank\">https://bsky.app/profile/theameliaproject.bsky.social</a></p>" -metadata track="157" -metadata date="2023-12-25" -codec copy "D:\Media\Podcasts\The Amelia Project Patreon Feed\20231225-The 12 Deaths of Christmas - Day 1.mp3.tmp.mp3"
The text was updated successfully, but these errors were encountered: