Working on Migratr support

callingshotgun

Joined: 2007-12-29
Posts: 8
Posted: Sat, 2007-12-29 17:20

I'm working on adding Gallery2 support to my photo migration app, Migratr, and I had a couple of questions I was hoping someone in the development forums could help me out with.

1) I went through the API, and was hoping there was some way to request a count of all the photos under one account, without requesting all the data for each and every single album individually. If I could get that number before I start downloading photos, I would be able to have a much more accurate progress bar (e.g, I could say "1 of 624 photos" instead of "1 of 20 photos in Album 1 of 25" or something).

2) I have some code that will currently connect to versions of 2.x I have installed as local copies, but it fails when attempted to connect to my test account at callingshotgun.myphotoalbum.com. Some further investigation revealed that Gallery Remote will connecte to a MyPhotoAlbum account, but Pix2Gallery2 (another .NET implementation of a Gallery2 client) will not. MyPhotoAlbum.com provides pretty much zero information regarding the fact that it uses Gallery at all, let alone which version they're using. I assumed from the number of photos that they host that they would be using Gallery2 (which was designed for that level of scaling), however I appear to be wrong. I was wondering if anybody knew anything about what one has to do to connect to MyPhotoAlbum, and what version of Gallery they're running? I know they're running a customized version, but their forums are pretty scarce on support for 3rd-party developers, and I was hoping that someone in this forum would have run into the same issue, and perhaps found a solution?

Much appreciated.

-Alex