Kaleidescape Owners' Forum   Kaleidescape, Inc. Kaleidescape, Inc.

Go Back   Kaleidescape Owners' Forum > Hardware & Setup Threads > Remotes, Automation, and Control Systems

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old Dec 28th, 2015
appliedautomation appliedautomation is offline
Senior Member
 
Join Date: Jan 2015
Posts: 133
Default Play a particular movie??

Hi,
Im trying to find a command which I can send from a control system to a kaleidescape system to play any particular movie.

I have a list of movie handles, which I would like to play on command.

This must be possible as the official app does this as well as some third party apps.

Thanks
__________________
www.appliedhomeautomation.co.uk
Reply With Quote
  #2  
Old Dec 29th, 2015
appliedautomation appliedautomation is offline
Senior Member
 
Join Date: Jan 2015
Posts: 133
Default

I've got this working now, thanks.
__________________
www.appliedhomeautomation.co.uk
Reply With Quote
  #3  
Old Feb 15th, 2016
JoshATX JoshATX is offline
Member
 
Join Date: May 2015
Posts: 26
Default

How did you go about getting a list of movie handles. I haven't yet found a super elegant way to do this in real time.
Reply With Quote
  #4  
Old Feb 15th, 2016
appliedautomation appliedautomation is offline
Senior Member
 
Join Date: Jan 2015
Posts: 133
Default

Turns out I didn't get it fully working.....

I did it the same way the iPad app works using a http JSON request to download all the details of all films in a matter of seconds, this gives you meta data etc and a movie ID as well which you can use to play a movie.

How ever, you need a session ID to authenticate with the server, to do the http request and to send the play command. This is not something KS gives out so i have no way of creating my own session with the server. I tested using the session ID given to the iPad app at the time. Obviously this session expires in a short space of time.

Romie remote works in the same way.

Sadly I've had to put the project on the shelf because of this, if KS ever release the needed info I'll give it another go.

Thanks.
__________________
www.appliedhomeautomation.co.uk
Reply With Quote
  #5  
Old Mar 19th, 2017
stephen stephen is offline
Member
 
Join Date: Nov 2014
Posts: 54
Default

I am interested in how you got the json response to get the details of all the movies. I can handle the session ID part.

Also how can you play a particular movie with that ID? I have been going through the ControlProtocolReference Manual
Reply With Quote
  #6  
Old Mar 23rd, 2017
stephen stephen is offline
Member
 
Join Date: Nov 2014
Posts: 54
Default

Not sure where the person that left the code's comment went....... But thank you that helped me get the JSON instead of using curl to downoad the page and then parse it.

As for playing the movie by ID I am still working on that part. I would love to use the telnet / bash script / or php to do it. Can anyone help a brother out?
Reply With Quote
  #7  
Old Mar 23rd, 2017
cinelife cinelife is offline
 
Join Date: Jul 2006
Location: Florida, Indiana, California, Honolulu
Posts: 3,242
Default

Quote:
Originally Posted by stephen View Post
Not sure where the person that left the code's comment went.......

There is no problem with members stating they have a particular code available, or are seeking a particular code, but please use private messaging (or emails) to share the code with interested members. Thank you.




Jim
Reply With Quote
  #8  
Old Mar 24th, 2017
cmw cmw is offline
Member
 
Join Date: Oct 2015
Posts: 35
Default

Great. In that case if you need help with any kscape API's feel free to reach out to me.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:45 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright ?2006 - KscapeOwners.com.
THIS SITE IS NOT OWNED BY, OPERATED BY, OR AFFILIATED IN ANY WAY WITH KALEIDESCAPE INC.
"Kaleidescape" is a trademark of Kaleidescape, Inc.; it is registered in some jurisdictions.