[Enhancement]: On upload of book or podcast change behavior after [AudioFileScanner] #2393

Open
opened 2026-02-20 10:18:51 -05:00 by deekerman · 0 comments
Owner

Originally created by @lethalox on GitHub (Dec 4, 2024).

Type of Enhancement

Web Interface/Frontend

Describe the Feature/Enhancement

If you upload book, and it is scanned I occasionally see Errors in the log such as the following:

2024-12-04 20:05:15.365 ERROR [AudioFileScanner] Invalid data found when processing input : "/audiobooks/....

The file does not appear in the library nor is there any notification under the activities bell that there was a problem. Additionally the book file(s) are uploaded into the directory structure. So the user will receive a different problem if they try to upload the content again. The should be a notification that was an error in the loading the content that is visible to the end user. And there should better experience around what happens to the content after failure. Options that I see are:

  1. Remove the content from the file system
  2. Create Library entry and have the ability to adjust the content item and files from item details page.
  3. Adjust upload page so the success indication does appear until the item appears in the library. Could also provide options on how handle.

There may be others. I am new to ABS, so if there is feature or bug ticket on this please forgive. Lastly it would be better to have more descriptive errors from [AudioFileScanner]. Several books where I have seen this behavior play fine in other programs and it unclear what is causing the issue with file scanner. I can provides files for inspection.

Why would this be helpful?

It would help with the adding of content to ABS when an error condition arises.

Future Implementation (Screenshot)

Indication on the full status of the upload on to ABS, not just that ABS has received the files.

Audiobookshelf Server Version

v2.17.3

Current Implementation (Screenshot)

Logs Page, Upload Page, Library Page

Originally created by @lethalox on GitHub (Dec 4, 2024). ### Type of Enhancement Web Interface/Frontend ### Describe the Feature/Enhancement If you upload book, and it is scanned I occasionally see Errors in the log such as the following: `2024-12-04 20:05:15.365 ERROR [AudioFileScanner] Invalid data found when processing input : "/audiobooks/....` The file does not appear in the library nor is there any notification under the activities bell that there was a problem. Additionally the book file(s) are uploaded into the directory structure. So the user will receive a different problem if they try to upload the content again. The should be a notification that was an error in the loading the content that is visible to the end user. And there should better experience around what happens to the content after failure. Options that I see are: 1. Remove the content from the file system 2. Create Library entry and have the ability to adjust the content item and files from item details page. 3. Adjust upload page so the success indication does appear until the item appears in the library. Could also provide options on how handle. There may be others. I am new to ABS, so if there is feature or bug ticket on this please forgive. Lastly it would be better to have more descriptive errors from [AudioFileScanner]. Several books where I have seen this behavior play fine in other programs and it unclear what is causing the issue with file scanner. I can provides files for inspection. ### Why would this be helpful? It would help with the adding of content to ABS when an error condition arises. ### Future Implementation (Screenshot) Indication on the full status of the upload on to ABS, not just that ABS has received the files. ### Audiobookshelf Server Version v2.17.3 ### Current Implementation (Screenshot) Logs Page, Upload Page, Library Page
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/audiobookshelf-advplyr#2393
No description provided.