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
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]$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)[/code]
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