INTERACT FORUM

Please login or register.

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

Author Topic: MCWS: Files/SetInfo with multiple values and commas  (Read 546 times)

DrKNo

  • World Citizen
  • ***
  • Posts: 201
MCWS: Files/SetInfo with multiple values and commas
« on: August 06, 2020, 11:44:18 am »

Im using Files/SetInfo to set all changed values of a File at once. If for example a genre contains a comma, the server returns a http 500 code, probably because it parses the comma as a value separator according to CSV. I tried escaping the comma with a backslash, but to no avail. How can I set multiple fields in one call, if one or more fields contain a comma?

Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41934
  • Shoes gone again!
Logged
Matt Ashland, JRiver Media Center

DrKNo

  • World Citizen
  • ***
  • Posts: 201
Re: MCWS: Files/SetInfo with multiple values and commas
« Reply #2 on: August 06, 2020, 11:55:02 am »

Yes, single value calls work, probably because they are not treated as CSV. I am having problems with calls with multiple values and the List=CSV parameter set.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41934
  • Shoes gone again!
Logged
Matt Ashland, JRiver Media Center

DrKNo

  • World Citizen
  • ***
  • Posts: 201
Re: MCWS: Files/SetInfo with multiple values and commas
« Reply #4 on: August 06, 2020, 12:08:22 pm »

Works on all cases I tested so far. Thank you for the fast reply, Matt!
Logged
Pages: [1]   Go Up