[KPhotoAlbum] Breaking changes in file layout

Tobias Leupold tobias.leupold at gmx.de
Mon Apr 6 11:24:38 BST 2020


> Just an idea: what about an encoding like many news-sites or
> stackoverflow.com use, a mix of hash + title. The hash-part makes the
> entry unique, the title part makes it readable for humans.
>
> For the example above, the result would be something like
>
> /home/johannes/.cache/kphotoalbum/<hashCode>-home_johannes_Pictures
>
> Or maybe just the last part of the complete path (the filename), to
> reduce length?
>
> /home/johannes/.cache/kphotoalbum/<hashCode>-Pictures

This is a solution I personally could live with. Preferrably with some short
hash if such an algorithm exits and is usable via Qt directly.




More information about the Kphotoalbum mailing list