re-scan and update DB #105

Closed
opened 2026-04-24 22:58:40 +02:00 by adam · 5 comments
Owner

Originally created by @Maximilian85 on GitHub (Nov 27, 2021).

I don't understand when the database is updated and changes in existing audiobooks become current.

For example, I have an audiobook that is incorrectly numbered Part 101-202. Then I change on the server the correct name in the file name and if wrong also in the ID3 tag. When I then re-scan the audiobook it shows me the new filenames but the audiobook is still displayed incorrectly. Only when I go to Manage Tracks and press Save, the new sorting takes over and the issue message disappears. This should actually happen directly during a re-scan.

Edit:
I had a wrong folder structure in a series.

Name/Vol 1 ../Name/.mp3

So each episode was recognized as a separate series.

I have now all copied so that the structure is correct.

Name/Vol 1../.mp3

Now the series is displayed correctly but all other series per folder are displayed after updating the database. Here the old entries should be removed.

Unbenannt

Originally created by @Maximilian85 on GitHub (Nov 27, 2021). I don't understand when the database is updated and changes in existing audiobooks become current. For example, I have an audiobook that is incorrectly numbered Part 101-202. Then I change on the server the correct name in the file name and if wrong also in the ID3 tag. When I then re-scan the audiobook it shows me the new filenames but the audiobook is still displayed incorrectly. Only when I go to Manage Tracks and press Save, the new sorting takes over and the issue message disappears. This should actually happen directly during a re-scan. Edit: I had a wrong folder structure in a series. Name/Vol 1 ../Name/.mp3 So each episode was recognized as a separate series. I have now all copied so that the structure is correct. Name/Vol 1../.mp3 Now the series is displayed correctly but all other series per folder are displayed after updating the database. Here the old entries should be removed. ![Unbenannt](https://user-images.githubusercontent.com/76774860/143719506-61085062-4653-4dfc-aa1f-f757c1e91a5d.png)
adam closed this issue 2026-04-24 22:58:40 +02:00
Author
Owner

@advplyr commented on GitHub (Nov 27, 2021):

You have to manually remove them. If you filter by issues and select all you can batch delete them all at once.

@advplyr commented on GitHub (Nov 27, 2021): You have to manually remove them. If you filter by issues and select all you can batch delete them all at once.
Author
Owner

@Maximilian85 commented on GitHub (Nov 28, 2021):

Thank you, I have now done so, I had assumed that the wrong entries are removed from the database during a re-scan.

Edit:
But deleting the 212 wrong entries took so very long. Even if I could mark and delete everything together, it took almost 1 hour. The page has refreshed in the again and it has always been deleted only 1 issue.

Unbenannt2

@Maximilian85 commented on GitHub (Nov 28, 2021): Thank you, I have now done so, I had assumed that the wrong entries are removed from the database during a re-scan. Edit: But deleting the 212 wrong entries took so very long. Even if I could mark and delete everything together, it took almost 1 hour. The page has refreshed in the again and it has always been deleted only 1 issue. ![Unbenannt2](https://user-images.githubusercontent.com/76774860/143773190-502a741a-165c-411a-955f-ab7df54f61cf.PNG)
Author
Owner

@advplyr commented on GitHub (Nov 30, 2021):

It definitely shouldn't take more than a few seconds, there is something wrong here.
I'm seeing the book is attempting to be removed twice, is there any chance you may have pressed delete multiple times?

I would recommend restarting the server if you haven't already. The database updates should be less than a second and I see yours are taking up to 6 seconds in some cases.

@advplyr commented on GitHub (Nov 30, 2021): It definitely shouldn't take more than a few seconds, there is something wrong here. I'm seeing the book is attempting to be removed twice, is there any chance you may have pressed delete multiple times? I would recommend restarting the server if you haven't already. The database updates should be less than a second and I see yours are taking up to 6 seconds in some cases.
Author
Owner

@Maximilian85 commented on GitHub (Nov 30, 2021):

I marked all 200 entries and then pressed Delete at the top. And I hope only once. I'll restart the container and see if I have the same problems the next time I edit.

@Maximilian85 commented on GitHub (Nov 30, 2021): I marked all 200 entries and then pressed Delete at the top. And I hope only once. I'll restart the container and see if I have the same problems the next time I edit.
Author
Owner

@advplyr commented on GitHub (Dec 17, 2021):

There have been a few updates that may have resolved this. If this is still an issue feel free to re-open this.

@advplyr commented on GitHub (Dec 17, 2021): There have been a few updates that may have resolved this. If this is still an issue feel free to re-open this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#105