GNOME Bugzilla – Bug 357111
replace spaces with underscores
Last modified: 2014-03-24 16:38:29 UTC
I know this was labeled as a gnome cd bug. So relabeling as a sound juicer feature request would be good. Basically, I have a Sony MP3 cd player(I know, I am a dinosaur, but it was $40 and it works great, burning a cd is trivial). However, it has a problem with the filename Sound juicer outputs when it creates the mp3s. Sound Juicer spaces the words between a song when it creats a file like so: This Song Has A Long Name.mp3 However, my Sony MP3 cd player only recognizes file names with underscores, it does not recognize spaces. Strange thing, my Sony MP3 stereo in my car works fine with the Sound Juicer song names, go fig. I like Sound Juicer, however and using Grip to get around adding underscores to all the files I create by hand. Could, Sound Juicer offer a underscore filename as a output option in some way? Thanks in advance.
The "Strip special characters" should do exactly this, at least reading at source code comments.
From my look of it, this bug seems to be fix. However, not all special characters are stripped from the latest Sound Juicer version 2.16.1. Specifically in 2.16.1 you select strip special character, you get a preview of what the character stripping should look like, selecting the first one or: File Name: "Number Title" Produces: /The_Beatles/Help_/07 0 Ticket_To_Ride.ogg Should that instead be: /The_Beatles/Help/07_0_Ticket_To_Ride.ogg So the two issues being, not all spaces are removed and you add a trailing slash to the Album name. Selecting "Track Title" adds a underscore after the album name. "Track Artist - Track Title" does not strip all special characters and adds album _ The others are very similar, however the last selection for making it lowercase actually strips all the special characters but adds a trailing underscore to the album name.
Created attachment 74042 [details] [review] sj-strip-pattern-spaces.patch Yepp, you are right. The patch should fix the problem.
Forgot to mark the bug as NEW...
Ahem. Feel free to commit Luca!
Thankyou Ross, bug closed :) 2006-10-22 Luca Cavalli <lcavalli@cgs.gnome.org> * src/sj-extracting.c: (filepath_parse_pattern): Replace spaces with underscores in path_patterns and file_patterns when "Strip special characters" is selected (#357111).
*** Bug 142600 has been marked as a duplicate of this bug. ***