sandreas / m4b-tool

m4b-tool is a command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b
MIT License
1.17k stars 75 forks source link

Support setting `Style` tag #210

Open sigito opened 1 year ago

sigito commented 1 year ago

I am using this tool to combine/adjust the audiobooks in Plex. The Audnexus agent is used to scan the files. As per Audnexus' documentation, the Style tag is used to indicate a narrator. Could you please add support to specify the Style tag? Thank you.

sandreas commented 1 year ago

@sigito sorry, I did not find anything about a Style Tag. There is no such Tag field in mp4 or ID3 specifictation, so it has to be mapped somehow.

If you could point me to a part of documentation, where the mapping is specified, I would take a look...

@djdembeck Do you know, how Style is mapped?

sigito commented 1 year ago

I think it is related to #149. And I suspect that the narrator is mapped to Style tag on Plex side.

sandreas commented 1 year ago

I think it is related to https://github.com/sandreas/m4b-tool/issues/149. And I suspect that the narrator is mapped to Style tag on Plex side.

You mean that ©nrt and ©pub tags are missing?

djdembeck commented 1 year ago

@sigito sorry, I did not find anything about a Style Tag. There is no such Tag field in mp4 or ID3 specifictation, so it has to be mapped somehow.

If you could point me to a part of documentation, where the mapping is specified, I would take a look...

@djdembeck Do you know, how Style is mapped?

AFAIK, Style is a Plex Agent mapped metadata that is not influenced by the file metadata (mp4/ID3). I could be wrong, but as someone who wrote an agent, you manually map Style in the agent itself.

sandreas commented 1 year ago

AFAIK, Style is a Plex Agent mapped metadata that is not influenced by the file metadata (mp4/ID3). I could be wrong, but as someone who wrote an agent, you manually map Style in the agent itself.

Thank you very much for these hints. If this is really the case, I probably can't do anything about this issue, it has to be fixed somewhere else. What I could do is to tag ©nrt and ©pub, but this is something very specific, that may take a while.