audible-downloader icon indicating copy to clipboard operation
audible-downloader copied to clipboard

Downloading book should always write the associated info.txt

Open HeruEwasham opened this issue 4 months ago • 2 comments

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?

HeruEwasham avatar Feb 25 '24 20:02 HeruEwasham

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?

jvatic avatar Feb 27 '24 01:02 jvatic

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.

HeruEwasham avatar Feb 27 '24 16:02 HeruEwasham