-
Notifications
You must be signed in to change notification settings - Fork 40
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
Help getting yt-dlp to spawn on events? #64
Comments
Indeed, Youtube is breaking everything lately, I'm looking into fixing these errors. Your config file looks good, so I'm wondering if yt-dlp is found in your $PATH. Perhaps try invoking it directly from the same environment just to make sure it can be invoked that way. You could also replace "yt-dlp" with the absolute path to the executable (at |
Thank you for the reply and recommendation, but I'm unfortunately still encountering the same errors while trying to call the config file while directly calling the absolute path to the yt-dlp executable in any/every way I try (from a global common command, from full command line arguments for every monitor/download command listing, with and without quotes around the executable path), but if I force stop (Ctrl+C) the livestream_saver command window while errors are cycling and just paste in the yt-dlp command arguments only into the same command window, yt-dlp will start downloading fragments. So I can get livestream_saver and yt-dlp to work separately but can not get livestream_saver to spawn yt-dlp in any way. |
It works for me on Linux, so I wonder if this only happens on Windows for whatever reason. Unfortunately I don't have a Windows machine to test on right now. I suggest running with debug log level and making sure the "Triggered event hook" line appears wherever yt-dlp should be called. |
Hmm, tested with the debug log level and none of the words "trigger/event/hook" ever appears... |
Help getting yt-dlp to spawn on events (Windows OS)?
I've never looked into using the advanced options of the config file before because the simple command line arguments have always successfully downloaded streams, but recently I'm encountering more and more failed downloads that is now forcing me to look into the advanced options of the config file to try to see if spawning yt-dlp for all downloading events could be more reliable.
I'm not having any success at spawning yt-dlp on any events though and because I'm so unfamiliar with these advanced options I don't know if it's a problem on my end or not, being a user error on my part or not; or the problems I'm encountering trying to do this has to do with the recent known errors just posted about, but I would have thought spawning yt-dlp would bypass those errors...
I would like to spawn yt-dlp for both monitor.py and download.py, and for any and all instances of downloading, pending streams and active streams.
If anyone can currently successfully spawn yt-dlp to download on Windows OS, could you please explain in detail how you're executing it?
Thank you, regards!
Snippet of the most recent failed download error I've encountered without using a config file and the following command:
python livestream_saver.py monitor --max-video-quality 720 --output-dir "C:\Users\USEREDITED\Desktop\livestream_saver-main\Downloads" --channel-name "NAMEEDITED" --delete-source --scan-delay 10.0 URLEDITED
Status of installed requirements:
Custom edited livestream_saver.cfg file:
Results of custom config w/ monitor command for active stream:
Results of custom config w/ download command for active stream:
The text was updated successfully, but these errors were encountered: