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

Don't download same episode again #1

Open
pejg12 opened this issue Mar 7, 2017 · 0 comments
Open

Don't download same episode again #1

pejg12 opened this issue Mar 7, 2017 · 0 comments

Comments

@pejg12
Copy link
Owner

pejg12 commented Mar 7, 2017

Since I like having the episode title in the filename, and SVT are terribly bad with adding such titles, I rename most of my files after they have been downloaded. When running the download script later, to download more recent episodes, I end up with the same episode using a different filename.

The best solution would be to fetch some sort of checksum from SVT servers to prevent the initial download.

A bad workaround would be to download the file, convert it as usual, and then compare the resulting file with the checksums of everything else in the directory. If there's a match, delete the new file to keep the old filename instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant