Bug 339495

Summary: "Flac" partially lowercase when ripping audio CD
Product: [Applications] amarok Reporter: Philippe Cloutier <chealer>
Component: Collections/CDAssignee: Amarok Bugs <amarok-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: duiliofelix
Priority: NOR Keywords: junior-jobs
Version First Reported In: 2.8.0   
Target Milestone: 2.9   
Platform: Debian testing   
OS: All   
Latest Commit: Version Fixed/Implemented In: 2.9
Sentry Crash Report:
Attachments: Codec choice dialog

Description Philippe Cloutier 2014-09-29 03:19:41 UTC
Amarok asks to choose the audio codec used when ripping an audio CD. One format proposed is "Flac". "FLAC" is an acronym and should be entirely uppercase.

Note that "MP3" should also be entirely uppercase.
Comment 1 Myriam Schweingruber 2014-09-29 14:02:21 UTC
Just because it is an abbreviation (not an accronym BTW) doesn't mean it has to be uppercase. Ditto for mp3, abbreviations don't have to be uppercase in file names as grammar case rules do not apply to file names AFAIK.

FWIW: you should also bugger the Xiph Foundation as they use lowercase in filenames, too: https://xiph.org/flac/faq.html#tools__wildcards_on_windows

FWIW2: if it really bothers you you can easily convert this with a script.
Comment 2 Philippe Cloutier 2014-09-30 01:01:09 UTC
Created attachment 88892 [details]
Codec choice dialog
Comment 3 Philippe Cloutier 2014-09-30 01:05:18 UTC
"FLAC" is an acronym, not merely an abbreviation. This is not about file names. The attachment illustrates what I am talking about.
Comment 4 Myriam Schweingruber 2014-09-30 09:47:54 UTC
Right, you didn't specify it was in the text of the dialog. Marking this as a Junior Job, will handle this myself once I find time to.
Comment 5 Duilio Felix 2014-10-29 17:30:55 UTC
Hi, I want to start to contribute with free software, so can I take this job? (Not sure if here is the proper place to ask it, sorry)

Also, just to make sure, all I have to do is to put the words "Flac", "Ogg", "Wav" and "Mp3" to uppercase, right?
Comment 6 Philippe Cloutier 2014-10-31 03:37:53 UTC
Hi Duilio,
This looks like an ideal job to familiarize with KDE development. I am sure you can take it and submit a patch here.

"Ogg" is not an acronym and should stay as is. I am less sure about "Wav", but "WAV" is acceptable according to Wikipedia ("WAVE" is also used).
Comment 7 Myriam Schweingruber 2014-10-31 08:29:09 UTC
Please only change FLAC and MP3, the others are not acronyms.
Comment 8 Duilio Felix 2014-10-31 19:18:46 UTC
Ok, done. I just submitted the changes on https://git.reviewboard.kde.org/r/120930/

That's the right proceedment to make a contribution?
Comment 9 Philippe Cloutier 2014-10-31 21:35:45 UTC
Thank you Duilio, but I suppose this patch doesn't fix the option labels in the Available formats zone, does it?
Comment 10 Duilio Felix 2014-10-31 21:41:35 UTC
Hmm, thats right... my bad. I gonna fix that and correct the patch. Sorry.
Comment 11 Duilio Felix 2014-10-31 23:03:13 UTC
Ok, now the options are fixed too, sorry for that. There is any more errors for this bug?
Comment 12 Philippe Cloutier 2014-10-31 23:32:20 UTC
I didn't test, but that looks good to me.
Comment 13 Myriam Schweingruber 2014-11-01 12:40:40 UTC
Git commit 8f5de633208bff3295e1f443f9c098142406e825 by Myriam Schweingruber.
Committed on 01/11/2014 at 11:58.
Pushed by schweingruber into branch 'master'.

Correct lowercase for FLAC and MP3

Change lowercase instances of FLAC and MP3, Patch kindly provided by Duilio Felix
FIXED-IN: 2.9
REVIEW: 120930

M  +2    -2    src/core-impl/collections/audiocd/FormatSelectionDialog.cpp
M  +2    -2    src/core-impl/collections/audiocd/FormatSelectionDialog.ui

http://commits.kde.org/amarok/8f5de633208bff3295e1f443f9c098142406e825