$Replace doesn't work in Auto-Organize Files [#7603]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: $Replace doesn't work in Auto-Organize Files [#7603]

Re: $Replace doesn't work in Auto-Organize Files [#7603]

by Lowlander » Tue Mar 29, 2011 8:28 pm

Due to its similarity with VBScript where quotes would be required its easy to be confused.

Re: $Replace doesn't work in Auto-Organize Files [#7603]

by nohitter151 » Tue Mar 29, 2011 7:19 pm

PhYrE wrote:Wow-Thanks!
Works-

Looks like the documentation just needs updating to reflect the format properly, noting that spaces and quotes are unnecessary/bad.

Sounds like a help-file issue now.
Looked in the help file but did not see any instances where quotes or spaces were used in examples:
http://www.mediamonkey.com/sw/webhelp/f ... ormats.htm

Re: $Replace doesn't work in Auto-Organize Files [#7603]

by PhYrE » Tue Mar 29, 2011 7:55 am

Wow-Thanks!
Works-

Looks like the documentation just needs updating to reflect the format properly, noting that spaces and quotes are unnecessary/bad.

Sounds like a help-file issue now.

Re: $Replace doesn't work in Auto-Organize Files [#7603]

by Eyal » Sat Mar 26, 2011 7:05 pm

PhYrE wrote:$Replace(<Album Artist>, "Various Artists", "VA")
It's working fine. Just remove the spaces and quotes:

Code: Select all

$Replace(<Album Artist>,Various Artists,VA)
:~)

Re: 1358: $Replace doesn't work in auto-rename filters

by Lowlander » Sat Mar 26, 2011 9:40 am

Re: 1358: $Replace doesn't work in auto-rename filters

by Lowlander » Sat Mar 26, 2011 9:33 am

Doesn't work in MediaMonkey 3 either.

$Replace doesn't work in Auto-Organize Files [#7603]

by PhYrE » Sat Mar 26, 2011 1:37 am

I'm trying to set up a filename filter so that my compilation albums show up as VA - Mixname\## - Artist - Title.mp3
Which is a popular one (as opposed to the full 'Various Aritsts' title.


If I do this in the auto or by right clicking on a file and entering this in the box, it still results in "Various Artists" in the output.

$Replace(<Album Artist>, "Various Artists", "VA")

Expected behaviour: Should read 'VA' instead.

Top