$Replace with multiple characters

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 with multiple characters

Re: $Replace with multiple characters

by jn » Sun Feb 07, 2010 5:22 am

Works like a charm. For German Umlauts, one should add:

Code: Select all

;ä
C3A4=6165
;Ä
C384=4165
;ö
C3B6=6F65
;Ö
C396=4F65
;ü
C3BC=7565
;Ü
C39C=5565
;ß
C39F=7373
in the [FilenameMappings] section.

Thank you very much for the quick reply!

Re: $Replace with multiple characters

by Mizery_Made » Sun Feb 07, 2010 3:16 am

Perhaps you should give "How to Remap Characters for Auto-Organize" a read.

$Replace with multiple characters

by jn » Sun Feb 07, 2010 2:59 am

Situation: I keep my songs on a NAS serving it with TwonkyMedia to my steaming clients. The problem with this setup is that there are problems with special caharcters in file names.

As my current solution, i $Replace all special characters when renaming my songs, which looks like this:

Code: Select all

$Replace($Replace($Replace($Replace($Replace($Replace($Replace($Replace($Replace(\\NAS\mp3\<Genre>\<Album Interpret>\<Jahr> - <Album>\<Song#:2> - <Interpret> - <Titel>,ä,ae),Ä,ae),ö,oe),Ö,Oe),ü,ue),Ü,Ue),ß,ss),ê,e),é,e)
You see that this tends to get very long, so the question is if there is a more elegant way to do the replacement?

Jörg

Top