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

Downloading book should always write the associated info.txt #39

Open
HeruEwasham opened this issue Feb 25, 2024 · 2 comments
Open

Downloading book should always write the associated info.txt #39

HeruEwasham opened this issue Feb 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@HeruEwasham
Copy link

Hello.

I see that the first book I have in the backup folder, seems to always redownload when running the backup again, even when the folder has contents in it. Is it some error that makes so the first entry is not shown when checking is if already backuped?

@jvatic jvatic added the bug Something isn't working label Feb 27, 2024
@jvatic
Copy link
Owner

jvatic commented Feb 27, 2024

There a few things that seem likely candidates for this issue:

  1. The file extension of the downloaded book has been changed
  2. There's no info.txt next to it
  3. There's no URL: https://www.audible... in the info.txt

Do any of those appear to be what's happening?

@HeruEwasham
Copy link
Author

The downloaded book has not changed from the .mp4-file extension.

The url in the info.txt file existed. But I tried now to delete the info.txt-file and let the program redownload the book and recreate the info.txt. Then I saw too things:

  1. The url of info.txt changed. Or more correctly, the old url had some more numbers in the url.
  2. When I tried to backup again, it did not try to download it again (i.e the problem went away).

As I see it, it seems that info.txt was not updated (while it maybe should?). Ie. Maybe the info.txt should be updated/recreated each time it want to download the book, even if the info.txt existed already? As it seems that a partly currupted info.txt is to blame.

@jvatic jvatic changed the title First book in the backup-folder is always downloaded Downloading book should always write the associated info.txt Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants