Raging Sloth Tech

Fix PhotoStation Beta update

So in case anyone who is waiting on this hasn't noticed I updated the instructions below as I forgot and thought that PIL came with the standard python distro. Anyway the hold up with the second step is that my windows machine is being rather unsupportive. I had a hard drive corruption issue yesterday and since the reinstall it has not been shy about blue screens. The method I have already works on Unix-like OSes but I need to convert the script to an exe file for it to work on windows. So I either need to export it with py2exe or I need to write the same script in C++ and compile it for windows. I was going to do the latter but I don't think my system will be stable enough for development work for a while (formatting a 2TB drive right now and the system is pretty touchy about doing other things at the same time.) So I went with Py2exe and I'm just waiting to do some testing before releasing stage 2. Should be tomorrow at the latest.

Fix PhotoStation Beta

I'll update this post when I have more. I'm helping someone on windows get their photos uploaded and this is the first stage in the process. Here are the instructions for this part:
  1. Install python on whatever OS you like (this stage works on any OS or at least should :) );
  2. Install the Python imaging library (forgot you had to do this separate so if you tried the script and it didn't work this is probably what's wrong.) http://www.pythonware.com/products/pil/
  3. Take the photos that you have and put them in a directory by themselves. It is ok to have subfolders. symbolic and hard links are a bad idea;
  4. Download the script here;
  5. Run this script with the working directory set to the directory you just made. The easiest way to do this is to paste the script in the same directory as the images then go into a shell (cmd on windows or the shell on a Unix-like OS) navigate to that directory and run the script.
  • This is going to make thumbnail jpegs in a folder called customThumbs (because I was testing something and forgot to change it back the first version I put up will make it customThumbs2 please rename this folder to customThumbs if you used that version :)) and fill it with folders and .jpg2 files. These are just regular jpegs I used jpg2 so if you add more images to the folder and rerun the script it won't make thumbnails of the thumbnails. Right now the script will remake all thumbnails though, it doesn't check to see if they already exist.
  • These files are provided as is with no warranty of any nature
  • This doesn't touch videos and only works on jpegs. If you have RAW photos you'll need to convert them to jpegs. Personally I keep my RAWs backed up to a different folder then put my mastered jpegs on the photo station after all the thumbnails will all be jpegs regardless
  • Link to original article
  • If you're reading this please contact Synology and ask them to give me the details of the photo uploading protocol it would make this a lot easier, I asked them here search the page for RagingSloth

Still not dead haven't given up

So this article is taking a while longer than I thought. Summer is a busy time for my job and I was assigned a few secondary positions in the last couple of months. I have made some progress but the big question is how to make it simple for people to use. It is simple for me right now but I'm a computer engineer who happens to have written it :) I asked Synology for information on the upload protocol here: http://blog.synology.com/blog/?p=221 (search for RagingSloth on the page) and never heard anything (I really don't know why they would keep it secret?) If you're reading this right now please contact Synology and ask them to give me the details so I can make a really good photo uploader app. Right now I rely on altering the synology photo uploader and a two step process that would take me a while to explain and isn't as efficient as I can make it (though it is massively faster than the synology one which does a really bad job of managing memory, pipelining and making use of multiple cores.)

Not dead and Synology Uploader still coming

I'm not overly surprised that no one from Synology has contacted me about the protocol to up load photos with thumbnails. That being said I have started work on a simpler photo uploader but unfortunately my first efforts were a very disappointing experience with Kivy. It seems to have a lot of promise for simple apps but right now it seems to be mostly useful for games. Many of the widgets are still experimental including the scroll area and the tree view (which seem rather necessary to me) and at least the version I have registers all mouse events as clicks, for example having the cursor over a button and using the scroll wheel… I did like the current implementation of the file browser though. So anyway I'm going back to wxPython and hopefully I'll have something ready soon.