|
TagFormat is not working properly
|
|
27-01-2023, 19:24
Post: #40
|
|||
|
|||
|
RE: TagFormat is not working properly
So the absolute easiest way is just to put the date onto the title.displayFormat and remove it from the album.displayFormat as that's just a configuration change. It means you'll have the date attributed to every track regardless if it's an album track or not.
The alternative, if we have some way of identiying albums and non-album tracks would be to - internally to MinimServer - build two new date tags, one for album tracks and one for non-album tracks, which you'd then use in the relevant displayFormat settings e.g. album.displayFormat={$album^^ $AlbumDate^[^]^}, title.displayFormat={$title^^$NonAlbumDate^[^]^}$#AudioDuration^ ^^$#AudioFormat^ | ^^} The code required would look something like: Code: @ALBUM=0Which translates into: If the Album tag has a value of 0 (@ALBUM=0) and the Date tag is 2003 (&DATE=2003) create a new tag (within MinimServer) called NonAlbumDate and set it to 2003 (+NONALBUMDATE=2003), else if the Date tag is 2004 (&DATE=2004) then create the tag NonAlbumDate and set it to 2004 (+NONALBUMDATE=2004) e.t.c. NOTE: I think we can get away with just one tag that identifies the non-album tracks, but I'd have to test that. This will have a performance impact on scanning, but I don't think it will make much difference unless you have a huge library as I have a lot of tagUpdate processing and I don't notice a difference. I should be able to create an export script in Mp3Tag to create the code - assuming you can load all your music into it at once - or just copy and paste for each year. The text file with the rules would need to be placed on the Synology, so it's probably easiest just to put it in the root of your music folder, and the MinimServer configuration will need to be changed to point to it. If you want to go down the tagUpdate route let me know and I'll try and experiment later. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



