Summary: | slash in file name creates directory instead | ||
---|---|---|---|
Product: | [Applications] kaudiocreator | Reporter: | Maarten ter Huurne <maarten> |
Component: | general | Assignee: | Gerd Fleischer <gerdfleischer> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.12 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Maarten ter Huurne
2005-03-03 20:18:58 UTC
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) |