INTERACT FORUM

Please login or register.

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

Author Topic: Media Center Core Commands keybind to set custom tag?  (Read 694 times)

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 478
Media Center Core Commands keybind to set custom tag?
« on: April 12, 2019, 05:11:38 am »

Hi

i have created some custom tags via the library fields options (album ratings-see attached image)
is there anyway to use the Media Center Core Commands to bind a key to set the custom tag (ie album 4 star rating)

thx!

Z
Logged

MrBiff

  • World Citizen
  • ***
  • Posts: 143
Re: Media Center Core Commands keybind to set custom tag?
« Reply #1 on: April 12, 2019, 01:48:33 pm »

No, you need to use an MCWS command for this.
Logged

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 478
Re: Media Center Core Commands keybind to set custom tag?
« Reply #2 on: April 14, 2019, 03:13:52 am »

Thx!

that can work as well! can you show me an example for that (for a custom tag?)

best

Z
Logged

MrBiff

  • World Citizen
  • ***
  • Posts: 143
Re: Media Center Core Commands keybind to set custom tag?
« Reply #3 on: April 14, 2019, 12:02:07 pm »

curl -u usename:password 'http://localhost:52199/MCWS/v1/File/SetInfo?File=30914922&FileType=Key&Field=Rating-album&Value=2'

You need to know the filekey or the filepath.  I used the filekey method (FileType=Key).
You need to properly URL encode the URL.
Logged
Pages: [1]   Go Up