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

Any ideas about how to improve MediaMonkey for Windows 4? Let us know!

Moderator: Gurus

PhYrE
Posts: 99
Joined: Sat Jan 08, 2011 10:43 am

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

Post by PhYrE »

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.
Lowlander
Posts: 59220
Joined: Sat Sep 06, 2003 5:53 pm

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

Post by Lowlander »

Doesn't work in MediaMonkey 3 either.
Eyal
Posts: 3124
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec
Contact:

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

Post by Eyal »

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)
:~)
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
PhYrE
Posts: 99
Joined: Sat Jan 08, 2011 10:43 am

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

Post by PhYrE »

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.
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

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

Post by nohitter151 »

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
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
Lowlander
Posts: 59220
Joined: Sat Sep 06, 2003 5:53 pm

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

Post by Lowlander »

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