Version: 1.12 (using KDE 3.3.1, SuSE) Compiler: gcc version 3.3.1 (SuSE Linux) OS: Linux (i686) release 2.4.21-243-default I had a song title with a slash in it. In the output directory, a subdirectory was created instead of a file name with a slash in it. Example: Let's assume track 1 is named "A/B". Correct output: a file named "01. A/B.ogg" What happened: a directory named "01. A" containing a file named "B.ogg"
Good one. Hmm should we change / to - ?
We can use %2f where '/' are.
Maybe ask the user like: "Title contained illegal characters. Please rename it" or something like that.
Changing "/" to "?" is better than the current situation, but the slash actually belongs in the song title, so I'd still have to rename the file manually afterwards. I let KAudioCreator run unattended as much as possible, so I prefer it doesn't ask me any questions, because then the ripping isn't finished when I return to my PC. So I think escaping slashes as %2f is the solution I'd prefer.
I have fixed the code so any item (artist name, track name, comment) in the output filename that has a / will be changed to %2f. It is commited to head and will be backported to the 3.4 branch and will be in the next release (3.4.1)