INTERACT FORUM

Please login or register.

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

Author Topic: script files using SetInfo for MCWS?  (Read 660 times)

biblio

  • Junior Woodchuck
  • **
  • Posts: 83
script files using SetInfo for MCWS?
« on: January 15, 2019, 04:33:33 pm »

I just saw the MCWS page and i think this will do what i need. I want to be able to maintain/sync play history and ratings on files between programs.

Code: [Select]
      SetInfo
         Set information about a file object.
         Parameters:
            File: The key of the file. (default: -1)
            FileType: The type of value provided in 'File' (Key: file key; Filename: filename of file). (default: Key)
            Field: The field to set. (default: )
            Value: The value to set the field to. (default: )
            List: Set to 'CSV' and comma delimit (RFC 4180) the field and value to set multiple values in one call. (default: )
            Formatted: Set to 1 if you're passing a formatted value (like a formatted date). (default: 1)

Does anyone use something like python to query their database and update the values?
Logged
Pages: [1]   Go Up