![]() |
|
Multiple value delimiter - Printable Version +- MinimServer Forum (https://forum.minimserver.com) +-- Forum: MinimServer (/forumdisplay.php?fid=1) +--- Forum: Music Tagging (/forumdisplay.php?fid=9) +--- Thread: Multiple value delimiter (/showthread.php?tid=4317) Pages: 1 2 |
Multiple value delimiter - escapereality - 29-12-2017 13:14 Hi all, I absolutely like the way MinimServer gives me control of my library. Most of my songs contain multiple genres. Those are tagged in the TCON ID3v2.4 field with a '/' as delimiter. This is as far as I know the only way for my HTPC interface (Emby) to separate the genres. Is it possible for MinimServer to use the same delimiter (instead of '\\') and if not, does someone has a different solution/workaround? Thanks in advance! RE: Multiple value delimiter - simoncn - 29-12-2017 19:26 In ID3v2.4 (unlike ID3v2.3), '/' is not a separator character for multiple values. Multiple values are separated by a NUL character and this is written by your tagging program. Some tagging programs (for example, Mp3tag) use \\ in their user interface as a separator for multiple values and write a NUL character in the ID3v2.4 file in place of the \\. In this case, MinimServer is seeing the NUL character in the tag value, not \\. If Emby is writing a / character into ID3v2.4 files to separate multiple values, this is incorrect and will not work with a server that implements the ID3v2.4 specifcation correctly, such as MinimServer. RE: Multiple value delimiter - escapereality - 30-12-2017 00:02 Thanks for your clear explanation! I wrote some bash scripts to automate the tagging process, so I only use linux command line tools. Are you maybe aware of a tool that supports multiple tag values that follow the id3v2.4 specifications? Thanks! RE: Multiple value delimiter - alan9990 - 11-03-2026 16:33 (29-12-2017 19:26)simoncn Wrote: In ID3v2.4 (unlike ID3v2.3), '/' is not a separator character for multiple values. Multiple values are separated by a NUL character and this is written by your tagging program. Some tagging programs (for example, Mp3tag) use \\ in their user interface as a separator for multiple values and write a NUL character in the ID3v2.4 file in place of the \\. In this case, MinimServer is seeing the NUL character in the tag value, not \\. Hi there, just started with Minimserver this morning, so still finding my way around... however, this is indeed a most live issue, so to speak. Have been "correctly" tagging my files since forever, and settled on using the "|" character to split multiple "Artist" or "Albumartist" tags. At least according to the server share as seen on Windows 11 (25H2) it seems to find that all of my albums which have e.g. "Rosemary Clooney|Duke Ellington" listed as "Album Artist" (as defined by my tagger) are albums which are "[uknown]" It would be something akin to a disaster were this not addressable in some manner... so if I could ask: is "|" an acceptable character for Minimserver? And if not, can I edit something in one of the Linux files (where the server is hosted) to allow this character to be used? Usually there's a file somewhere that can be messed with? Or is this a matter for the renderer? I have a Cambridge Audio MXN10 arriving... so this could just be Windows and the server? RE: Multiple value delimiter - simoncn - 11-03-2026 20:10 It is fine to use the | character in a tag value. MinimServer has two restictions for the AlbumArtist tag: 1) Each album can have only a singe AlbumArtist value. If you separate multiple names with the | character, the combined string counts as this single value. 2) The AlbumArtist value must be the same for all tracks of the album. If this isn't the case, MinimServer writes a warning message to the MinimServer log and ignores the AlbumArtist value for all tracks of the album. This might be why you are seeing the AlbumArtist value as [unknown]. You can check this by looking for warning messages in the MinimServer log. RE: Multiple value delimiter - alan9990 - 11-03-2026 20:38 Oh, thank you this is very helpful. Yet... it doesn't quite seem to make sense to me? If the delimiter | is acceptable, but Minimserver insists on then concatenating the values on either side... what exactly is the point of allowing separation at all? I happen to be almost obsessive about tags, and I've already been going through the "unknown" artists just to double check (by means of the files directly on the server). Although I have noted that whereas when the share is visible on my Windows 11 box there is indeed an "unknown" folder under "Albumartist". Yet when I view this same server via (in my case) StreamMagic on my phone, there's no such folder at all! However, if I search for a "problematic" album it doesn't appear here. I can find it under "Albums" of course. As I say it's my first hours with Minimserver "in the flesh" now that I have a DAC in the chain and my control point (Android phone) working. Are you saying that this sorting behaviour is hard coded inside Minimserver? There's no config or editing of regex sorting available? I could live with this (in my opinion) odd need to join together things I intend as separate, but I'm also curious about how I can edit which content (folders) appear under each category within the control app. I have zero need for things like "rate" or "audio format" and would like to delete/hide them. I'm all for bare minimal function. RE: Multiple value delimiter - simoncn - 11-03-2026 23:17 The | is not a delimiter. It is just a normal character, so the value "Rosemary Clooney|Duke Ellington" is taken as a single album artist whose name is "Rosemary Clooney|Duke Ellington". If all tracks of the album are tagged with the album artist "Rosemary Clooney|Duke Ellington", you should see this artist name in the AlbumArtist index and in the Artist index. If any of the tracks is tagged with no value or a different value, the album artist value for this album will be [unknown]. If an album has multiple artists, MinimServer expects these to be tagged as Artist, not AlbumArtist. Does this explain what you are seeing? RE: Multiple value delimiter - alan9990 - 13-03-2026 22:30 (11-03-2026 23:17)simoncn Wrote: The | is not a delimiter. It is just a normal character, so the value "Rosemary Clooney|Duke Ellington" is taken as a single album artist whose name is "Rosemary Clooney|Duke Ellington". Ah yes! Sorry for my confusion. This is indeed. They do show up - so, that was probably an early issue with listing being generated and my control app updating. What I cannot find again is the instructions where it explains how to customise this display...? I read it a couple of days ago but now cannot find it again. It allows me to set the display from Rosemary Clooney|Duke Ellington to Rosemary Clooney / Duke Ellington as displayed. FWIW I only got to using | as a split because my Linux client of choice Cantata would respect it. No other reason at all, so I'm happy to learn to do things differently. RE: Multiple value delimiter - simbun - 14-03-2026 12:44 (13-03-2026 22:30)alan9990 Wrote: What I cannot find again is the instructions where it explains how to customise this display...? It's possible there's an alternative as MinimServer is VERY configurable, but the only way I know to translate Rosemary Clooney|Duke Ellington to Rosemary Clooney / Duke Ellington is to use the tagUpdate functionality: Code: @ALBUMARTIST=Rosemary Clooney|Duke EllingtonI've been setting up a MusicBrainz Picard workflow for a friend over the last couple of days (which I might post to the forum in the next couple of days because it works so well with MinimServer) and the solution he's using (same as mine) is: Tags: Code: ALBUMARTIST: Rosemary Clooney; Duke Ellington (multivalued)MinimServer config: Code: itemTags:Display AlbumartistCode: tagValue: Display Albumartist.default={AlbumArtist}Then use tagUpdate to remove one of the artists from the album: Code: @ALBUMARTIST=Rosemary ClooneyObviously you lose Rosemary Clooney from the Artist (albumartist) index (she'll still appear under the All Artists index and in searches) but at least she's credited on the album, and the underlying tags are complete. If you don't have a MUSICBRAINZ_ALBUMID tag then you'd need to use as many tags as uniquely identify the album e.g. ALBUM + YEAR. RE: Multiple value delimiter - alan9990 - 14-03-2026 12:46 (14-03-2026 12:44)simbun Wrote:(13-03-2026 22:30)alan9990 Wrote: What I cannot find again is the instructions where it explains how to customise this display...? Oh, this is brilliant! Thank you. So much clearer now... Oh, I will be busy today
|