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.
Recursively delete temp files [Soundcloud] #10329
Comments
|
Temporary files are intended to be kept so that people can analyze why the whole process fails. Could you paste your command(s) and outputs? |
|
@yan12125 Ill see if I can find the logs, but the way I download soundcloud playlist / tracks is, I have a cron job that runs every hour or so and downloads my soundcloud likes and other stuff, so I do not manually do it. The command it runs everyhour for my likes is this I deleted some temp files and made it so cronjob puts a log in /var/log/cron.log, hopefully ill get results soon |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.08.12. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
For some reason, when downloading a users tracks from soundcloud, I will get tons of temp files that will never fix themselves or go anywhere.
For example, the files that would be left from failing to download one track would be Song.jpg, song.temp.mp3, and song.mp3.
Does youtube-dl have any native function to recursively delete all these files from a folder? There is too many temporaryfiles to do something like rm song.* for each one, and I would not know how else to fix them. When trying to play the song.mp3 it fails to play, and now that I look at the three files, everything but the song.jpg is 0 bytes.