I have a large collection of audio books & use AMC to catalogue them. See below, but it's all configuration, not code.
I have a request for the scripting geniuses out there.
Given the following information:
Author
Title
Series
Series index
Grab a description & URL from https://www.fantasticfiction.com/
Thus:
Faith Martin
Murder on the Oxford Canal
Hillary Greene
1
returns
https://www.fantasticfiction.com/m/fait ... -canal.htm
and the preview
I would like it to work in the same manner as the IMDB script.
- RIGHT! I'm off to have a go, but I'm not any sort of coder and this looks complicated!
Thanks for reading!
+++++++++++++++++++
How to catalogue your Audio Books.
This does not tag your MP3 files. You must do that yourself.
Using MP3Tag & Ant Movie Catalog
https://www.mp3tag.de/en/
https://antp.be/software/moviecatalog
Goals
1. To be able to list books by Author
2. To be able to list books by Title
3. To be able to list books by Series
4. To show the file path to the selected book.
Preparation
(Obviously!) Download and install the two required applications.
Prepare Ant Movie Catalog
You're going to add two custom fields
Franchise (or Series)
Franchise Number
To be safe, select a NEW database to work in.
In the right pane, Select the "Custom Fields" tab
Right click in that pane & select "Add a custom field" - The Custom fields manager opens.
In the TAG field, enter "Franchise" and click the plus sign located to the right of the text entry. This can be of type "String". Click OK
Right click the pane again & select "Add a custom field" - The Custom fields manager opens.
In the TAG field, enter "Number" and click the plus sign located to the right of the text entry. Recommend that this be of type "Real (1 Decimal)". Click OK
Select the "All Fields" tab
You can now manually add details of an audiobook,
Recommended fields.
Author maps to "Writer"
Title maps to "Original Title"
File location maps to "File Path" (you may have to expand fields, there is a tiny "+" sign that opens more fields & "File Path" is one of them.
Series maps to "Franchise"
Number in series maps to "Number"
We will deal with importing data later. (***)
Now configure MP3Tag
In the VIEW menu, select "Customise Columns"
Select the NEW button
Name "Series"
Value "%grouping%"
Field "%grouping%"
Select OK
(We're going to use this MP3 tag as the "Series" field.)
Add DISCNUMBER in a similar manner. If you already use this field, select another likely field. This will be ised as the "Number in the series".
Now, edit the MP3 Tags in your library accordingly.
Add an Export Configuration. File menu, Select EXPORT
Click the NEW icon in the export dialogue.
Give your configuration a name
Edit the config with the code below - I'm sure this can be improved.
Save the file.
Give the export file a name & path. You can hit cancel at this point without losing your export config.
After editing the tags to your liking in MP3Tag, select all the files, CTRL+A is your friend.
In the File Menu (of MP3Tag) select EXPORT (or Ctrl+E) Select your new export config file. Hit OK to export.
++++++++++++++++++++++++++++
$filename(txt,utf-8)
%album%
$loop(%artist%,1)
$loop(%album%,1)%artist%;%album%;%grouping%;%DiscNumber%;%_filename_rel%;
$loopend()
$loopend()
++++++++++++++++++++++++++++
(***) Import tags to the Ant Movie catalog database.
Notes
I use XML as the filetype to save the ANT database. This allows me to do quick & dirty changes using a text editor.
I use one database per person, IE One for me, one for my wife.
I import new books as I get them, then the task is not too great.
I import one author at a time.
Command line to open a particular database. Adjust paths & filemanes to suit yourself.
"C:\Program Files (x86)\Ant Movie Catalog\MovieCatalog.exe" "H:\My Documents\Movies\mp3s.xml"
In ANT Movie Catalog (AMC), File Menu, select IMPORT
Select "CSV Text/Excel"
Select the Exported tags file created earlier.
Untick lines you don't want imported. (Told you that the code could be improved!)
In the Header line of the table, select each column in turn.
For Author, select "Movie Fields"--> "Writer"
For Title, select "Movie Fields"--> "Original Title"
For Series, select "Custom Fields"--> "Franchise"
For Series Number select "Custom Fields"--> "Number"
For file location, select "Movie Fields"--> "File Path"
Click IMPORT, & import your data
You can now use AMC's great sorting & searching tools to find your books!
+++++++++++++++++++