-
Notifications
You must be signed in to change notification settings - Fork 7
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
youtube-dl wrapper breaks when using absolute paths #18
Comments
You made 2 issues (accidentally?). Might want to close the other one. The ytdl wrapper is a very simple implementation. It has a lot of issues and should be deprecated imo. The fix for this issue is not as easy as you might think. Care must be taken to ensure that the filename ends up as I would recommend using my fork yt-dlp instead since it has direct integration with this project. This issue as well as #17 will not exist for it. Also, you can download and scrub whole playlists/channels in batch |
"You made 2 issues (accidentally?). Might want to close the other one." "The ytdl wrapper is a very simple implementation. It has a lot of issues and should be deprecated imo." "Care must be taken to ensure that the filename ends up as test-skrubbed.mp4 and not test.mp4-skrubbed." "I would recommend using my fork yt-dlp" |
The wrapper also just uses an inline script to call
You can just modify this with your shell script
|
Hello there! I presume you were setting the output filename using youtube-dl's Nonetheless using @pukkandan's fork is still a good idea. That's not to say I'm deprecating
Funnily enough |
good to know that this issue is being fixed. I ended up adopting youtube-dlp as a fix and its working fine for now. |
when working with absolute paths (and tools that require them like tsp), the tool will break due to an appending of skrubbed- to the begining of the URI. This causes issues by making the URI for mv or ffmpeg to be skrubbed-/home/user/.... The reason for this is that the wrapper relies on youtube-dl's exec command and appending directly to the end of the file. A fix could be appending skrubbed to the middle of the file (i.e test-skrubbed.mp4 from test.mp4). The current nature of how this tool is set up makes it impossible to use with non-relative paths or tools that reqire them without tons of hacking.
The text was updated successfully, but these errors were encountered: