Skip to content

Commit e7640d2

Browse files
committed
Optimized Guide
Simplified Action Script
1 parent c15520a commit e7640d2

5 files changed

+57
-108
lines changed

README.md

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Plex & Booksonic Audiobook Guide
2-
This guide is specifically for optimal Audiobook experience using Plex, which in it's current state only quasi-supports audiobooks. This is my method for getting the most metadata into Plex in the least amount of time. I'll be doing a deep dive into some advanced features of the tools available to us in order to get a nice, clean, and functional UI. This guide is meant to serve as a framework for fully utilizing metadata.  Everything is customizable, and easy to change.
2+
This guide is specifically for optimal Audiobook experience using Plex, which in it's current state only quasi-supports audiobooks. This is my method for processing large libraries with bad/missing tags as quick as possible while getting the most metadata into Plex in the least amount of time. I'll be doing a deep dive into some advanced features of the tools available to us in order to get a nice, clean, and functional UI. This guide is meant to serve as a framework for fully utilizing metadata.  Everything is customizable, and easy to change. While focused on Plex, if you follow the tagging and file processing steps you will also be compatible with Booksonic and AudiobookShelf servers.
33

4-
***Note**: This guide targets and has been tested on Windows systems. Most of it also works on Unix but Mp3tag only exists for Windows. For workarounds see [issue #2](/../../issues/2).*
4+
***Note**: This guide targets and has been tested on Windows systems. Most of it also works on Linux/Mac but the Mp3tag Audible WebSource script only works on Windows. For workarounds see [issue #2](/../../issues/2).*
55
### Contents
66
* [Goal](#goal)
77
* [Working Folders](#working-folders)
@@ -23,7 +23,11 @@ This guide is specifically for optimal Audiobook experience using Plex, which in
2323
* [Notes](#notes)
2424

2525
### Goal
26-
Show as much metadata as possible in Plex & Booksonic.  Filter/browse/search by Narrator, Author, Genre, Year, Series, Rating, or Publisher.  Show Album Covers and Summary's. Make the organizing and tagging as quick and painless as possible.
26+
Show as much metadata as possible in Plex & Booksonic.  Filter/browse/search by Narrator, Author, Genre, Year, Series, Rating, or Publisher.  Show Album Covers and Summary's. Make the organizing and tagging as quick and painless as possible. We need to do these 4 general steps:
27+
0. (Optional) Convert mp3's to chapterized m4b.
28+
1. Ensure the ALBUM and ALBUMARTIST (or ARTIST) tags are set and correct.
29+
2. Install the Audnexus Audible Metadata Agent in Plex.
30+
3. Use a 3rd party Audiobook player app such as BookCamp or Prologue.
2731

2832
![Plex Library View](https://i.imgur.com/k4up0ao.jpg)
2933
<p float="left">
@@ -177,10 +181,8 @@ If you use both Linux and Windows, I have a Linux script that watches your `/ori
177181
* Click `Yes` to merge/overwrite files
178182

179183
#### Edit the newly copied config files with your specific paths
180-
* Right click the following provided config files and OPEN WITH Notepad++
181-
* `%APPDATA%\Mp3tag\data\action\1 m4b.mta` Update lines 3, 15, 22 with the path to your Plex `\Audiobook` folder
182-
* `%APPDATA%\Mp3tag\data\action\001.mta` Update lines 3, 15, 22 with the path to your Plex `\Audiobook` folder
183-
* `%APPDATA%\Mp3tag\data\action\01.mta` Update lines 3, 15, 22 with the path to your Plex `\Audiobook` folder
184+
* Right click the following provided config files and OPEN WITH Notepad++
185+
* `%APPDATA%\Mp3tag\data\action\&1 Rename Relocate Extras Title.mta` Update lines 3, 15, 22 with the path to your Plex `\Audiobook` folder
184186
* `%APPDATA%\Mp3tag\export\001 Generate.mte` Update line 1 with your windows username `C:\Users\your-username-here\...`
185187
* `%APPDATA%\Mp3tag\export\desc.mte` Update line 1 with the path to your Plex `\Audiobook` folder
186188
* `%APPDATA%\Mp3tag\export\reader.mte` Update line 1 with the path to your Plex `\Audiobook` folder
@@ -238,15 +240,13 @@ Your New Action should look like this:
238240
#### Test
239241
* Put an audiobook file for testing in your `\temp` folder
240242
* Open Mp3tag and select all files for that book
241-
* `Ctrl-k` and set/fix the Track Numbering
243+
* `Ctrl-k` and set/fix the Track Numbering if applicable
242244
* Click the Web Sources drop down button, select Audible.com > Search by Album
243245
![alt text](https://i.imgur.com/Q4ySYh2.png "Web Source Select")
244-
* Click the Action drop down button, select the Action that corresponds with the number of files
245-
![alt text](https://i.imgur.com/knf3ATb.png "Filename-Folder-Cover")
246-
You have three different actions to use depending on the number of files the book has;
247-
* For a single track, use the 1 m4b Action. This Action does *not* append a `-pt01` to the end of the filename.
248-
* For 2-99 tracks, use the 01 Action. It will append `-pt01` to the end of the filename.
249-
* For 100-999 tracks, use the 001 Action. It will append `-pt001` to the end of the filename.
246+
* Click the Action drop down button, select the `&1 Rename Relocate Extras Title` Action
247+
![alt text](https://i.imgur.com/OMRONbp.png "Filename-Folder-Cover")
248+
249+
> Note: After selecting the Web Source manually for the first time we can then use the keyboard shortcut `ctrl+shift+i` to call it moving forward. Likewise the action script can be called using `alt+a 1`.
250250
251251
<!-- blank line -->
252252
----
@@ -301,9 +301,9 @@ Now that the hard part of setting everything up is out of the way, this is what
301301
2. `Ctrl-k` Set/fix the track numbers
302302
3. `Ctrl-shift-i` or Click the Web Source (quick) button
303303
![alt text](https://i.imgur.com/AjJbUqE.png "Tag Source")
304-
4. Click the Action drop down button, select the Action that corresponds with the number of files
305-
![alt text](https://i.imgur.com/knf3ATb.png "Filename-Folder-Cover")
306-
5. This does not set the Title tag, which Plex uses as the Chapter Name. There are two easy options to set this:
304+
4. `Alt-a 1` or Click the Action drop down menu
305+
![alt text](https://i.imgur.com/OMRONbp.png "Filename-Folder-Cover")
306+
5. This does not set the TITLE tag for multifile books. Plex uses TITLE as the Chapter Name. There are two easy options to set this:
307307
* Click the `Filename - Tag` button, `Format String=` `%Title%`, this will set the filename as the Chapter name.
308308
* Click the Action drop down, select `Chapter %track%` which will give you a generic "Chapter 1, Chapter 2, ..."
309309
<!-- blank line -->
@@ -315,7 +315,6 @@ Now that the hard part of setting everything up is out of the way, this is what
315315
* `Ctrl-Shift-i` Use if the Album and Artist tag look to be ok, this will bypass the search input dialog box and bring you straight to the results.
316316
* If the Author is also the Narrator make sure you delete the duplicate entry in the Artist field. The script automatically combines the Author and Narrator (ex. `Peter Clines, Ray Porter`) in the Artist tag, which Plex uses as a "All Artists on this track" tag. Combining these tags for the Artist helps when searching Plex.
317317
* Try to only keep 1 cover file in the tag, when the script asks if you want to save the existing cover, say "**No**". If you happen to like the included cover over Audibles, in the Tag Review screen you can click the "Utils" button (bottom left) and UNCHECK "Save Image to Tag", but *make sure you remember to recheck this on the next book*.
318-
* In Plex; If the Audiobook agent matches two different books as the same book, which will look like a duplicate in Plex, Unmatch BOTH books and start by manually matching the incorrect book, then manually re-match the book that was correct.
319318

320319
<!-- blank line -->
321320
----
@@ -344,9 +343,9 @@ I did a lot of digging into ID3 standards and this was the best way I could come
344343
| `WOAF` (WWWAUDIOFILE) | Audible Album URL|
345344
| `stik` (ITUNESMEDIATYPE) | M4B Media type = Audiobook |
346345
| `pgap` (ITUNESGAPLESS) | M4B Gapless album = 1 |
347-
| 'shwm' SHOWMOVEMENT | Show Movement (M4B), if Series then = 1 else blank|
348-
| `MVNM` MOVEMENTNAME | Series |
349-
| `MVIN` MOVEMENT | Series Book # |
346+
| `shwm` (SHOWMOVEMENT) | Show Movement (M4B), if Series then = 1 else blank|
347+
| `MVNM` (MOVEMENTNAME) | Series |
348+
| `MVIN` (MOVEMENT) | Series Book # |
350349
| `TXXX` (SERIES)** | Series |
351350
| `TXXX` (SERIES-PART)** | Series Book # |
352351
| `TXXX` (TMP_GENRE1)** | Genre 1 |
@@ -361,13 +360,13 @@ I did a lot of digging into ID3 standards and this was the best way I could come
361360
<!-- blank line -->
362361
### Players:
363362
* **iOS**
364-
1. [BookCamp](https://apps.apple.com/fr/app/bookcamp/id1523540165) - Connects to Plex, Cross Platform, NEW!
365-
2. [Prologue](https://apps.apple.com/us/app/prologue/id1459223267) - Connects to Plex
363+
1. [BookCamp](https://apps.apple.com/fr/app/bookcamp/id1523540165) ($12/yr) - Connects to Plex, Cross Platform, NEW! Still in Beta
364+
2. [Prologue](https://apps.apple.com/us/app/prologue/id1459223267) ($5) - Connects to Plex,
366365
3. [Play:Sub](https://apps.apple.com/us/app/play-sub-music-streamer/id955329386) - Connects to Booksonic
367366
* **Android**
368-
1. [BookCamp](https://play.google.com/store/apps/details?id=app.bookcamp.android) - Connects to Plex, Cross Platform, NEW!
369-
2. [Chronicle](https://play.google.com/store/apps/details?id=io.github.mattpvaughn.chronicle) - Connects to Plex, limited functionality
370-
3. [PlexAmp](https://plexamp.com/) - Connects to Plex, Official Plex audio app, Music focused player, easy to lose your place.
367+
1. [BookCamp](https://play.google.com/store/apps/details?id=app.bookcamp.android) ($12/yr) - Connects to Plex, Cross Platform, NEW! Still in Beta
368+
2. [Chronicle](https://play.google.com/store/apps/details?id=io.github.mattpvaughn.chronicle) (Opensource) - Connects to Plex, limited functionality but works well
369+
3. [PlexAmp](https://plexamp.com/) (Plexpass) - Connects to Plex, Official Plex audio app, Music focused player, easy to lose your place.
371370
4. [Booksonic](https://play.google.com/store/apps/details?id=github.popeen.dsub) - Connects to [Booksonic](https://booksonic.org/), has a few quirks but it works
372371
5. [Smart](https://play.google.com/store/apps/details?id=ak.alizandro.smartaudiobookplayer) - Local media files only, but tons of great Audiobook specific features
373372
<!-- blank line -->
@@ -376,9 +375,9 @@ I did a lot of digging into ID3 standards and this was the best way I could come
376375
### Notes:
377376
Once you have mp3tag, Audiobook metadata agent, and Plex configured the work flow becomes pretty quick and painless, especially when using keyboard shortcuts.
378377

379-
Following this guide will also give you everything you need for a properly organized Booksonic server. While Plex doesn't really care about your folder structure beyond `/Audiobook/Author/Book/book.mp3`, Booksonic exclusively uses folder structure for it's organization and it also looks for `cover.jpg`/`desc.txt`/`reader.txt` files (automatically created with the Action script) for additional metadata.
378+
Following this guide will also give you everything you need for a properly organized AudiobookShelf and Booksonic server. While Plex doesn't really care about your folder structure beyond `/Audiobook/Author/Book/book.mp3`, Booksonic exclusively uses folder structure for it's organization and it also looks for `cover.jpg`/`desc.txt`/`reader.txt` files (automatically created with the Action script) for additional metadata.
380379

381-
If you have an iOS or Android device use [BookCamp](https://www.bookcamp.app/), it is *miles* better than the Plex app and PlexAmp and works on both iOS and Android.
380+
I currently use [BookCamp](https://www.bookcamp.app/) ($12/yr), it is *miles* better than the Plex app and PlexAmp and works on both iOS and Android, but if you are on iOS then Prologue is the preferred option.
382381

383382
<!-- blank line -->
384383
----
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[#0]
2+
T=5
3+
1=X:\\audiobooks\\%albumartist%\\%series%\\%year% - %album% [ '['%series% %series-part%']']\\%album% (%year%)[ '['%series% %series-part%']']$ifgreater(%totaltracks%,1, - pt$num(%track%,2),)
4+
F=_FILENAME
5+
6+
[#1]
7+
T=13
8+
1=%album% (%year%) ['['%series% %series-part%']' ]- cover
9+
3=0|3
10+
2=0
11+
12+
[#2]
13+
T=15
14+
F=desc
15+
1=X:\\audiobooks\\%albumartist%\\%series%\\%year% - %album% [ '['%series% %series-part%']']\\desc.txt
16+
2=0
17+
3=0
18+
19+
[#3]
20+
T=15
21+
F=reader
22+
1=X:\\audiobooks\\%albumartist%\\%series%\\%year% - %album% [ '['%series% %series-part%']']\\reader.txt
23+
2=0
24+
3=0
25+
26+
[#4]
27+
T=5
28+
1=$ifgreater(%totaltracks%,1,%title%,%_filename%)
29+
F=TITLE
30+

mp3tag/data/actions/&1 m4b - Filename - Folder Structure - Cover in Folder.mta

Lines changed: 0 additions & 30 deletions
This file was deleted.

mp3tag/data/actions/&2 01 - Filename - Folder Structure - Cover in Folder.mta

Lines changed: 0 additions & 25 deletions
This file was deleted.

mp3tag/data/actions/&3 001 - Filename - Folder Structure - Cover in Folde.mta

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)