INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Facebook and flickr uploader  (Read 7394 times)

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Facebook and flickr uploader
« on: November 29, 2008, 03:06:23 am »

2. Photos are being uploaded in reverse order using both the facebook and flickr uploader. (I know that they should be uploaded in reverse to make sure they show up in order, but they are actually showing up in reverse to the way they are sorted in my original playlist).

3. Also, quotation marks in the captions of photos are getting garbled when viewed on facebook.
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: Park: Facebook and flickr uploader
« Reply #1 on: December 01, 2008, 04:31:52 pm »

Hi,

Could you show me what you mean by the first item.  It is behaving exactly as I expect.  I'm not sure if what you are seeing is different or if what you expect is different.
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: Park: Facebook and flickr uploader
« Reply #2 on: December 01, 2008, 04:34:04 pm »

Whups!  I didn't realize that splitting a thread removed the original post from the original thread.  I would not have deleted all the other items from the post if I had.  Sorry.
Logged

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Re: Park: Facebook and flickr uploader
« Reply #3 on: December 02, 2008, 12:37:25 am »

Hi Darkpenguin,

The process I was using started by making a playlist of images. Then I'd send the playlist to external>flickr, but they were showing up on flickr in the opposite order to that of the playlist that I had made in MC.

I will test it again tonight.

Re: facebook. Symbols such as quote marks in captions are garbled when they are uploaded to facebook.
One more thing, could you give us the option to choose which field we want to use for the caption for facebook, like you do for flickr. That is really useful, being able to write different captions for the different audiences.
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: Park: Facebook and flickr uploader
« Reply #4 on: December 02, 2008, 10:25:46 am »

The garbled quote thing should be fixed.

Looking into the other one.
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: Park: Facebook and flickr uploader
« Reply #5 on: December 02, 2008, 10:39:48 am »

The uploads are appearing as I expect.  I think I need a couple of screen shots.
Logged

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Re: Park: Facebook and flickr uploader
« Reply #6 on: December 07, 2008, 12:08:25 pm »

Been doing some photo stuff this weekend, so will test the flickr uploader soon and report back.
Logged

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Re: Park: Facebook and flickr uploader
« Reply #7 on: December 08, 2008, 11:09:38 am »

I think I seee what is happening. The photos are being uploaded in the right order to show up in playlist order in yuor photostream. But if they are put into a set, they appear in the set in reverse order. Personally, I'd rather have them appear in the set as they do in my playlist, since that is where photos are in an organized state. The photostream is chaos anyway, so I dont mind what order they appear in there.
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: Park: Facebook and flickr uploader
« Reply #8 on: December 08, 2008, 11:36:06 am »

Hmmm....  Well we should be able to do both.
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: Park: Facebook and flickr uploader
« Reply #9 on: December 08, 2008, 03:00:35 pm »

Next build.
Logged

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Re: Park: Facebook and flickr uploader
« Reply #10 on: December 09, 2008, 08:31:40 am »

I'm getting "Upload failed" error every time I try to create a new set and upload it.
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: Park: Facebook and flickr uploader
« Reply #11 on: December 09, 2008, 10:02:27 am »

Hmmm...  That's exactly what I tested.  I'll load this build and give it a try.  Do you have a pro account?  Otherwise I think the number of sets is limited.

Did it load any of the photos?
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: Park: Facebook and flickr uploader
« Reply #12 on: December 09, 2008, 10:07:34 am »

That seems to work.  Maybe flickr was unhappy at that time.
Logged

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Re: Park: Facebook and flickr uploader
« Reply #13 on: December 09, 2008, 08:12:44 pm »

I have a pro account. I tried multiple times too.
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: Park: Facebook and flickr uploader
« Reply #14 on: December 09, 2008, 11:56:40 pm »

Did it upload any of the photos?  Or did it fail to create or add photos to the set?
Logged

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Re: Park: Facebook and flickr uploader
« Reply #15 on: December 10, 2008, 08:31:23 am »

It seems to be failing on just one of my playlists. Another that I tried uploaded ok. Can you think of any reasons why it might be doing this? Will the reason show up in the log?
Logged

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Re: Park: Facebook and flickr uploader
« Reply #16 on: December 10, 2008, 08:35:19 am »

I spoke too soon. When it finished uploading it said upload failed. But this time it actually uploaded the files but failed before doing them all. It made the set though.

I tried uploading a third playlist and it uploaded without errors. But the other two both fail. One before it even gets any images up, and the other at the half way point.
Logged

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Re: Park: Facebook and flickr uploader
« Reply #17 on: December 10, 2008, 09:33:53 am »

Ok, It seems to be just specific images that it is failing on. Here is a log of trying to upload one photo and it failing:

Code: [Select]
Media Center; Version: 13.0.88; Types: 16383
2473828: 6032: General: Starting logging: Date: 11/12/2008 00:31
2473828: 6032: General: Log Reset: Logging reset
0002234: 6032: General: CMCResourceHelper::GetIsModalPopupShowing: Main window disabled
0003797: 6032: General: CMCResourceHelper::GetIsModalPopupShowing: Menu showing
0003797: 6032: Database: CMJSearchHelper::GetResults: Search: [Media Type]=[Image]; Elapsed ms: 0.262
0003797: 6032: Reader: CInternetReader::Open: Start
0003797: 6032: Reader: CInternetReader::Open: Opening http://api.flickr.com/services/rest/?method=flickr.auth.checkToken&auth_token=72157608451894119-adf7b72b2fa9c0fe&api_sig=f6a63e3d315291b9494b2473eba8a371&api_key=c8aa3c3605f5746216469a30de82860d
0003797: 5984: Reader: CInternetReader::Thread: Start
0003797: 5984: Reader: CInternetReader::DownloadFromHTTPURL: Start
0004297: 5984: Reader: CInternetReader::DownloadFromHTTPURL: Success
0004297: 5984: Reader: CInternetReader::DownloadFromHTTPURL: Finish (500 ms)
0004297: 5984: Reader: CInternetReader::Thread: Finish (500 ms)
0004297: 6032: Reader: CInternetReader::Open: Finish (500 ms)
0004297: 6032: Reader: CInternetReader::Close: Start
0004312: 6032: Reader: CInternetReader::Close: Finish (15 ms)
0004312: 6032: Reader: CInternetReader::Open: Start
0004312: 6032: Reader: CInternetReader::Open: Opening http://api.flickr.com/services/rest/?method=flickr.people.getUploadStatus&auth_token=72157608451894119-adf7b72b2fa9c0fe&api_sig=e988cbce40aed39384653ae2a038be72&api_key=c8aa3c3605f5746216469a30de82860d
0004312: 3468: Reader: CInternetReader::Thread: Start
0004312: 3468: Reader: CInternetReader::DownloadFromHTTPURL: Start
0004812: 3468: Reader: CInternetReader::DownloadFromHTTPURL: Success
0004812: 3468: Reader: CInternetReader::DownloadFromHTTPURL: Finish (500 ms)
0004812: 3468: Reader: CInternetReader::Thread: Finish (500 ms)
0004812: 6032: Reader: CInternetReader::Open: Finish (500 ms)
0004812: 6032: Reader: CInternetReader::Close: Start
0004812: 6032: Reader: CInternetReader::Close: Finish (0 ms)
0004812: 6032: Reader: CInternetReader::Open: Start
0004812: 6032: Reader: CInternetReader::Open: Opening http://api.flickr.com/services/rest/?method=flickr.people.getPublicGroups&user_id=66925511@N00&api_sig=dc88dfa0e1a91705fbb1523d870dc7b4&api_key=c8aa3c3605f5746216469a30de82860d
0004812: 5484: Reader: CInternetReader::Thread: Start
0004812: 5484: Reader: CInternetReader::DownloadFromHTTPURL: Start
0005625: 5484: Reader: CInternetReader::DownloadFromHTTPURL: Success
0005625: 5484: Reader: CInternetReader::DownloadFromHTTPURL: Finish (813 ms)
0005625: 5484: Reader: CInternetReader::Thread: Finish (813 ms)
0005625: 6032: Reader: CInternetReader::Open: Finish (813 ms)
0005625: 6032: Reader: CInternetReader::Close: Start
0005625: 6032: Reader: CInternetReader::Close: Finish (0 ms)
0005625: 6032: Reader: CInternetReader::Open: Start
0005625: 6032: Reader: CInternetReader::Open: Opening http://api.flickr.com/services/rest/?method=flickr.people.getInfo&user_id=66925511@N00&api_sig=bc97ae23298d9822f49f408573578d32&api_key=c8aa3c3605f5746216469a30de82860d
0005625: 4776: Reader: CInternetReader::Thread: Start
0005625: 4776: Reader: CInternetReader::DownloadFromHTTPURL: Start
0006125: 4776: Reader: CInternetReader::DownloadFromHTTPURL: Success
0006125: 4776: Reader: CInternetReader::DownloadFromHTTPURL: Finish (500 ms)
0006125: 4776: Reader: CInternetReader::Thread: Finish (500 ms)
0006125: 6032: Reader: CInternetReader::Open: Finish (500 ms)
0006140: 6032: Reader: CInternetReader::Close: Start
0006140: 6032: Reader: CInternetReader::Close: Finish (0 ms)
0006140: 6032: Reader: CInternetReader::Open: Start
0006140: 6032: Reader: CInternetReader::Open: Opening http://api.flickr.com/services/rest/?method=flickr.photosets.getList&user_id=66925511@N00&api_sig=dd4daf1041bc57b560de51d89937f347&api_key=c8aa3c3605f5746216469a30de82860d
0006140: 816: Reader: CInternetReader::Thread: Start
0006140: 816: Reader: CInternetReader::DownloadFromHTTPURL: Start
0006656: 816: Reader: CInternetReader::DownloadFromHTTPURL: Success
0006656: 816: Reader: CInternetReader::DownloadFromHTTPURL: Finish (516 ms)
0006656: 816: Reader: CInternetReader::Thread: Finish (516 ms)
0006656: 6032: Reader: CInternetReader::Open: Finish (516 ms)
0006656: 6032: Reader: CInternetReader::Close: Start
0006656: 6032: Reader: CInternetReader::Close: Finish (0 ms)
0010390: 6032: General: CMCResourceHelper::GetIsModalPopupShowing: Main window disabled
0010422: 5928: Reader: CLocalReader::OpenInternal: Opening: \\HPSERVER\Photos\People\England\London\London\121_2132.jpg
0010422: 6032: Reader: CLocalReader::OpenInternal: Opening: \\HPSERVER\Public\Media Centre\MC13\links.xml
0010484: 5928: Reader: CLocalReader::Close: Closing: \\HPSERVER\Photos\People\England\London\London\121_2132.jpg
0010500: 6032: Reader: CLocalReader::Close: Closing: \\HPSERVER\Public\Media Centre\MC13\links.xml
0010500: 6032: Database: CMJSearchHelper::GetResults: Search: [media type]=audio; Elapsed ms: 0.260
0010500: 6032: Database: CMJSearchHelper::GetResults: Search: ; Elapsed ms: 0.030
0010500: 6032: Database: CMJSearchHelper::GetResults: Search: [Media Type]=[Audio],[Video]; Elapsed ms: 0.100
0010500: 6032: Database: CMJSearchHelper::GetResults: Search: [Media Type]=[Audio]; Elapsed ms: 0.083
0010500: 6032: Database: CMJSearchHelper::GetResults: Search: [Media Type]=[Video]; Elapsed ms: 0.081
0010578: 5928: Reader: CLocalReader::OpenInternal: Opening: \\HPSERVER\Photos\People\England\London\London\121_2132.jpg
0010609: 5928: Reader: CLocalReader::Close: Closing: \\HPSERVER\Photos\People\England\London\London\121_2132.jpg
0010609: 5928: General: FlickrUploader::UploadPhoto: Starting Upload
0010609: 5928: Reader: CInternetReader::Open: Start
0010609: 5928: Reader: CInternetReader::Open: Opening http://api.flickr.com/services/upload/
0010609: 2280: Reader: CInternetReader::Thread: Start
0010609: 2280: Reader: CInternetReader::DownloadFromHTTPURL: Start
0021219: 2280: Reader: CInternetReader::DownloadFromHTTPURL: Success
0021219: 2280: Reader: CInternetReader::DownloadFromHTTPURL: Finish (10610 ms)
0021219: 2280: Reader: CInternetReader::Thread: Finish (10610 ms)
0021219: 5928: Reader: CInternetReader::Open: Finish (10610 ms)
0021219: 5928: Reader: CInternetReader::Close: Start
0021219: 5928: Reader: CInternetReader::Close: Finish (0 ms)
0021219: 5928: General: FlickrUploader::UploadPhoto: Upload Photo Flickr Response - <?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
<err code="3" msg="General upload failure" />
</rsp>
0024687: 6032: General: CMCResourceHelper::GetIsModalPopupShowing: Menu showing
0025906: 6032: General: CMCResourceHelper::GetIsModalPopupShowing: Menu showing
0028390: 6032: General: CMCResourceHelper::GetIsModalPopupShowing: Main window disabled
0028390: 6032: General: RunProgram: Start
0028390: 6032: General: RunProgram: Filename: C:\Users\brian\AppData\Roaming\J River\Media Center 13\Log.txt / Parameters:
0028390: 6032: General: RunProgram: Performing ShellExecute...
0028422: 6032: General: RunProgram: Running process...
0028422: 6032: General: RunProgram: Finish (32 ms)
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: Park: Facebook and flickr uploader
« Reply #18 on: December 10, 2008, 09:37:59 am »

Neat.

What is the meta data of the photo you're uploading?  (Name, caption, description, etc. ) What is the set name?  What is the actual name of the photo you're uploading?
Logged

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Re: Park: Facebook and flickr uploader
« Reply #19 on: December 10, 2008, 09:45:05 am »

Can I send you the pics in question (they are form different cameras. I can send you one from each camera if you like).
Logged

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Re: Park: Facebook and flickr uploader
« Reply #20 on: December 10, 2008, 09:49:53 am »

Just got a new one

"Invalid signature"
"Unable to create set"
"Images uploaded succesfully"

Could it be because I had the "&" character in the set title?
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: Park: Facebook and flickr uploader
« Reply #21 on: December 10, 2008, 09:56:47 am »

It is probably the & symbol. 

Edit: removed bot lure.
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: Park: Facebook and flickr uploader
« Reply #22 on: December 10, 2008, 02:35:32 pm »

Set creation should be fixed.

Still looking at the upload issue.
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9124
Re: Park: Facebook and flickr uploader
« Reply #23 on: December 13, 2008, 01:09:32 pm »

Tried to upload 43 photos (190Mb) using the uploader. It failed twice, after 96Mb, on the same photo.
Trying to work out why, I fired up flickr's uploadr software and added the photos to that, and for some reason, it has decided that three of the photos are no good, and the first one that MC attempts to upload causes the entire job to abort...



Now, these three photos all appear to be fine. They load up in every image viewing software app I have installed here, so what's wrong?
According to Bad Peggy, these photos have "Corrupt JPEG data - 19 extraneous bytes before marker $E2" (?)
I have a hunch that this corruption occurred when I experienced yet another playingnow induced crash whilst tagging these photos. Does that sound plausible?
I've zipped the three files up, at just under 10Mb they can be downloaded from here.

Is there any way MC could check files in the same way the flickr uploadr does, or better still, do the job that bad peggy does?

Finally, one more problem is that MC's uploader is not retrieving an up-to-date list of existing sets for the "Add to set" option.

-marko.

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Re: Park: Facebook and flickr uploader
« Reply #24 on: December 15, 2008, 01:10:38 am »

I had the same thing happen with a few of my images too. Marko, have you uploaded a lot of photos to flickr using MC before? If so, and if this is the first time this kind of thing has happened to you, then I think it might be MC doing something naughty.

I had only used the MC interface to upload one album of about 20 pics before using it again recently and hitting these problems. The first time I used it, everything was fine except for the reverse order in sets issue.
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9124
Re: Park: Facebook and flickr uploader
« Reply #25 on: December 15, 2008, 01:32:09 am »

I'm not sure what has caused these "19 extraneous bytes before marker $E2"

As MC, AcdSee, XnView, Picture and Fax Viewer, Photoshop all open the "corrupt" files and read the metadata just fine, I can only assume that they have built in tolerances regarding 'extraneous bytes' and that flickr is much more stringent.

The flickr uploadr is obviously performing an integrity check on the files, probably similar to that carried out by the "bad peggy" software, and the MC uploadr is not performing the check, meaning that when the bad files hit the flickr website, it says "no way" and the entire upload is aborted.

This is the first serious upload task I've thrown at the MC uploader, and to be fair, once I'd removed the three bad files from the Q, they all went up just fine and dandy, were placed in the requested set, in the correct order.

I intend to use the MC uploader on a pretty regular basis now that my brother has emigrated to New Zealand.

I'm hoping that Matt, Bob or perhaps Yaobing might be able to shed some light as to where these extraneous bytes have come from. The three files in question were copies of the original files, created using a batch file that makes the copy, adds the _edited_1 part to the filename and opens it in photoshop. While I'm working on the file in photoshop, autoimport gets busy importing the file and all its metadata, before I save the file from photoshop, which wipes most of said metadata, but, that doesn't matter because by that time, MC has it in its database. After I save the changes, autoimport goes to work again, updating for external changes.
Somewhere in all of that, corruption has crept in. I should add at this point that I have done this with hundreds of files and these are the first three I've ran into problems with.

I'll leave bad peggy scanning the entire picture folder (14 gigs worth) while I'm sleeping and report the results later.

=====

How about existing set retrieval?
If you upload some images to a new set, MC should do as requested.
Now, try and add some more images to that new set...
Do you see it in the drop down "Add to set" list?

-marko.

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: Park: Facebook and flickr uploader
« Reply #26 on: December 15, 2008, 09:57:52 am »

If you've a means to create one of these bad files let me know.
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: Park: Facebook and flickr uploader
« Reply #27 on: December 15, 2008, 11:30:53 am »

How about existing set retrieval?
If you upload some images to a new set, MC should do as requested.
Now, try and add some more images to that new set...
Do you see it in the drop down "Add to set" list?

-marko.

Edit: The set thing will be fixed in the next build.
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9124
Re: Facebook and flickr uploader
« Reply #28 on: December 23, 2008, 12:10:12 pm »

Set MC uploading 51 photos (247Mb) and went to bed.

Everything worked out as expected with no problems what-so-ever.

Excellent feature. Thank you.

pank2002

  • Citizen of the Universe
  • *****
  • Posts: 623
Re: Facebook and flickr uploader
« Reply #29 on: December 26, 2008, 07:55:04 am »

I have not read the whole thread, but I found a couple of issues with the facebook uploader the other day.
  • It seems that there is a limit on 60 photos per album. If there is more than 60 pictures they should maybe be placed in albums more albums automatically. If there are 90 pictures the 60 first pictures are placed in "[album name] I" and the last 30 are placed in "[album name] II".
  • International character does not seem to be supported. At least I got an error using the latest MC13 (I think), when uploading something like "... På ...".
  • The Facebook uploader does not support videos. Is this intentional? I am not a Facebook user myself so I do not know if the platform support videos. If it does MC should support it somehow. From the Facebook help it seems like you need a application. I have no idea what this is, but maybe Pix01 could be used to host videos, if needed, and embed them in Facebook.

Thanks,
Rasmus
Logged
Music is life... the rest is details.
Here is a security related website: secubi.dk
Pages: [1]   Go Up