2012-10-02, 02:54
A question, does XBMC have a (skinner accessible) function to replace illegal characters when searching for a filepath? For Instance, i want to search for the folder which contains my AC/DC music files. My import/export utility and encoder uses a underscore to replace illegal characters when writing to a location... So instead of "\path\to\artists\folder\AC/DC" the exact folder is "\path\to\artists\folder\AC_DC"
is there some function i can pass the artists name to replace illegal characters?
something like
or more specifically
that will return "AC_DC"?
is there some function i can pass the artists name to replace illegal characters?
something like
Code:
ReplaceIllegalCharacters("_")
or more specifically
Code:
ReplaceIllegalCharacter('/', '_')
that will return "AC_DC"?