{"action":"created","issue":{"url":"https://api.github.com/repos/leocrawford/picasawebsync/issues/27","labels_url":"https://api.github.com/repos/leocrawford/picasawebsync/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/leocrawford/picasawebsync/issues/27/comments","events_url":"https://api.github.com/repos/leocrawford/picasawebsync/issues/27/events","html_url":"https://github.com/leocrawford/picasawebsync/issues/27","id":85538754,"number":27,"title":"Unable to figure out how to do simple a upload :-)","user":{"login":"nyh","id":584227,"avatar_url":"https://avatars.githubusercontent.com/u/584227?v=3","gravatar_id":"","url":"https://api.github.com/users/nyh","html_url":"https://github.com/nyh","followers_url":"https://api.github.com/users/nyh/followers","following_url":"https://api.github.com/users/nyh/following{/other_user}","gists_url":"https://api.github.com/users/nyh/gists{/gist_id}","starred_url":"https://api.github.com/users/nyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyh/subscriptions","organizations_url":"https://api.github.com/users/nyh/orgs","repos_url":"https://api.github.com/users/nyh/repos","events_url":"https://api.github.com/users/nyh/events{/privacy}","received_events_url":"https://api.github.com/users/nyh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-05T13:53:17Z","updated_at":"2015-06-05T20:00:54Z","closed_at":null,"body":"Until recently, I was using GoogleCL (https://code.google.com/p/googlecl/) to upload my photo albums to Picasaweb. Sadly, last month this stops working as Google phased out OAuth1 support, and nobody is working on upgrading GoogleCL to OAuth2. So I was happy to find out that Picasawebsync uses OAuth2, does still work.\r\n\r\nHowever, I've been unable to get it to do the simplest upload I want. What I want is to take a directory of photos, and upload it to an album with a name that I choose. I also want the ability to add photos to an existing album (bonus points if it \"syncs\" automatically figuring out which new files should be added to the album).\r\n\r\nMy first problem with picasawebsync is that when it starts, it always \"scans\" all the albums in my Picasa. I have hundreds of these albums, spanning tens of thousands of photos, so this process takes ages and constantly keeps complaining about duplicate images, I'm not even sure why. But all these old albums are not relevant to the new pictures I'm trying to upload! To solve this problem, I'm using \"--skipserver\", like this:\r\n\r\n```\r\npicasawebsync.py --skipserver '*' -v -d ~/pictures/2015/05/eilat\r\n```\r\n\r\nOne consequence of this is that this command always creates a new album - even if the album with the name it chooses already exists in picasaweb. I don't know if I was meant to do something else...\r\n\r\nMy second problem is that in the above example, picasawebsync insists to call the output folder \"Home\" (because of the \"/home\" in the path). I read the documentation about all sorts of clever album naming, but I don't really want it - I just want to choose a specific name myself. Can I do that?\r\n\r\nMy third problem is that picasawebsync insists of adding a caption to each photo - it's file name. This is really ugly, and I really don't want that. How can I disable it?\r\n\r\nThanks,\r\nNadav.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/leocrawford/picasawebsync/issues/comments/109421804","html_url":"https://github.com/leocrawford/picasawebsync/issues/27#issuecomment-109421804","issue_url":"https://api.github.com/repos/leocrawford/picasawebsync/issues/27","id":109421804,"user":{"login":"leocrawford","id":915016,"avatar_url":"https://avatars.githubusercontent.com/u/915016?v=3","gravatar_id":"","url":"https://api.github.com/users/leocrawford","html_url":"https://github.com/leocrawford","followers_url":"https://api.github.com/users/leocrawford/followers","following_url":"https://api.github.com/users/leocrawford/following{/other_user}","gists_url":"https://api.github.com/users/leocrawford/gists{/gist_id}","starred_url":"https://api.github.com/users/leocrawford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leocrawford/subscriptions","organizations_url":"https://api.github.com/users/leocrawford/orgs","repos_url":"https://api.github.com/users/leocrawford/repos","events_url":"https://api.github.com/users/leocrawford/events{/privacy}","received_events_url":"https://api.github.com/users/leocrawford/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T20:00:54Z","updated_at":"2015-06-05T20:00:54Z","body":"> However, I've been unable to get it to do the simplest upload I want. \n> What I want is to take a directory of photos, and upload it to an \n> album with a name that I choose. I also want the ability to add \n> photos to an existing album (bonus points if it \"syncs\" automatically \n> figuring out which new files should be added to the album).\n> \n> My first problem with picasawebsync is that when it starts, it always \n> \"scans\" all the albums in my Picasa. I have hundreds of these albums, \n> spanning tens of thousands of photos, so this process takes ages and \n> constantly keeps complaining about duplicate images, I'm not even \n> sure why. But all these old albums are not relevant to the new \n> pictures I'm trying to upload! To solve this problem, I'm using \n> \"--skipserver\", like this:\n> \n> picasawebsync.py --skipserver '*' -v -d ~/pictures/2015/05/eilat\n> One consequence of this is that this command always creates a new \n> album - even if the album with the name it chooses already exists in \n> picasaweb. I don't know if I was meant to do something else...\n> \n\nThe program is design to sync the whole repository, not a folder so \nit's not unexpected this doesn't work.\n\nAs a quick work around you could create a glob that matches every \ndirectory except your one, e.g. if it is called sync\n\n[!s][!y][!n][!c]\n\nI'm assuming ! works in python glob expressions, but haven't checked.\n\nIf you would like to submit a patch to handle directory syncing \nproperly I'd be keen to accept it.\n\n> My second problem is that in the above example, picasawebsync insists \n> to call the output folder \"Home\" (because of the \"/home\" in the \n> path). I read the documentation about all sorts of clever album \n> naming, but I don't really want it - I just want to choose a specific \n> name myself. Can I do that?\n> \nYes and no.\n\nThe script runs relative to the directory specified using -d, so simply \nset that to be /home/sync (or whatever directory you're trying to sync)\n> My third problem is that picasawebsync insists of adding a caption to \n> each photo - it's file name. This is really ugly, and I really don't \n> want that. How can I disable it?\n> \n\nYou may find it ugly, but it's needed if you want to do a restore or \nsync (which is its purpose). It's not hard to disable, it's just one of \ncode, so feel free to clone and modify if you wish.\n\nLeo\n\n> Thanks,\n> Nadav.\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}