Pi Uploader | Uploading and Photoset population with Flickr

Here’s a video!

So now, when in Flickr Upload mode, the program will:

1. Walk through all Sub-Directories and find every image file

2. Upload all of those photos to Flickr

3. Get the photo ID’s of each of those photos and then index them into a list

4. Use that list to create a Photoset (Flickr’s equivalent of a Photo Album) named after the time the photos were uploaded.

As I said in the video, I want eventually (if the weather stays this bad, tomorrow) add email functionality to the program so it will send the user an email when all of the photos have been uploaded / the set of those photos.

Here’s the source used in the video:

Hey! This post was written a long time ago, but I'm leaving it up on the off-chance it may help someone. Proceed with caution. It may not be a good idea to blindly integrate this code or work into your project, but instead use it as a starting point.

1 Comment

  1. In my case I got an Error in line 75: set_id = json_string.split(‘”‘)[5]

    json_string is actually a bytearray. And I first converted it to string and used it:

    set_id = json_string.decode(‘utf8’).split(‘”‘)[5]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.