Bug 224581 - Kaudiocreator cannot handle / in file names
Summary: Kaudiocreator cannot handle / in file names
Status: RESOLVED WORKSFORME
Alias: None
Product: kaudiocreator
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Gerd Fleischer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-28 07:07 UTC by Jonathan M Davis
Modified: 2022-11-18 05:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Patch to escape slashes in artist names and track names (1.02 KB, patch)
2010-07-20 16:56 UTC, Klaus S. Madsen
Details
Patch to remove %2f from tags (5.12 KB, patch)
2013-12-29 04:06 UTC, Frank Salata
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan M Davis 2010-01-28 07:07:37 UTC
Version:           1.2.81.svn1042966-2.2 (using KDE 4.3.4)
OS:                Linux
Installed from:    openSUSE RPMs

If you enter a song in Kaudiocreator with / in the name, then it tries to write the wav file to disk with a / in the name. This results in an error and it fails to rip that song. For example,

Could not write to /tmp/kde-jmdavis/6_V6-Just You Can Make Me High / 坂本昌行、岡田准一_8tNC2w.wav.part.

Telling Kaudiocreator to replace / with another character or characters has the same result.

Kaudiocreator for KDE 3.5 replaced / with %2f automatically. Ideally, the KDE 4 version would do the same. Barring that, however, it should at least be able to allow you to get it to replace / with another character.
Comment 1 Jonathan M Davis 2010-01-28 07:19:46 UTC
I would point out that in KDE 3.5 the replacement of / with %2f only happened in the file name. It was still / in the tag.
Comment 2 Klaus S. Madsen 2010-07-20 16:56:32 UTC
Created attachment 49341 [details]
Patch to escape slashes in artist names and track names

I've encountered the same problem, and it annoyed me enough to fix it.

This patch should solve it.
Comment 3 Gerd Fleischer 2010-08-12 18:02:36 UTC
please try the fix in svn (extragear/multimedia)
Comment 4 Jonathan M Davis 2010-09-09 06:05:48 UTC
It does appear to be fixed, though either I didn't build it quite correctly or there are other major changes going on that aren't completed yet, since almost none of the menus had anything in them and there was no rip button (I had to set the shortcut to get it rip), but I assume that all that was either because I didn't build it right or because of other work being done.

In any case, this bug does appear to be fixed. The files with / in their name rip just fine and end up with %2f in their name instead of /, which is the behavior from the KDE 3 version. So, that is definitely looking good.
Comment 5 Jonathan M Davis 2010-10-04 10:35:42 UTC
Actually, it looks like the fix isn't quite right. KAudiocreator now successfully rips songs with / in the name and puts %2f in its place in the file name. However, it also puts %2f in the tags, which it shouldn't do. / should still be / in the tags.
Comment 6 Frank Salata 2013-12-29 04:06:40 UTC
Created attachment 84317 [details]
Patch to remove %2f from tags

I realize this is an old bug, but I do have a patch that resolve the remaining issue where the %2f appears in the tags. All replacements (user defined regex, FAT32, / if not done elsewhere) are done for the filename only and the tags are all left unchanged.
Comment 7 Justin Zobel 2022-10-19 22:11:10 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 8 Bug Janitor Service 2022-11-03 05:06:18 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2022-11-18 05:16:34 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!