Bug 471452 - SmugMug exporter album list is a flat list of gallery names and ignores folder structure
Summary: SmugMug exporter album list is a flat list of gallery names and ignores folde...
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-SmugMug (show other bugs)
Version: 7.10.0
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-26 00:42 UTC by dw-kde
Modified: 2024-01-25 22:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dw-kde 2023-06-26 00:42:33 UTC
SUMMARY
SmugMug supports nested folders.  Folders can contain folders or galleries.  Galleries can contain photos or videos.
DigiKam ignores this structure and displays only a flat list of galleries from all folders.
This can be a long list, and makes it hard to find the right gallery if there are similar or same gallery names in different folders.

STEPS TO REPRODUCE
1. Select Export -> Export to SmugMug...
2. Open the droplist for Album.

OBSERVED RESULT
A flat list of gallery names is displayed.

EXPECTED RESULT
A tree structure representing the folder/gallery structure on SmugMug, or at least a list that includes folder and gallery names as a path for each gallery.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 dw-kde 2023-06-26 01:58:46 UTC
In SmugMug I created this test structure:
   /testFolder/testSubFolder/testGallery
That is displayed in the exporter album list as:
   testGallery
In the console logs while loading the exporter dialog, I see:
   unknown: album  "JsTS3v,testGallery,7R3m63,testGallery,,,1,,0"
In the JSON for parseResponseListAlbum, I see:
   {
      "Response": {
         "Album": [
            {
               "AlbumKey": "7R3m63",
               "Name": "testGallery",
               "NiceName": "TestGallery",
               "NodeID": "JsTS3v",
               "Uris": { ... }
               "UrlPath": "/TestFolder/TestSubFolder/TestGallery",
            }
         ]
      }
   }
There is data in the "Uris" object that could be used to assemble a fancy interactive tree structure, which would be nice, but it seems like the simple solution is to just display "UrlPath" in the album list instead of "Name".