[Digikam-devel] Renaming in BQM should be a tool

Gilles Caulier caulier.gilles at gmail.com
Sun Sep 6 22:31:00 BST 2009


Ok, i will take a look

Gilles

2009/9/6 Andi Clemens <andi.clemens at gmx.net>:
> I have uploaded the tool, but it is not activated yet.
> This patch will deactivate the old renaming widget and enable the tool.
> But starting the queue isn't working, any idea what I need to do?
>
> Andi
>
> On Sunday 06 September 2009 15:23:21 Andi Clemens wrote:
>> It is not that easy, at least with current implementation.
>> The problem is that we need to return the parsed string while the user is
>> typing, which is not possible at the moment.
>> A tool will only operate when the queue is running.
>>
>> My suggestion would be to add some signal to the BatchTool base class that
>>  can emit "status messages".
>> For example a tool using an external lib could sent a failure notice etc.
>> This way the ManualRename utility could simply sent the parsed name as a
>> "status message" and paste it into the queue list target column.
>>
>> What do you think? I guess this should work and can be used by other tools,
>> too, so it will be not that hackish :D
>>
>> Andi
>>
>> On Sunday 06 September 2009 13:50:53 Gilles Caulier wrote:
>> > 2009/9/6 Andi Clemens <andi.clemens at gmx.net>:
>> > > Hi,
>> > >
>> > > I think the renaming functionality should be moved into a tool in BQM.
>> > > Sometimes you simply want to rename files.
>> > > Now that ManualRename can handle directory names and metadata, users
>> > > might want to rename their files more often.
>> > >
>> > > For example I like to name my files according to the underlying folder
>> > > hierarchy:
>> > >
>> > > fotos
>> > >
>> > > |- 2008
>> > > |
>> > >   |- lalala
>> > > |
>> > > |- 2009
>> > > |
>> > >   |- someEvent
>> > >
>> > > naming scheme:
>> > > [dir.]_[dir]_####_$
>> > >
>> > > result:
>> > > 2009_someEvent_0001_DSC2345.jpg
>> > >
>> > > In the past I used krename to do so, but now we can handle this in
>> > > digiKam as well. The problem is: I need to assign a dummy tool (convert
>> > > to JPG for example) to get BQM working. But this is not a good workflow
>> > >
>> > > :-)
>> > >
>> > > So we should either think of
>> > > 1. implementing an "empty dummy" tool that does nothing (stupid idea
>> > > :-)) 2. move renaming options into a tool and remove them from the BQM
>> > > main window.
>> > >
>> > > What do you think?
>> > > This renaming tool can then also be used to move files?
>> >
>> > Agree with Point 2. About moving or just rename, you need to see what
>> > we must do with target folder view from BQM...
>> >
>> > Gilles
>> >
>> > > Andi
>> > > _______________________________________________
>> > > Digikam-devel mailing list
>> > > Digikam-devel at kde.org
>> > > https://mail.kde.org/mailman/listinfo/digikam-devel
>> >
>> > _______________________________________________
>> > Digikam-devel mailing list
>> > Digikam-devel at kde.org
>> > https://mail.kde.org/mailman/listinfo/digikam-devel
>>
>> _______________________________________________
>> Digikam-devel mailing list
>> Digikam-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>
>
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
>



More information about the Digikam-devel mailing list