[Digikam-devel] [Bug 261277] Windows and Linux Frontend using the same database

Frank Hommes freanki at gmx.net
Wed Mar 30 23:02:18 BST 2011


https://bugs.kde.org/show_bug.cgi?id=261277


Frank Hommes <freanki at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freanki at gmx.net




--- Comment #4 from Frank Hommes <freanki gmx net>  2011-03-31 00:02:15 ---
Since it fits better here I copied the content of a mail to the mailinglist:

At the moment (sorry, just using 1.9) the complete path is stored for
all files in mysql database.
I'm using mysql because there are more people with access to my
pictures. The path within the base directory is always the same but the
absolut path in the filesystem is sometimes different.
Example:
/home/freanki/win/pics/2010/freanki/testing/testpic.jpg
/home/directory/pics/2010/freanki/testing/testpic.jpg
z:\pics\2010\freanki\testing\testpic.jpg

This could be resolved with a basepath (stored local or with different
base path in mysql) and relativ path.

1 base path:/home/freanki/win/
2 base path:/home/directory/
3 base path:z:\ (with the addition that all / have to be converted to \
since it's windows)

And all pictures would be stored like this:
pics/2010/freanki/testing/testpic.jpg

This would also save some bandwith and storage...

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list