LOL–Don’t you just hate miscounting parentheses? I know it always drives me crazy!
I guess I need to do something with the variable as the script works excellent except–now the file is renamed to: E:\Wilfr\My Music-= 1 =–Beatles, The-Help! [1965]-The Beatles - Help! - 1.07 - Ticket to Ride.mp3 instead of E:\Wilfr\My Music-= B =-\Beatles, The\Help! [1965]\The Beatles - Help! - 1.07 - Ticket to Ride.mp3. It looks like it works fine to change the characters though. Just can’t do the slash this way.
Here’s what I used to get this far:
$rreplace(
$if($eq(%musicbrainz_albumartistid%,89ad4ac3-39f7-470e-963a-56509c546377),
$left($if2(%albumartistsort%,%albumartist%,%artistsort%,%artist%),25)/
$left(%album%,40) [$left(%date%,4)]/
%albumartist% - $left(%album%,30) - $num(%discnumber%,1).$num(%tracknumber%,2) - $left(%title%,30) [%artist%]
,
-= $upper($left($if2(%albumartistsort%,%albumartist%,%artistsort%,%artist%,#),)1) =-/
$left($if2(%albumartistsort%,%albumartist%,%artistsort%,%artist%),25)/
$left(%album%,40) [$left(%date%,4)]/
%artist% - $left(%album%,30) - $num(%discnumber%,1).$num(%tracknumber%,2) - $left(%title%,30)
)
,[/:],-)
I think I’m beginning to understand this better. Time to investigate the variable option.
Thanx for all the help so far!