INTERACT FORUM

Please login or register.

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

Author Topic: MCWS command for Record / Subscribe / Cancel  (Read 11486 times)

imugli

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1601
MCWS command for Record / Subscribe / Cancel
« on: May 18, 2016, 02:38:56 am »

Here's what I'm thinking...

I'd like a web interface to be able to schedule TV recordings. I'm figuring I can get a list of the guide by using a smartlist and pulling the track list for that. That will take some parsing in order to format times, dates etc., but all good.

Any chance we can get MCWS commands for Record, Subscribe and Cancel Record?

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14267
  • I won! I won!
Re: MCWS command for Record / Subscribe / Cancel
« Reply #1 on: June 18, 2016, 05:39:02 pm »

Hi Justin,
It's not clean but you can do the following now:

1) Commence Buffering
http://localhost:52199//MCWS/v1/Television/PlayChannel?Channel=309464?Zone=1?ZoneType=ID
<Response Status="OK"/>

This starts the buffering of the TV Channel to the HDD (note: the "309464" is the MC DB Key for the channel I listed above)

2) Get the key for the buffered file
http://localhost:52199//MCWS/v1/Television/GetJTVFile?Channel=309464?Zone=1?ZoneType=ID
<Response Status="OK">
<Item Name="JTVFilename">
\\MAIN\Media\Video\TV Recordings\7 Digital 2014-06-27 13-48\7 Digital 2014-06-27 13-48 - Client Playback.jtv
</Item>
<Item Name="JTVFileKey">1818575</Item>
</Response>

You can the use STOPChannel to end the recording then Import the JTV file.

Thanks
Nathan
Logged
JRiver CEO Elect

imugli

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1601
Re: MCWS command for Record / Subscribe / Cancel
« Reply #2 on: June 18, 2016, 07:34:01 pm »

Thanks Nathan,

From reading that explanation, it looks like that would do an immediate buffer / record. Is that correct?

I'd really love the ability to schedule a recording or subscription in advance.

Thanks again.

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14267
  • I won! I won!
Re: MCWS command for Record / Subscribe / Cancel
« Reply #3 on: June 18, 2016, 09:32:30 pm »

Yup you are correct - AFAIK, There is no current MCWS way to add a scheduled recording to MC (which is what you are asking).
Logged
JRiver CEO Elect
Pages: [1]   Go Up