INTERACT FORUM

Please login or register.

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

Author Topic: Flickr: Multiple tags get concatenated  (Read 3370 times)

MP101User

  • Junior Woodchuck
  • **
  • Posts: 77
Flickr: Multiple tags get concatenated
« on: May 13, 2010, 04:34:53 pm »

Hi everyone,

After doing everything I need on my audio, I'm rolling my sleeves up and sorting out the mess that is my photo directory.

As a test, I've taken a small batch of jpegs and uploaded them to Flickr via MC15.0.32

Most of them have multiple keywords, semicolon delimited. If a photo has the keywords "Me; Bloater; Dogging" I chose the 'Use Keywords As Tags' option when I upload it to Flickr.

Flickr's tags are space delimited and in the resulting photo's tag field I see Me Bloater Dogging "Me Bloater Dogging" which results in the photo having four tags:
  • Me
  • Bloater
  • Dogging
  • MeBloaterDogging

I don't want this last tag. Is there an option, or something I'm doing wrong?

The same problem was noticed in MC14: http://yabb.jriver.com/interact/index.php?topic=55129.0

Thanks for any assistance,

M.
Logged

MP101User

  • Junior Woodchuck
  • **
  • Posts: 77
Re: Flickr: Multiple tags get concatenated
« Reply #1 on: May 17, 2010, 12:02:15 pm »

Just a little bump, as I'm not uploading anything via MC15 at the moment.

Would initially like to know if anybody else gets this problem.

Thanks,

M.
Logged

MP101User

  • Junior Woodchuck
  • **
  • Posts: 77
Re: Flickr: Multiple tags get concatenated
« Reply #2 on: May 23, 2010, 03:35:36 pm »

Ok, one more bump for a week, just to see if there's anybody else using MC to upload pics to Flickr.

If not, could somebody point me to an alternative that they use.

I want to preview some jpgs, add some tags and upload those pictures, with tags, to Flickr.

Flickr's own uploader is the closest I've come. It's nowhere near as user friendly and slick as MC, but it does tag properly.

Anything else I should look at?

Thanks,

M.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: Flickr: Multiple tags get concatenated
« Reply #3 on: September 28, 2010, 12:57:45 pm »

Flickr keywords get sent to the server like:
"keyword one", "keyword two", "keyword three"

However, it looks like it can send something like:
"keyword one", "keyword two", "keyword three",

Maybe the trailing comma confuses the server?  We'll change this in build 121 and later.  

Please let us know if it helps.  Thanks.
Logged
Matt Ashland, JRiver Media Center

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72543
  • Where did I put my teeth?
Re: Flickr: Multiple tags get concatenated
« Reply #4 on: September 28, 2010, 01:00:25 pm »

... and uploaded them to Flickr via MC15.0.32
It would be good to update that.  It's pretty old.
Logged

MP101User

  • Junior Woodchuck
  • **
  • Posts: 77
Re: Flickr: Multiple tags get concatenated
« Reply #5 on: September 28, 2010, 01:40:01 pm »

It would be good to update that.  It's pretty old.
Looks like I'll be doing just that when build 121 comes out.


I've been using MC for a while and audio-wise it did everything I wanted quite some time ago. Would love it to be able to organise my photos too...

M.
Logged

robydago

  • Citizen of the Universe
  • *****
  • Posts: 518
Re: Flickr: Multiple tags get concatenated
« Reply #6 on: September 28, 2010, 02:30:51 pm »


Did anyone check if Image Resize values set in MC are honored by Flickr?

http://yabb.jriver.com/interact/index.php?topic=59488.0

Logged

MP101User

  • Junior Woodchuck
  • **
  • Posts: 77
Re: Flickr: Multiple tags get concatenated
« Reply #7 on: October 12, 2010, 01:31:39 pm »

Now using 15.0.130 and the problem seems to have changed.

Uploaded a file with the tags "Fair" and "Sally".
The Flickr picture has only two tags now  :)
But those tags are "Fair" and "Sally Fair Sally"   :(

Great to have some progress though. Thanks for taking the time to look at it.
Happy to send an example pic through if you can't replicate.

Cheers,

M.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: Flickr: Multiple tags get concatenated
« Reply #8 on: October 12, 2010, 01:40:00 pm »

Would you be willing to use Fiddler to capture what is sent on upload to Flickr?

I would expect:
"Fair", "Sally"

I'm not sure why that would make the server unhappy, but it would be good to verify that the text above is really what is being transmitted on your machine.

Thanks!
Logged
Matt Ashland, JRiver Media Center

MP101User

  • Junior Woodchuck
  • **
  • Posts: 77
Re: Flickr: Multiple tags get concatenated
« Reply #9 on: October 12, 2010, 02:21:35 pm »

Here's (I hope) the relevant bit of Fiddler2


----------ieoau._._+2_8_GoodLuck8.3-ds0d0J0S0Kl234324jfLdsjfdAuaoei-----
Content-Disposition: form-data; name="tags"

"Fair", " Sally"
----------ieoau._._+2_8_GoodLuck8.3-ds0d0J0S0Kl234324jfLdsjfdAuaoei-----

Which produces this in flickr

Tags (add a tag)

    * Fair

    * Sally Fair Sally

      View photos from you or from everyone


Looks perhaps like I should be posting this on a flickr board?

M.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: Flickr: Multiple tags get concatenated
« Reply #10 on: October 12, 2010, 02:22:00 pm »

I got a private message about Fiddler, and thought the response might be generally useful.

In Fiddler, each request to any server gets listed in the "Web Sessions" list on the left of the program.

When you do a Flickr upload, you should see an entry go to the URL:
http://api.flickr.com/services/upload/

When you click on it, you can click the "Inspectors" tab on the right.  At the top is the request.  At the bottom is the response.

In the request, the Headers and TextView tabs will have the data we sent to Flickr.

Hopefully you can find Sally or Fair in it.

Thanks for digging into this.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: Flickr: Multiple tags get concatenated
« Reply #11 on: October 12, 2010, 02:26:19 pm »

I bet the issue is keywords with leading white space.

It looks like the Flickr uploader (our code) isn't properly trimming white space around delimiters in the keywords field, so we send:
"Fair", " Sally"

And it should be:
"Fair", "Sally"

Look for a change to this in build 133 and later.
Logged
Matt Ashland, JRiver Media Center

MP101User

  • Junior Woodchuck
  • **
  • Posts: 77
Re: Flickr: Multiple tags get concatenated
« Reply #12 on: October 12, 2010, 02:34:23 pm »

Thanks for the speedy response!

I checked my tags and MC15 consistently does this, regardless of the combination of tags I pick. And "Sally" doesn't appear as " Sally" anywhere else.

I think MC15 is adding the white space itself.

I will keep an eye open for 133.

M.
Logged

MP101User

  • Junior Woodchuck
  • **
  • Posts: 77
Re: Flickr: Multiple tags get concatenated
« Reply #13 on: October 20, 2010, 01:38:33 pm »

Tested in 15.0.136

Photo with these tags:
Bournemouth
Holiday
Max

gets uploaded to Flickr and has these tags:
Bournemouth
Holiday
Max Bournemouth Holiday Max Beach

This last keyword doesn't appear on any of my photos!

However, the photo is of a beach so either:
(1) The image recognition tagging routine surreptiotiously sliupped into the MC code is working well, or
(2) This photo used to have a tag of Beach and it is still there somewhere even though I've deleted it?

Or an option (3) that I haven't thought of.

Obviously the uploading code change has done something so thanks for spending time on this.
If I can do anything to help, please let me know!

M.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: Flickr: Multiple tags get concatenated
« Reply #14 on: October 20, 2010, 01:58:46 pm »

Do you mind trying the Fiddler sniff again, and posting the results?

I'm stumped.  Perhaps the line feed format makes a difference?

Thanks.
Logged
Matt Ashland, JRiver Media Center

MP101User

  • Junior Woodchuck
  • **
  • Posts: 77
Re: Flickr: Multiple tags get concatenated
« Reply #15 on: October 20, 2010, 03:54:26 pm »

I don't mind at all. Makes me feel like a developer - and that means I can dream about driving a Lamborghini and bedding expensive twin prostitutes whilst high on coke every night...

Here's the relevant bit - I think:

----------ieoau._._+2_8_GoodLuck8.3-ds0d0J0S0Kl234324jfLdsjfdAuaoei-----
Content-Disposition: form-data; name="tags"

"Mark", "Martha", "Zoo"
----------ieoau._._+2_8_GoodLuck8.3-ds0d0J0S0Kl234324jfLdsjfdAuaoei-----


Here's a caption bit, but I don't have captions. Could this be a problem?


----------ieoau._._+2_8_GoodLuck8.3-ds0d0J0S0Kl234324jfLdsjfdAuaoei-----
Content-Disposition: form-data; name="description"


----------ieoau._._+2_8_GoodLuck8.3-ds0d0J0S0Kl234324jfLdsjfdAuaoei-----
Content-Disposition: form-data; name="tags"

"Mark", "Martha", "Zoo"
----------ieoau._._+2_8_GoodLuck8.3-ds0d0J0S0Kl234324jfLdsjfdAuaoei-----


I'm not surprised you're stumped. Looks fine to me. Want me to send you the pic?

M.

(PS. When I understand what a "line feed format" is, do I get my prostitutes?)
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: Flickr: Multiple tags get concatenated
« Reply #16 on: October 22, 2010, 09:23:09 am »

I don't mind at all. Makes me feel like a developer - and that means I can dream about driving a Lamborghini and bedding expensive twin prostitutes whilst high on coke every night...

It's like a rap video here at JRiver.

As for the problem, look for a fix in build 138 and later.  The tags aren't supposed to be comma delimited, just space delimited.  I guess the commas used to work, but Flickr must have changed.

Thanks a lot for all your help.
Logged
Matt Ashland, JRiver Media Center

MP101User

  • Junior Woodchuck
  • **
  • Posts: 77
Re: Flickr: Multiple tags get concatenated
« Reply #17 on: October 30, 2010, 09:32:05 am »

Tested on v142 and all is good.

Thank you so much for your attention on this one! Really apreciated.

M.
Logged
Pages: [1]   Go Up