aarone/smugmugexport — pull request #1 by nriley (2012-06-02 23:52:14+00:00)
Title: Some changes

Hi,

I started using your SmugMugExport for iPhoto a few months ago and made a few trivial UI cleanups just to fix my UI OCD. Today I discovered some issues as I was trying to get uploading usable for my family, and I've fixed them. The substantive changes:

- support for SmugMug's "quick settings" (the API calls them album templates) so you don't have to set "additional options" every time you create a gallery

- fix a race condition if you try to create a gallery before the category lists (and in this version, the album template list) have been received

- select the most recently created gallery after creation, which is not always the one at the top of the list in my experience

- sort galleries in the opposite direction so the newer ones are at or at least near the top (not really sure what sort order SmugMug is using here... I might end up using the "&Extras" format as documented here - http://www.dgrin.com/showthread.php?t=90636 - to retrieve a last updated date and sort by it).

Anyway, please feel free to grab any/all of these changes.

And thanks - the code was very easy to understand.