More > JRiver Media Center 30 for Mac
Remove Hung Closing Parenthesis From Renamed Folder
zybex:
Doh! that's because I don't use MC for audio and am only testing on a small test library with 5 or 6 albums.
The fieldQuery() requires a field that is unique for each album. [Album Artist (auto)] is obviously gonna be the same for many albums, so you get what you're seeing. Let's use [Artist - Album (Year)] instead, which should uniquely identify each album:
--- Code: ---[Album Artist (auto)]//replace(trim(replace(replace([Album],char(91)Lossychar(93),),char(91)Incompletechar(93),)) char(40)FieldQuery(Artist - Album char(40)yearchar(41),[Artist - Album (year)],Catalog #,1,0)char(41),char(32)char(40)char(41),)
--- End code ---
Without those char() functions, that's the same as:
--- Code: ---[Album Artist (auto)]//replace(trim(replace(replace([Album],[Lossy],),[Incomplete],)) /(FieldQuery(Artist - Album /(year/),[Artist - Album (year)],Catalog #,1,0)/),/ /(/),)
--- End code ---
AudibleImagery:
--- Quote from: zybex on March 27, 2023, 02:45:48 am ---Doh! that's because I don't use MC for audio and am only testing on a small test library with 5 or 6 albums.
The fieldQuery() requires a field that is unique for each album. [Album Artist (auto)] is obviously gonna be the same for many albums, so you get what you're seeing. Let's use [Artist - Album (Year)] instead, which should uniquely identify each album:
--- Code: ---[Album Artist (auto)]//replace(trim(replace(replace([Album],char(91)Lossychar(93),),char(91)Incompletechar(93),)) char(40)FieldQuery(Artist - Album char(40)yearchar(41),[Artist - Album (year)],Catalog #,1,0)char(41),char(32)char(40)char(41),)
--- End code ---
Without those char() functions, that's the same as:
--- Code: ---[Album Artist (auto)]//replace(trim(replace(replace([Album],[Lossy],),[Incomplete],)) /(FieldQuery(Artist - Album /(year/),[Artist - Album (year)],Catalog #,1,0)/),/ /(/),)
--- End code ---
--- End quote ---
Thank you for your persistence, I feel like we're so close (yet so far) and you've been so patient which I really appreciate.
This new expression is writing catalog numbers to the folder name when there are two or more but deleting the catalog number from the folder name if there's only one catalog number for a given album.
It might also be worth mentioning that I'm still using this custom field to sort my album column:
zybex:
Do all files in that album have the same exact value for [artist - album (year)] ?
The expression needs something in common to determine which files being to a given album. You can use just the album name instead, but that will also have problems if you have repeated album names.
AudibleImagery:
--- Quote from: zybex on March 28, 2023, 06:30:01 pm ---Do all files in that album have the same exact value for [artist - album (year)] ?
--- End quote ---
Yeah they have the same exact value for [artist - album (year)].
JimH:
Look for trailing spaces. Edit the entire group.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version