Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: control API / CLI

  1. #11
    Join Date
    Dec 2008
    Posts
    4

    Default

    @ericdlee: I'm working on this module too.

    I can't get the Crestron to receive UDP broadcasts. To set up the socket, did you use something like:

    status = SocketUDP_Enable(UDPClient,"255.255.255.255",8278) ;

    thanks,
    -jason

  2. #12
    Join Date
    Dec 2009
    Posts
    7

    Default

    Jason,

    I start listening in main. Here is my code:

    Code:
    Function Main()
    {
    SIGNED_INTEGER status;
    
        status = SocketUDP_Enable(Boxee_UDP, SERVER, UDP_PORT);
    
        if (status < 0)
    
            Print("Error listening to %s on port  %d", SERVER, UDP_PORT);
    }
    I pass SERVER and UDP_PORT as a parameter.

    It is kinda crazy that there is 3 of us working on the same thing. What do you guys think about just focusing our efforts on one bad ass module. Tom already has the google code setup. Just a thought.

    -Eric

  3. #13
    Join Date
    Dec 2008
    Posts
    4

    Default

    Eric, that's great, thanks. I was using the broadcast IP address rather than the IP address of the Boxee server. All is good now. I have it set up so that when it receives the UDP notification of MediaChanged or PlaybackStopped, it requests a full update through the TCP connection.

    I sent Tom the module, which I modified from the one he posted. I'm sure he will post it to the project page soon. I think it's a great idea to collaborate on this. I started a module for Squeezebox Server, which Tom helped with recently. It seems like Crestron can be so much better with a little teamwork.

    Now if Boxee would play more than 1 out of every 20 VOB movies I have, I would be in decent shape. I'm waiting for the next real beta release (using 0.9.20.9647 in Windows 7 at the moment) before I get too concerned.

    Also, those transport commands you posted here don't seem to work on my system.

  4. #14
    Join Date
    Dec 2009
    Posts
    7

    Default

    Jason,

    I have tested them on 0.9.20.9647 WIN and 0.9.20.9816 OSX without a hitch... When you try them in a web browser do you get a OK back or an error?
    Let me know

  5. #15
    Join Date
    Dec 2008
    Posts
    4

    Default

    They worked in the web browser. So I tried removing the space between the two closing parentheses and now all is good. Thanks again. I'm checking the code into the google project.

  6. #16
    Join Date
    Dec 2009
    Posts
    29

    Default

    hi eric, can you PM me your gmail address/account? I will add you as one of the project owners. Then we can checkin/chedkout the files via the SVN.

  7. #17
    Join Date
    Aug 2010
    Posts
    3

    Default activatewindow code for pandora?

    Hi guys,

    Do you know what the activatewindow code for Pandora is? Or maybe you could tell me where to look on my pc to find it? The wife wants to use the htpc to listen to pandora and would rather not have to bother navigating around boxee to get there.

    I am using the iRule iphone/ipad app to control stuff. www.iruleathome.com. It's working pretty well.

    It would be much appreciated.
    Thx, Lloyd
    Last edited by ldavies; August 14th, 2010 at 12:04 PM.

  8. #18

    Default

    would it be possible to find out how you are getting the media librarys to display I am working on a interface for my home automation system using proximis netremote and i can't figure out how to pull the media library or i suppose i should say I can't figure out how to access then using the webinterface i have flipped thought the wiki XBMC maybe i am missing something

    Thanks,
    Reg

  9. #19
    Join Date
    Oct 2010
    Posts
    2

    Default UDP connection

    Hey guys,

    I'm not sure if this post is still 'alive', but I'll give it a chance...

    I'm new to Boxee (just installed on my MacMini recently), but I'm a certified Crestron programmer from Israel, and I'm very interested at your module. I've downloaded the 0.12 version, and looking to expand it (and of course publish it, once I'm done, so that we can all enjoy it). Few issues I've seen so far, and I wonder if any of you has as well -

    1. I don't get any info on the UDP socket. Are there any special settings I'm missing on the Boxee side? Is there any specific ports that needs to be opened on the Mac? (I have Mac OS server, so everything is pretty much blocked until you manually open it...).

    2. When sending the currently playing command, why does the SIMPL+ module sends this - "GetCurrentlyPlaying(special:\\xbmc\web\thumb.jpg; special:\\xbmc\web\nothing.jpg)". It doesn't work... but I wonder if there's any reason for the (special...) string?

    I guess that's all for now.

    Thx,
    Omer

  10. #20

    Default

    since you are able to use the posted info could you check the code and tell me how they were pulling the current position from boxee? and if possible how they are accessing the media libraries(if it does)

    Thanks,
    Reg

Similar Threads

  1. What happens next with the GUI API/Python API ?
    By Severus in forum boxee applications
    Replies: 5
    Last Post: January 4th, 2012, 04:15 AM
  2. Web Server HTTP API - More Control
    By trentmackness in forum feature requests
    Replies: 6
    Last Post: October 28th, 2011, 02:26 AM
  3. Application to control laptop via a remote control?
    By rolltide78 in forum off-topic
    Replies: 4
    Last Post: May 30th, 2009, 11:14 PM
  4. Control audio volume with the Apple Remote Control
    By hiulit in forum feature requests
    Replies: 6
    Last Post: December 25th, 2008, 12:00 PM
  5. Volume control in Boxee has no control over actual sound
    By jsgoecke in forum boxee for mac help
    Replies: 3
    Last Post: December 8th, 2008, 08:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •