-
Notifications
You must be signed in to change notification settings - Fork 32
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
New environment variable value to avoid animation in download progress #32
Comments
Hey! Thanks a bunch. I'm glad you like it! 🙏
Ah, that's probably because the download progress logging is disabled in non-TTY environments, which I'm guessing is what a Python subprocess would use when it runs the script. We could add another environment variable (something like
Sorry, could you clarify this bit here? What would be included in the final line? Let me know if that suggestion above will work for you! |
Many thanks, lightpohl The new extra environment variable LOG_DOWNLOAD_PROGRESS will fix the issue, but I don't think you really need it. I mean by adding a new value to LOG_LEVEL would be enough so you don't keep adding more and more configuration options. Something like: LOG_LEVEL:
Regards |
Ah, I gotcha. We can do something like that for sure. Instead of incrementing the progress percentage, how about |
Hey! Support for |
Good afternoon, lightpohl, and many thanks for this downloader program. After trying some others, I find yours much more simple and practical.
I'm in the process of creating a python 3 script (that later I will "dockerize") to automate the downloading of my subscriptions and I have a problem when reading the output of your program using subprocess. Somehow, when I call your script using subprocess module in Python by doing:
where plu_cmd is the shell call to your script, I don't get the full stdout output and I precissely miss the animated lines of each episode, where the percentage downloaded is continuously updating.
For that reason I would like to have an extra value for
LOG_LEVEL
environment variable that just printed a final static line.Regards and many thanks in advance for taking it into consideration.
The text was updated successfully, but these errors were encountered: