Hello,
I would like to be able to restore the whole database by just starting a new library and scanning my directory containing the audiobooks. All metadata is stored in the m4b tags. Except this field:

(Don’t know what it is called in english - “notation”?)
and this field (collections):

Is there already a tool, or can somebody write one (tell me what it would cost) which would import the content of a txt file into those fields?
And as a bonus: Write the content of “album” into “album sort name”. (I hate it, when the sort name is different from the album name.
The idea is:
- In the directory of the audiobook (every book has its own directory) will be a file “notation.txt” containing a single word or nothing at all. This word (or nothing) should go to the plex-tag “notations” (if this is the correct term).
- In the directory of the audiobook also will be a file “collections.txt” containing a single word or several words. This word(s) should go to the plex-tag “collections”.
- The content of “album” should be written into “album sort name” in plex. Overwriting the existing entry.
There are three libraries (Audiobooks, Music and Movies), only the Audiobooks should be affected.
If this is performant enough, it can be run manually every time new entries are thrown into plex and run through everything (not very elegant). If not, it would be better to write a log-file which will be used by the tool to skip the directories which are already processed. (Deleting this file, would run through everything again.)