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
Deleting a file from HDD, but Tartube redownloads it #154
Comments
youtube-dl doesn't know anything about Tartube's database. It also doesn't know anything about videos you have deleted. It simply downloads videos if they don't already exist on your hard drive. There are two solutions, choose whichever one you like:
|
No, but I will add that functionality.
Perhaps you can test this. Make sure archive files are turned on. Add a channel with few videos. (I use this random channel for testing, but you can use any channel). Download all the videos. Now examine the archive file,
Now delete everything in the channel's folder, except the archive file. Now download the channel again. Do you see this? |
The archive said:
I deleted the files but didn't touch the textfile, and redownloaded:
Update: I disabled the "'add videos which have been removed from a channel' in the youtube-dl preference panel and got:
So it would appear that the missing video feature is breaking the archive teztdfile feature? |
I tested this, and there are a few weird things going on. For example, if I right-click a channel and download just the channel, the archive file isn't used at all (but should be). It might be a few days before I can test and fix this properly. |
No worries! Thank you for all the time you put into this. Really great software! |
v2.2.0 fixes the archive file issue. Tartube uses the archive file in the same way, regardless of whether missing file detection is enabled, or not. v2.2.0 adds the ability to schedule custom downloads. In a future release I will make the scheduled downloads completely customisable (so scheduled downloads will apply to all channels, or just a few channels, and you can add as many scheduled downloads as you like); but I ran out of time during this release. |
I deleted a lot of videos from folders directly from the HDD (on purpose). However, to my surprise when Tartube ran next, it had downloaded all those channels again. Is that an intended feature to automatically check if a video was downloaded before in Tartube's database vs what's actually on the HDD?
Would be nice to have the ability to delete the video. I usually upload them to the cloud and delete the local copy. I'd rather not have it keep redownloading them!
The text was updated successfully, but these errors were encountered: