Help - Search - Members - Calendar
Full Version: File renaming - Illegal characters problem
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
pstrg
This has been discussed before (http://www.hydrogenaudio.org/forums/lofiversion/index.php/t48299.html) but, to the best of my knowledge, remains an unsolved issue.

If one tries to rename files using the available means (File Operations | Rename, Move or Copy files), those characters that cannot appear in filenames (\ / : * ? " < > |) always turn into (_).
Curiously, although the File naming schemes window preview shows the desired result (e.g. if one uses $replace() to change each illegal for another char), the main window reveals instead that every illegal char will in fact become an underscore and this is what actually happens.

Although \ / * < > | may not be usual in titles, artists etc., : ? " are quite usual.

- Is this behavior considered a problem that will be addressed?
- Couldn't the solution be simply a user-defined translation table?

golphcart
i think the problem is that this problem is not a top priority. wink.gif

for now just use

$replace($replace(%tag%,\,-,/,-,:,-,*,-,?,,",-,<,-,>,-,|,-),_,-)

as posted in the last post of the above mentioned thread.
bubbleguuum
I Have a problem concerning file renaming:

sometimes but not always it replace '&' by '_'. '&' is a valid filesystem character. Anyone has an explanation ?

Edit: I must have been smoking sth, because it doesn't!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.