Synology Assistant - inefficient photo upload!

Questions about the Synology Photo Station can be placed here.
Forum rules
This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:
https://myds.synology.com/support/suppo ... p?lang=enu

Synology Assistant - inefficient photo upload!

Postby phillips321 » Sun May 08, 2011 11:10 pm

Hi guys,

First off, before my rant please let me say that this NAS is a top piece of kit. The following is only a minor gripe likely experienced by lots of people in their first few days!

I wont claim to be a guru on the way you've programmed the Photo Uploader within Synology Assistant but it seems awfully inefficient.

The current method seems to process each photo at a time, something like:
Select photo
Create Thumb using convert
Upload photo+thumb using a php script!!!
Repeat

Note: using the php function of photostation for a batch upload is not good! Whats the need for the file in /photo/@edDir/ASST_PHOTO_UPLOAD_TMP_DIR/ASST_TMP_* ?

Would it not be more efficient to simply batch process the entire collection of photos for processing and then upload the photos to the /photo area and then the thumbnails to where ever they are stored within the filesystem via a proper file transfer protocol (oh wait... isnt that what FTP is for!)

Dont get me wrong, i've only had the DS for 2 days and think it's a great piece of kit, it provides so much more than what other NAS sellers give. I applaud the use of linux, it seems to be implemented well and the system seems pretty secure. (I'll be performing security testing in my own time against my box - anything i find i'll disclose in the correct manner).

Cheers again but please sort this out

(or provide me with more info on the photostation file storage so that i can manually create the thumbnails and upload that way - bash scripting all the way!)
phillips321
Novice
Novice
 
Posts: 42
Joined: Wed May 04, 2011 10:41 am

Re: Synology Assistant - inefficient photo upload!

Postby phillips321 » Mon May 09, 2011 4:19 pm

Ok, scratch that. Found a decent premade linux script pre made for the job.
Credit ruchbach - http://www.nas-forum.com/forum/index.php/files/file/467-photo-thumbcreateall/

On pastebin here:
http://pastebin.com/iVcTbT4i photo_thumbHowTo.txt
http://pastebin.com/wrMRkh0M photo_thumbCreateAll.sh
http://pastebin.com/ZP61Rw4Q photo_thumbElem.sh
http://pastebin.com/kHqHpMRu photo_thumbCheckExist.sh

Best bet is to run it locally on a fast box and then upload the entire photo dir to NAS and then re-index.

This script does all the thumbnails first and then uploads just like i had originally said yesterday, maybe synology can utilise this script for linux users...
phillips321
Novice
Novice
 
Posts: 42
Joined: Wed May 04, 2011 10:41 am


Return to Photo Station

Who is online

Users browsing this forum: henkg, stowby and 2 guests