INTERACT FORUM

Please login or register.

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

Author Topic: Polling JRiver  (Read 699 times)

MagnaCartaHG

  • Recent member
  • *
  • Posts: 9
Polling JRiver
« on: April 15, 2021, 09:19:56 pm »

Hi,

I'm trying to get information about what Mc is playing to display status in a different context.

What's the best approach to polling for info without affecting the performance of MC.

Is the rest API the best way, DLNA, MCC commands, some way to hook into a C++ API? Something else?

Thanks
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71470
  • Where did I put my teeth?
Re: Polling JRiver
« Reply #1 on: April 15, 2021, 10:01:17 pm »

Logged

MagnaCartaHG

  • Recent member
  • *
  • Posts: 9
Re: Polling JRiver
« Reply #2 on: April 16, 2021, 01:04:52 am »

Thanks for the quick response. The MCWS call to Playback.Info is indeed very fast so that should work.

Are there any limitations you can think of on the MCWS side if a lot of clients are calling Playback.Info every second?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71470
  • Where did I put my teeth?
Re: Polling JRiver
« Reply #3 on: April 16, 2021, 06:30:40 am »

I wouldn't expect any problems, but you'll have to try it.
Logged
Pages: [1]   Go Up