Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: simple boxee web remote (php)

  1. #1
    Join Date
    Feb 2011
    Posts
    11

    Default simple boxee web remote (php)

    Hi there!

    I've written a really simple boxee web remote for BoxeeBox in php
    It supports the json api (thanks to neveroffline )

    This app is based on xbmcfreak's xbmc remote (http://www.xbmcfreak.nl/en/xbmc-php-remote/)

    The app does exactly what I want : it only play audio files on my BoxeeBox, TV off.
    It also provide a standard remote control.

    __________________________________________________ ____
    Features :
    - browse audio library
    - start playing a single file, an album or an entire artist directory
    - fully fonctionnal remote control

    v0.3 : added dkroetsch's feature (thanx!) : new item on the main page, it allows you to send any page FROM your web browser TO you boxeebox
    __________________________________________________ ____

    Screenshots (not up to date!):





    After unzipping the archive on your webserver, start the pairing process pointing to http://youwebserver/boxee/pair.php

    enjoy!


    Download :
    simple boxee web remote v0.3


    Previous versions :
    v0.2 : simple boxee web remote v0.2
    v0.1 : simple boxee web remote v0.1


    -
    Last edited by gp4004; January 9th, 2012 at 06:49 AM.

  2. #2
    Join Date
    Dec 2011
    Posts
    1

    Default Nice Work! Here's an update

    First of all... Fantastic work! This is what boxee has been missing.

    I've "updated" your script to add the ability to "throw" links to the Boxee Box. It was pretty simple. Updates only required to index.php. I added another option on the main page, by adding:

    Code:
    	
    <li>
         <form name="input" action="index.php" method="get">
        &nbsp; Weblink: <input size="100" type="text" name="source" />
        <input type="submit" value="Submit" />
    </form> 	
    </li>
    and then after the last </div> before the </body> I added:
    Code:
    <?php
    if(!empty($_GET['source']))
    {
    	//get argument of the source
    	$location = $_GET['source'];
    
    	$request = '{"jsonrpc" : "2.0", "method": "XBMC.Play", "params" : { "file" : "' . $location . '"}, "id": 1}'; 
    	$array = jsonQuery($request); 
    
    	echo "&nbsp; going to URL: <b>" . $location . "</b>"; 
    }
    ?>
    This means I can just type a URL from any web browser in and send boxee to that web page, or play that video, etc. SUPER handy!

    Also, made a quick button for FireFox that throws the link of whatever page I'm currently surfing over to my BoxeeBox.

    Just cut and paste this code into a shortcut in FireFox, etc:
    Code:
    javascript:var%20b=document.body;if(b&&!document.xmlVersion){void(window.open('http://192.168.0.2:81/index.php?source='+location.href,'boxee_thrower'));}else{}
    Hope this is useful for others!

  3. #3
    Join Date
    Feb 2011
    Posts
    11

    Default

    Hi !

    Great job, I'm testing it and that's really cool!

    I'l package a archive asap for all the simple boxee remote users (you and me )

  4. #4
    Join Date
    Feb 2012
    Posts
    1

    Default

    Hi!
    Im trying to test your sweet little app. I just don't get where to put the files. Right now I put them on a usb-stick in the back of the box. I did the config of the config.php. And now I'm trying to run the pair.php. No luck!
    I canot figure out what my webservername is. And where to put the files.
    Thanx!

  5. #5
    Join Date
    Feb 2011
    Posts
    11

    Default

    Hi Joon!

    You need a computer running a webserver (apache, nginx...) and PHP to make this app run.

    All my medias are stored on a server running debian (eeebox), I use this server to run many services, including a webserver.

    Without a webserver, you can't run simple boxee web remote...

  6. #6
    Join Date
    Mar 2012
    Posts
    1

    Default

    I just had installed this today, when selecting songs to play it seems every second selection comes in very loud. Any possibility this is a software problem?

  7. #7
    Join Date
    Feb 2011
    Posts
    11

    Default

    hi!

    I think I have experienced the same issue before writing the app (seems to be boxxebox related)

    to avoid this :
    on your boxeebox, go to system preferencs, audio, and select "all output" in the output section.

    it should make it!

  8. #8

    Default

    This works great for me boxee box. Thank you..

    Here's where I am confused. I have all the free Android(for phone) & iOS apps (for iPad), and those can't seem to connect/pair with my boxeebox. This works great. All i changed in the config.php was the ip of where to look. I'm not using a username or password for the web stuff. So I guess that's why it works. I can't for the life of me get any Android or iOS boxee remote to find my box. Strange that this works w/ almost default options but those can't find my boxee box -- even if I point them to the IP of the box too

  9. #9
    Join Date
    Jan 2012
    Posts
    6

    Default

    Any chance to put this back online? The download link seems broken...

    I'd like to try this out :-)

  10. #10

    Default

    Quote Originally Posted by FabianMeul View Post
    Any chance to put this back online? The download link seems broken...

    I'd like to try this out :-)
    I can't post anymore with my previous account, so to be simple I have created a git repo :

    https://github.com/MonsieurPaulLeBou...eWebRemote.git

    If someone know if there is any way to host it on the boxeebox (but it requires php), it would be really great (could be done with http://boxeeplus.com/)



    @webmastir : I daily use my app since something like 2 years, 90% with my android phone : if you're connected on your wifi network, it will works using the IP of the server. If you're on 2-3-4g, you'll have to find your IP on the internet, then open ports to reach your webserver : You shouldn't to that just for simple boxee web remote
    Last edited by MonsieurPaulLeBoulanger; Yesterday at 04:39 AM.

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
  •