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.
Empty title when used in crontab, fine when launching directly ( Youtube ) #22967
Comments
|
Just as I was doing this, I realized my cron is executing version 2019.01.17 not the most recent. I will find why and fix it, but this isn't you guys' fault, so nevermind my idiot head. |
arthur@aquarelle /media/arthur/Storage/Series/AniSound : youtube-dl --version
2019.10.29
Verbose log
To show the bug I have to run the script in two different context: in my shell ( works fine ) and from cron ( titles are now missing ... ).
The script I run: https://pastebin.com/U3rJ9zy3 ( located at /media/arthur/Storage/Series/AniSound/playlist.sh ), where you can see how the command is invoqued
Stdout from running that in shell: https://pastebin.com/Qy6NUnm9
Stderr from running that in shell: https://pastebin.com/d9tcB7iZ ( able to extract title no problem, no warning about it )
Stdout from running from cron: https://pastebin.com/2MJ0m5wP
Stderr from running from cron: https://pastebin.com/jDpHHqBG ( you can see it's unable to extract title in this one, but not in the one started from a shell directly ... what ? )
Crontab:
19 21 * * * /media/arthur/Storage/Series/AniSound/playlist.sh
Description
It is perfectly capable of extracting the title when running it directly in a shell ( zsh ), but it is unable to extract the title ( warnings about it, title empty in filenames ) if running from cron. Any idea what could be causing this ? Thank you very much.
Thanks a lot for the awesome work by the way.