Summary: | Cross-platform filename support | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | spam-receiver |
Component: | Database-Mysql | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, metzpinguin |
Priority: | NOR | ||
Version: | 7.7.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/digikam/commit/6a630aeab30849225015826aa185cc8a8516cc74 | Version Fixed In: | 8.0.0 |
Sentry Crash Report: |
Description
spam-receiver
2022-07-15 10:50:15 UTC
*** This bug has been marked as a duplicate of bug 384820 *** There is currently an undocumented feature. It is possible to add "&/path/to/mount/point" to the network path in the AlbumRoots database table. I plan to make this available in the GUI. Maik (In reply to Maik Qualmann from comment #2) > There is currently an undocumented feature. It is possible to add > "&/path/to/mount/point" to the network path in the AlbumRoots database > table. I plan to make this available in the GUI. > > Maik Can you please explain in detail how the database row should look like after I have added the second base path? (In reply to spam-receiver from comment #3) > (In reply to Maik Qualmann from comment #2) > > There is currently an undocumented feature. It is possible to add > > "&/path/to/mount/point" to the network path in the AlbumRoots database > > table. I plan to make this available in the GUI. > > > > Maik > > Can you please explain in detail how the database row should look like after > I have added the second base path? I tried (not the question mark in the middle): networkshareid:?mountpath=N:/path/to/photos?/run/user/1000/gvfs/dav:host=server,ssl=true,user=xyz/path/to/photos but this broke both, WIndows and Linux... :-( Table: AlbumRoots Column: identifier bevor: networkshareid:?mountpath=N:\path\to\photos after: networkshareid:?mountpath=N:\path\to\photos&mountpath=/path/to/another/mountpoint More paths could be appended, but each path may only exist once under the OS. Maik Use / instead of \ in my example. Maik (In reply to Maik Qualmann from comment #5) > Table: AlbumRoots > Column: identifier > > bevor: > > networkshareid:?mountpath=N:\path\to\photos > > after: > > networkshareid:?mountpath=N:\path\to\photos&mountpath=/path/to/another/ > mountpoint > > More paths could be appended, but each path may only exist once under the OS. > > Maik Sorry, but I can't get this working. I tried with different (existing and non-existing) paths after the second question mark. Any second path breaks the base path on both, Windows and Linux. It seems that the feature isn't included in Digikam 7.7. This feature has been around for a long time, your mistake is the second question mark, there is only one question mark. The second path starts with: &mountpath= Maik (In reply to Maik Qualmann from comment #8) > This feature has been around for a long time, your mistake is the second > question mark, there is only one question mark. > The second path starts with: &mountpath= > > Maik Oh no, stupid me. Can't tell an ampersand from a question mark... Thank you very much and my apologies. The undocumented feature works as expected. This issue can be closed. Git commit 6a630aeab30849225015826aa185cc8a8516cc74 by Maik Qualmann. Committed on 16/07/2022 at 15:14. Pushed by mqualmann into branch 'master'. add support for alternate network paths in the collection view Related: bug 384820 FIXED-IN: 8.0.0 M +3 -1 NEWS M +4 -0 core/libs/database/collection/collectionlocation.h M +6 -3 core/libs/database/collection/collectionmanager.h M +5 -3 core/libs/database/collection/collectionmanager_location.cpp M +7 -2 core/libs/database/collection/collectionmanager_p.cpp M +2 -3 core/libs/database/collection/collectionmanager_p.h M +206 -17 core/utilities/setup/collections/setupcollectionview.cpp M +21 -8 core/utilities/setup/collections/setupcollectionview.h https://invent.kde.org/graphics/digikam/commit/6a630aeab30849225015826aa185cc8a8516cc74 |