Originally Posted by
daveb30
I have been trying to remove the comma (ie. "Rolling Stones, The" becomes "Rolling Stones The"). I have it working for the root directory but not the artist portion of the track name. I have the following (I have played with the ",,," after the replace comma... but can not figure out what they are doing)
[REPLACE]<comma_>,,,[IFVALUE]album artist sort,[tag]album artist sort[],[IFCOMP]Various Artists[][IF!COMP][artist][][][]\[MAXLENGTH]80,[album][]\[MAXLENGTH]80,[][track]-[IFCOMP][artist]-[][title]
If you want to remove commas from the artist tag then you'll need to wrap it in a [REPLACE] function. You could wrap the whole thing in a [REPLACE] but then you'll be removing characters AFTER the truncation to 80 characters.
There are a few other issues, so I think a corrected version would look something like:
Code:
[MAXLENGTH]80,[REPLACE]<comma_>,,,[IFVALUE]album artist sort,[tag]album artist sort[],[IFCOMP]Various Artists[][IF!COMP][artist][][][][]\[MAXLENGTH]80,[REPLACE]<comma_>,,[album][][]\[MAXLENGTH]80,[track]-[IFCOMP][REPLACE]<comma_>,,[artist][]-[][title][]