[Digikam-devel] [Bug 120945] Allow export of virtual albums (tags/sub-tags)

Nicolas Brisset nicolas.brisset at eurocopter.com
Wed Feb 15 00:29:22 GMT 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=120945         




------- Additional Comments From nicolas.brisset eurocopter com  2006-02-15 01:29 -------
Created an attachment (id=14704)
 --> (http://bugs.kde.org/attachment.cgi?id=14704&action=view)
Small ruby script that does this

Here is a small ruby script that does this. It is called like this (from the
root album where digikam3.db is):
> ruby export_tags_recursive.rb topmost_tag destination_dir

It will export tags and subtags, making copies of the files in the destination
dir (and subdirs if required).
I'm not aware of the integrability of external scripts into digikam, but as I
see it this was only a good exercise and should be considered as a prototype
for proper Qt/KDE/digikam integration. 
I'm not too familiar with drag&drop but I believe it amounts to adding a method
somewhere to generate a URL list when a drag action is started. If that"s the
case, this should be fairly easy to adapt.



More information about the Digikam-devel mailing list