audiobookshelf
audiobookshelf copied to clipboard
[Bug]: Re-scanning does not update file size
What happened?
The file size displayed on the book summary does not change if the book files are updated. The correct file is displayed in the "Files" tab when editing a book.
What did you expect to happen?
The file sizes of books in their summary should update after updating book files and then re-scanning the library. Re-scanning individual books does not work either.
Steps to reproduce the issue
- Upload a book.
- Change the book files so that the total file size is different.
- File size displayed in book summary does not change and remains the same as when the book was first uploaded.
Audiobookshelf version
v2.11.0
How are you running audiobookshelf?
Docker
What OS is your Audiobookshelf server hosted from?
Linux
If the issue is being seen in the UI, what browsers are you seeing the problem on?
Firefox
Logs
No response
Additional Notes
No response
Can you enable Debug logs and see if the file is being scanned? There should be logs saying whether there were changes.
Logs say the item was scanned and was up to date.
Testing here.... since I'm changing the files from MP3 to M4B....
Prior to the deletion:
After deleting the original MP3 files:
And, adding the new M4B files:
I should probably mention that for me I compressed the files in place, so the filename or extension never changed. I also never deleted the files before replacing them with the compressed version.
I'm not able to reproduce this. Can you share exactly what you are doing to modify the file?