[Enhancement]: When uploading a new Audiobook, also providing ISBN or ASIN to fill in metadata #198

Open
opened 2026-02-20 09:40:10 -05:00 by deekerman · 8 comments
Owner

Originally created by @kucksdorfs on GitHub (Feb 2, 2022).

Describe the feature/enhancement

As an AudioBook Shelf Admin, when adding a new book, I want to be able to provide ISBN and/or ASIN, so that the correct folder structure and metadata is set on the book.

Currently trying to upload ~500 audiobooks that all have the asin as a part of their file name (%NAME OF BOOK% (%ASIN%).m4a). I don't have a problem uploading the books one at a time (although a muli-uploader with some kind of regex to pull out significant data would be nice), but I would like set metadata once (preferably at upload time).

Originally created by @kucksdorfs on GitHub (Feb 2, 2022). ### Describe the feature/enhancement As an AudioBook Shelf Admin, when adding a new book, I want to be able to provide ISBN and/or ASIN, so that the correct folder structure and metadata is set on the book. Currently trying to upload ~500 audiobooks that all have the asin as a part of their file name (%NAME OF BOOK% (%ASIN%).m4a). I don't have a problem uploading the books one at a time (although a muli-uploader with some kind of regex to pull out significant data would be nice), but I would like set metadata once (preferably at upload time).
Author
Owner

@advplyr commented on GitHub (Feb 3, 2022):

In order for this to work the scanner would have to be built to support a custom regex to parse file/folder names.
I've been considering it, but it also may be outside the scope of this project. It may be better suited for a future plugin.

The best way to get the ASIN/ISBN into Abs is to put it in the audio file metadata and not the filename. https://www.audiobookshelf.org/docs#metadata

@advplyr commented on GitHub (Feb 3, 2022): In order for this to work the scanner would have to be built to support a custom regex to parse file/folder names. I've been considering it, but it also may be outside the scope of this project. It may be better suited for a future plugin. The best way to get the ASIN/ISBN into Abs is to put it in the audio file metadata and not the filename. https://www.audiobookshelf.org/docs#metadata
Author
Owner

@kucksdorfs commented on GitHub (Feb 3, 2022):

Yeah, that's understandable.

Would it be possible to add a ASIN/ISBN textbox and a search button when uploading an audiobook that would fill in the metadata? Right now I need to upload the book, fill in the title and author, then edit each book and fill in the ASIN on the Match tab.

It would be nice if, when uploading, I could just fill in the ASIN/ISBN as I am uploading the audiobook.

@kucksdorfs commented on GitHub (Feb 3, 2022): Yeah, that's understandable. Would it be possible to add a ASIN/ISBN textbox and a search button when uploading an audiobook that would fill in the metadata? Right now I need to upload the book, fill in the title and author, then edit each book and fill in the ASIN on the Match tab. It would be nice if, when uploading, I could just fill in the ASIN/ISBN as I am uploading the audiobook.
Author
Owner

@advplyr commented on GitHub (Feb 3, 2022):

Right now the uploader is just creating the folder structure and adding the files. The added files will trigger the scanner which parses the filenames and metadata to fill in the details.
We may need to create a new metadata text file format that the scanner can parse. The OPF files are not easy to work with, so maybe Abs should just set a new standard for that.

@advplyr commented on GitHub (Feb 3, 2022): Right now the uploader is just creating the folder structure and adding the files. The added files will trigger the scanner which parses the filenames and metadata to fill in the details. We may need to create a new metadata text file format that the scanner can parse. The OPF files are not easy to work with, so maybe Abs should just set a new standard for that.
Author
Owner

@kucksdorfs commented on GitHub (Feb 3, 2022):

That makes sense.

What about a setting that automatically launches the Editor dialog after upload? That way an upload can take place, and then a second "transaction" of editing the metadata.

@kucksdorfs commented on GitHub (Feb 3, 2022): That makes sense. What about a setting that automatically launches the Editor dialog after upload? That way an upload can take place, and then a second "transaction" of editing the metadata.
Author
Owner

@kucksdorfs commented on GitHub (Feb 19, 2022):

@advplyr What's the feasibility of of adding an "upload then edit" button? That way when the upload finishes it will automatically launch the edit dialog. Or do you want that in a separate issue (closing this one).

@kucksdorfs commented on GitHub (Feb 19, 2022): @advplyr What's the feasibility of of adding an "upload then edit" button? That way when the upload finishes it will automatically launch the edit dialog. Or do you want that in a separate issue (closing this one).
Author
Owner

@advplyr commented on GitHub (Feb 19, 2022):

I think the best way to handle this is to introduce a metadata text file format that the scanner can parse.
So when uploading a book you enter all the details you want and it will create a metadata file in the same folder that the scanner will pick up and use.
I already sort of started on the metadata file, it will look similar to an ffmpeg metadata file.

@advplyr commented on GitHub (Feb 19, 2022): I think the best way to handle this is to introduce a metadata text file format that the scanner can parse. So when uploading a book you enter all the details you want and it will create a metadata file in the same folder that the scanner will pick up and use. I already sort of started on the metadata file, it will look similar to an ffmpeg metadata file.
Author
Owner

@genebean commented on GitHub (Jun 26, 2022):

Along these same lines, can we have a place to enter the book's number within a series so that it is sure to get processed correctly?

@genebean commented on GitHub (Jun 26, 2022): Along these same lines, can we have a place to enter the book's number within a series so that it is sure to get processed correctly?
Author
Owner

@genebean commented on GitHub (Jun 26, 2022):

While looking at this, if it doesn't do it already, it would be nice if the web uploader auto trimmed leading and trailing space from each field to compensate for copy/paste errors

@genebean commented on GitHub (Jun 26, 2022): While looking at this, if it doesn't do it already, it would be nice if the web uploader auto trimmed leading and trailing space from each field to compensate for copy/paste errors
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#198
No description provided.