Bug 118317 - File renamer ignores Genre and Year
Summary: File renamer ignores Genre and Year
Status: RESOLVED FIXED
Alias: None
Product: juk
Classification: Applications
Component: general (show other bugs)
Version: 2.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
: 157347 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-14 15:57 UTC by Michael Stattmann
Modified: 2011-04-20 05:02 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Stattmann 2005-12-14 15:57:55 UTC
Version:           2.3 (using KDE KDE 3.5.0)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) 
OS:                Linux

If you add Genre or Year fields they won't show up in the example and won't be used during real renaming.
even folder seperators attached to them are missing.
Comment 1 Michael Pyne 2005-12-16 03:13:30 UTC
Odd, it works here.

Does this also happen if you move ~/.kde/share/config/jukrc ?  (Don't delete it, it's your configuration, you'll want it back ;)
Comment 2 Michael Stattmann 2005-12-16 21:28:49 UTC
>
> Does this also happen if you move ~/.kde/share/config/jukrc ?
>


doesn't change a thing unfortunately. i even moved the cache and db dir 
away and
tried several combinations of fields. even if you add custom text to the tag
(before and after) nothing is displayed in the example nor used.

strange...
Comment 3 Georgios E. Kylafas 2006-01-03 10:14:04 UTC
I have the same problem with the file renamer, and moving the jukrc file did not solve it either. I finally had to edit it by hand to add the fields I wanted to.

I am too in Gentoo Packages, so maybe it has something to do with it. I tried compiling with the default CFLAGS, but still the bug remains.
Comment 4 Jon Leibowitz 2006-03-19 20:30:07 UTC
I am having the same issue with the ubuntu dapper build of JuK. I am unable to get the year field to show up in any renamed files. 
Comment 5 Simon Lundmark 2007-03-13 21:08:06 UTC
I am having the same issue. I'm running Gentoo aswell... Very strange problem I must say...
Comment 6 Michales Michaloudes 2009-01-19 13:39:29 UTC
Same bug here. Slackware-12.2

juk -v

Qt: 3.3.8b
KDE: 3.5.10
JuK: 2.3.5
Comment 7 gorn 2009-03-08 22:51:06 UTC
Same bug here 
debian 5.0
kernel Linux 2.6.24-1-amd64

Qt: 3.3.8b
KDE: 3.5.10
JuK: 2.3.5
Comment 8 Oliver 2009-06-28 09:37:26 UTC
Hi,

I figured out a workaround. Add Genre to the file renamer and configure it as you wish to see it. Close juk. Edit .kde/share/config/jukrc and change the line "GenreDisabled=true" to "GenreDisabled=false". Start juk, check the file renamer example. Should work correctly from now on. The setting is preserved when restarting the program.

It looks like when Genre or Year are added, the Disabled flag is set to true instead of false. This should help the developers track down the bug.

Cheers,
-Oliver
Comment 9 Michael Pyne 2009-06-29 05:27:45 UTC
SVN commit 988894 by mpyne:

Backport fix for JuK bug 118317 (JuK ignores genre/year in file renaming) to KDE 4.3.
(Initial fix was in revision 988893).

Many thanks to "Oliver" for discovering a key clue in how JuK was handling the year/genre
types of options, he was right when he said it "should help developers track down the bug".

CCBUG:118317


 M  +2 -0      tagrenameroptions.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=988894
Comment 10 Michael Pyne 2009-06-29 05:29:31 UTC
SVN commit 988895 by mpyne:

Backport fix for JuK bug 118317 to KDE's 3.5 branch to be picked up by distros still on
3.5.

BUG:118317


 M  +2 -0      tagrenameroptions.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=988895
Comment 11 Michael Pyne 2010-05-10 05:57:31 UTC
*** Bug 157347 has been marked as a duplicate of this bug. ***
Comment 12 Michael Pyne 2011-04-20 05:02:38 UTC
SVN commit 1228555 by mpyne:

Correctly add renamer categories in l10n'ed KDE desktops.

Giorgos Kylafas noticed an issue with adding categories to the JuK file
renamer, where adding categories didn't work in desktops with a non en_US
language in use due to a mistake made comparing a translated string against its
untranslated base.

The proposed fix forced the comparison to be of two translated strings, but the
intent was to compare the untranslated category codes (which I can more easily
guarantee to be unique).

I will backport to 4.6.3, and also CC a related bug in case any of the
interested parties were still having this issue.

CCBUG:118317
CCMAIL:gekylafas@gmail.com


 M  +3 -3      filerenamer.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1228555