Skip to content
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

Option to not download same file twice #63

Open
15532th opened this issue Jun 22, 2022 · 1 comment · May be fixed by #64
Open

Option to not download same file twice #63

15532th opened this issue Jun 22, 2022 · 1 comment · May be fixed by #64
Labels
enhancement New feature or request

Comments

@15532th
Copy link

15532th commented Jun 22, 2022

In situation when space ended but still available for replay, running twspace_dl -U more than once will result in .m4a file being downloaded again and replacing already existing one. If systemd unit with RestartSec=15 is used, new download will be started as soon as old one finishes the entire time space stays available.

Checking if file with given name already exists before starting download would prevent this from happening. yt-dlp also has --download-archive option, which maintains list of id of successful downloads and skips over them if called twice.

@15532th 15532th linked a pull request Jun 22, 2022 that will close this issue
@Ryu1845 Ryu1845 added the enhancement New feature or request label Jun 25, 2022
@jim60105
Copy link
Contributor

jim60105 commented Oct 3, 2022

Using docker-compose to monitor user also encountered the same problem.
@Ryu1845 I think #64 should be reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants