flickr upload support

Got a suggestion for future Synology products? Suggest it here!
We'll forward your idea to our RD department.

flickr upload support

Postby daddymadox » Tue Jan 11, 2011 4:08 pm

Hi,

Could there be a chance that you can code a flickr support? I know it's asking much I would love to get a flickr upload support. The capped upload bandwidth here in the Philippines makes it very difficult to upload video's over to flickr. I would have to leave the computer running over night just to upload a 400 mb video. I have 10 gb of video to upload at the moment that's why I was wondering if this could be a possible far future feature?

Thanks.
daddymadox
Trainee
Trainee
 
Posts: 11
Joined: Sun May 16, 2010 4:11 am

Re: flickr upload support

Postby jbrek » Sun May 15, 2011 10:00 am

Do you still need to a flickr uploader for your DiskStation? I am writing a little app in java (you must have java installed!) who looks your need.
A command line interface (without gui at the moment) who can be run in background or via crontab.
If you really need, I can adapt my app for you or give you my source code.

Bye
JBrek
jbrek
Trainee
Trainee
 
Posts: 16
Joined: Sun Apr 17, 2011 10:33 pm

Re: flickr upload support

Postby gyom » Sat Jun 25, 2011 9:46 pm

Hello, I will really appreciate if you can share with us your program.

I have been looping for it for years...

Thanks in advance

Gyom
gyom
I'm New!
I'm New!
 
Posts: 5
Joined: Fri Jul 06, 2007 10:38 am

Re: flickr upload support

Postby jbrek » Sun Jun 26, 2011 8:41 am

Hi Gyom,
What do you need exactly? my little app can actualy only synchronize in one direction: Flickr -> Photostation. It means you have to have your main photo database in flickr, not in photostation.

So my app is a downloader for photostation, not an uploader. There are few months ago I could adapt it but today I am very too busy.

If you have basis in Java, I think you could adapt my app or else you have to be patient and after you detailed your needs and I found a moment I could adapt it.

Best regards,
JBrek
jbrek
Trainee
Trainee
 
Posts: 16
Joined: Sun Apr 17, 2011 10:33 pm

Re: flickr upload support

Postby gyom » Thu Jul 28, 2011 6:43 pm

jbrek wrote:Hi Gyom,
What do you need exactly? my little app can actualy only synchronize in one direction: Flickr -> Photostation. It means you have to have your main photo database in flickr, not in photostation.

So my app is a downloader for photostation, not an uploader. There are few months ago I could adapt it but today I am very too busy.

If you have basis in Java, I think you could adapt my app or else you have to be patient and after you detailed your needs and I found a moment I could adapt it.

Best regards,
JBrek


Hello JBrek,

Unfortunately my need would be the other way around Photostation->Flickr.

The perfect solution would be to have a folder called "flickr" and that the contents synchronizes with flickr.

But I guess it is hard to track what is uploaded or not.

A very good other solution would be to have a single folder on the Syno, where each file dropped inside is uploaded (crontab) and put in an archive folder.

Unfortunately, I have no knowledge in java... But be sure that a whole community would really appreciate if you could code something...

Alternatively, I just downloaded DSM 3.2 with the exact feature I need, but with Facebook... Dear Synology guys, Would it be possible to make it possible for Flickr too ??

Cheers,

Live happily
gyom
I'm New!
I'm New!
 
Posts: 5
Joined: Fri Jul 06, 2007 10:38 am

Re: flickr upload support

Postby jbrek » Wed Aug 24, 2011 3:14 pm

Hello,

OK I understand. That's more logical in this way... I am still very busy, but I work on a fork of Jickr (a Java library for Flickr API) to add the photos upload functionnality.

I can do quickly a commandline tool (without graphical interface) with Java without any integration with the DSM but I think this not the best option. I wait for DSM 3.2 final release (not the beta) and I could try to reproduce the feature like with Facebook (I cannot try it, I have DSM 3.1 only).

What do you think? Is that too late?

Best regards
JBrek
jbrek
Trainee
Trainee
 
Posts: 16
Joined: Sun Apr 17, 2011 10:33 pm

Re: flickr upload support

Postby jbrek » Sat Sep 10, 2011 12:44 pm

Hello,

I finally wrote a little java command line tool. It's very basic but I share it maybe it could be usefull for someone.

DESCRIPTION
Java command line tool called "Syno2Flickr" allowing to upload your photos and videos to your flickr account. The process can be run in interactive or background mode.

FEATURES
- Upload photo/video to a flickr account
- Set default privacy
- Set default album
- Show account info (usage & limitations)
- Show a progress bar

INSTALLATION

1) You must have a Java Virtual Machine installed on your synology and configure the PATH of the user who execute the tool.
2) Download the zip syno2flickr.zip https://github.com/downloads/syno2flickr/syno2flickr/syno2flickr-0.1.1.zip
3) In the zip, 3 files:
    syno2flickr.jar - the tool bin
    syno2flickr.properties - configuration file
    readme - README file
4) You have to get an application key and a secret key. (url=http://www.flickr.com/services/apps/create/apply/)
5) Edit the syno2flickr.properties config file and add the application key (apiKey param) and the secret key (sharedSecret param).
6) Set the folder to sync with Flickr (syncFolder param)
7) Set the folder to archive photos/videos successfully uploaded (archiveFolder param).
8) Eventually change the another params if needed

RUN
Note: the first run must be in interactive mode because you need to register this app with your flickr account.
1) Run in interactive mode:
DiskStation> java -jar syno2flickr.jar syno2flickr.properties

2) Run in background mode (need nohup installed):
DiskStation> nohup java -jar syno2flickr.jar syno2flickr.properties >/dev/null 2>&1 &


QUESTIONS/SUGGESTIONS/BUGS
dev at jachen dot ch or in this topic


JBrek

Edit: change url of zip (bugfix)
Last edited by jbrek on Wed Mar 14, 2012 12:03 pm, edited 1 time in total.
jbrek
Trainee
Trainee
 
Posts: 16
Joined: Sun Apr 17, 2011 10:33 pm

Re: flickr upload support

Postby jx99 » Mon Feb 27, 2012 3:01 pm

JBrek,

Would you kindly post a link to the syno2flickr.zip file. The previous link no longer works. This is exactly what I need.

Thanks,
jx
jx99
I'm New!
I'm New!
 
Posts: 1
Joined: Mon Feb 27, 2012 2:56 pm

Re: flickr upload support

Postby cami » Mon Mar 12, 2012 6:24 pm

Hello Jbrek,

I would like to test your java app too if you could please upload it on an other place than MU ^^

Thanks
cami
I'm New!
I'm New!
 
Posts: 1
Joined: Mon Mar 12, 2012 5:54 pm

Re: flickr upload support

Postby jbrek » Wed Mar 14, 2012 12:01 pm

jx99 wrote:JBrek,

Would you kindly post a link to the syno2flickr.zip file. The previous link no longer works. This is exactly what I need.

Thanks,
jx


Hi,

yes I am sorry. I didn't think that Megaupload shuts down so quickly.
You can find the zip package here: https://github.com/downloads/syno2flick ... -0.1.1.zip

And the sources here: https://github.com/syno2flickr/syno2flickr

The wiki help page: https://github.com/syno2flickr/syno2flickr/wiki

Thank you for using this app. I hope it will help you.

Best regards,
JBrek
jbrek
Trainee
Trainee
 
Posts: 16
Joined: Sun Apr 17, 2011 10:33 pm

Re: flickr upload support

Postby gyom » Fri Mar 16, 2012 11:52 pm

Dear JBrek,

I installed Jamvm on my DS410j following this procedure. It is the only procedure I have found on internet to installe easyly java on the synology :

http://monkieblankie.blogspot.com/2011/04/install-java-on-synology-nas-via-ipkg.html

After that and installing Syno2Flickr (keys, folders), when launching syno2flickr I get a horrible error :


**********************************************************************
* Syno2Flickr v0.1.1 03/2012 *
* *
* https://github.com/syno2flickr/ *
**********************************************************************
Properties file 'syno2flickr.properties' loaded successfully.
java.lang.reflect.InvocationTargetException
at java.lang.reflect.VMMethod.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:327)
at jamvm.java.lang.JarLauncher.main(JarLauncher.java:50)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.VMMethod.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:327)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
at java.lang.reflect.VMMethod.invoke(Native Method)
...2 more
Caused by: java.lang.UnsatisfiedLinkError: Native library `gconfpeer' not found (as file `libgconfpeer.so') in gnu.classpath.boot.library.path and java.library.path
at java.lang.Runtime.loadLibrary(Runtime.java:763)
at java.lang.System.loadLibrary(System.java:670)
at gnu.java.util.prefs.gconf.GConfNativePeer.<clinit>(GConfNativePeer.java:283)
at gnu.java.util.prefs.GConfBasedPreferences.<clinit>(GConfBasedPreferences.java:83)
at gnu.java.util.prefs.GConfBasedFactory.<clinit>(GConfBasedFactory.java:52)
at java.lang.reflect.VMConstructor.construct(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:319)
at java.lang.Class.newInstance(Class.java:1154)
at gnu.classpath.ServiceProviderLoadingAction.run(ServiceProviderLoadingAction.java:140)
at java.security.AccessController.doPrivileged(AccessController.java:195)
at gnu.classpath.ServiceFactory$ServiceIterator.loadNextServiceProvider(ServiceFactory.java:529)
at gnu.classpath.ServiceFactory$ServiceIterator.<init>(ServiceFactory.java:435)
at gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:305)
at gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:229)
at java.util.prefs.Preferences.getFactory(Preferences.java:214)
at java.util.prefs.Preferences.userRoot(Preferences.java:156)
at java.util.prefs.Preferences.userNodeForPackage(Preferences.java:276)
at org.jickr.Auth.getDefaultAuthUser(Auth.java:214)
at ch.jachen.dev.flickr.Syno2Flickr.authenticationToFlickr(Syno2Flickr.java:157)
at ch.jachen.dev.flickr.Syno2Flickr.main(Syno2Flickr.java:298)
at java.lang.reflect.VMMethod.invoke(Native Method)
...5 more


Any idea ?

Thanks in advance

Gyom
gyom
I'm New!
I'm New!
 
Posts: 5
Joined: Fri Jul 06, 2007 10:38 am

Re: flickr upload support

Postby jbrek » Sun Mar 18, 2012 10:10 pm

Hi Gyom,

Syno2flickr does not work with Jamvm. This is a compact java virtual machine, a limited VM.

You need Java SE Embedded 6 but I don't remember how I installed it unfortunatly.

But this should work:
Download the Java SE Embedded version 6 for ARMv5 Linux on http://www.oracle.com/technetwork/java/ ... index.html and install it.

Good luck
JBrek

EDIT: you can also try this method -> http://pcloadletter.co.uk/2011/08/23/ja ... -synology/
jbrek
Trainee
Trainee
 
Posts: 16
Joined: Sun Apr 17, 2011 10:33 pm

Re: flickr upload support

Postby bernardo.fortes » Mon Nov 26, 2012 12:59 pm

Has anyone been able to pull this out ?

I really need someplace as a backup for all my photos and family videos ~300GB. Flickr sounds reasonable for it's pricing.

best regards.
bernardo.fortes
Trainee
Trainee
 
Posts: 16
Joined: Thu Sep 23, 2010 2:23 pm

Re: flickr upload support

Postby jbrek » Mon Nov 26, 2012 1:14 pm

Hi Bernado,
if you only need to backup your photos and videos I suggest you to use Amazon S3 (totally supported by DSM 3.0 and above) instead of Flickr.

Otherwise Syno2flickr should work. Did you try it?

Best regards
JBrek
jbrek
Trainee
Trainee
 
Posts: 16
Joined: Sun Apr 17, 2011 10:33 pm

Re: flickr upload support

Postby bernardo.fortes » Mon Nov 26, 2012 1:40 pm

I took a look at that, but it appears that S3 will be way more expensive than Flickr, and I'd miss the easy share photos online with family.

Syno2Flickr sounds like the way to go, but I really have little to none experience with fussing aroung with my DS. Neve installed anything apart from packages from Synology itself or Synocommunity.

Is there a "for dummies" style installation instructions for it ?
Does the Java VM mentioned above really work for this ?

The point is. I don't have enough technical knowledge to be the early adopter.
bernardo.fortes
Trainee
Trainee
 
Posts: 16
Joined: Thu Sep 23, 2010 2:23 pm

Next

Return to Feature Requests & Product Improvement Suggestions

Who is online

Users browsing this forum: No registered users and 5 guests