richq / folders2flickr

Upload files to flickr
Other
102 stars 38 forks source link

Feature: personalized upload date #31

Open alitaker opened 10 years ago

alitaker commented 10 years ago

Hi, I used to use a nice online tool that let you change the upload dates of the pictures in batch ( http://www.h4ppy.com/h4ppier-photos-widget.php ) . Now the site is offline, but I would still need to have the upload date personalized when synching with folders2flickr. Would it be possible to add this feature? To simplify the feature we could add for example a config flag that would set the upload date as the taken date. (not sure if there is a date upload parameter during upload mode, but I know from the website above it's possible in edit mode)

Thank you.

richq commented 10 years ago

It's doable I think, but not in the upload it'd have to be an extra call afterwards. The flickr calls are terribly slow though I don't know how practical it'd be. For my own reference, these are the links. For the upload https://www.flickr.com/services/api/upload.api.html and the api call that would be needed is this one per photo https://www.flickr.com/services/api/flickr.photos.setDates.html

alitaker commented 10 years ago

The fact is that Flickr uses the upload date for a lot of operations, but when I bulk upload pictures of months/years ago, it becomes a mess. Sets (Albums) are a must, but I'd like to have the upload date with a close-to-real value

Anyway thanx for the suggestions... will have to figure out the implementation, then if you like I can make a pull request with the modifications.

I was thinking of enabling an option in the ini conf file and have for example the options:

I also saw there is an accuracy factor, which could be nice if one would like to set a specific day, but use only the month/year... but let's start simple ;-)