1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WifiRemote - a tcp remote control server 0.8.3 [2014-07-20] | Page 44

Discussion in 'MediaPortal 1 Plugins' started by Shukuyen, May 5, 2011.

  1. Eggert
    • Premium Supporter

    Eggert MP Donator

    Joined:
    May 23, 2005
    Messages:
    70
    Ratings:
    +4 / 0
    Hi Shukuyen,





    I just found another message when there was an error playing the music file:
    Code (Text):
    1. {"Heading":"","DialogText":"Abspielen nicht möglich: Hilary Hahn (Violinist), Edgar Meyer and Samuel Barber - Samuel Barber - Violin Concerto Op. 14, I Allegro","DialogType":"Dialog Ok","DialogId":2002,"DialogValue":0,"AvailableActions":["ok","cancel"]}
    No, I can only be 100% sure if I get that compiled DLL with LOGs turned on. :)
    If you have one, I'd try it.

    Regards,
    Eggert
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Shukuyen
    • Premium Supporter

    Shukuyen Community Plugin Dev

    Joined:
    May 8, 2008
    Messages:
    557
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Lake of Constance
    Ratings:
    +261 / 0
    Home Country:
    Germany Germany
    Show System Specs
    That's part of the message with type "dialog". I have the impression there is something wrong with how your client parses the messages.
    I will release the next WifiRemote version now and upload a dll with debug code for you. Will PM you a download link soon™
     
  4. Shukuyen
    • Premium Supporter

    Shukuyen Community Plugin Dev

    Joined:
    May 8, 2008
    Messages:
    557
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Lake of Constance
    Ratings:
    +261 / 0
    Home Country:
    Germany Germany
    Show System Specs
    WifiRemote 0.8.3 released!

    Changelog:
    • Bumped server version to 17
    • Added possibility to add music to playlist from file (thanks @johanj )
    • Added possibility to add music to playlist from folder (thanks @johanj )
    • Fixed order of tracks when adding albums to playlist (thanks, @Kucheek )
    • Fixed crash that could happen when the Bonjour service was tried to be published multiple times with bad timing
    • Fixed crash when plugins with identical IDs are read from MediaPortal config
     
    • Like Like x 5
    • Thank You! Thank You! x 3
  5. markcar_2000

    markcar_2000 Portal Pro

    Joined:
    July 7, 2009
    Messages:
    93
    Gender:
    Male
    Occupation:
    alaerm and cctv installer
    Location:
    new york
    Ratings:
    +1 / 1
    Home Country:
    United States of America United States of America
    Show System Specs
  6. Shukuyen
    • Premium Supporter

    Shukuyen Community Plugin Dev

    Joined:
    May 8, 2008
    Messages:
    557
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Lake of Constance
    Ratings:
    +261 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Yes, bonjour is totally optional. You can even hardcode the server address in your client.
     
  7. markcar_2000

    markcar_2000 Portal Pro

    Joined:
    July 7, 2009
    Messages:
    93
    Gender:
    Male
    Occupation:
    alaerm and cctv installer
    Location:
    new york
    Ratings:
    +1 / 1
    Home Country:
    United States of America United States of America
    Show System Specs
    .[/QUOTE]
    Yes, bonjour is totally optional. You can even hardcode the server address in your client.[/QUOTE]
    Sweet I'm slow to build it but I think mediaportal really needs a set-top box and going over the network seems better then usb.
     
  8. Shukuyen
    • Premium Supporter

    Shukuyen Community Plugin Dev

    Joined:
    May 8, 2008
    Messages:
    557
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Lake of Constance
    Ratings:
    +261 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Yes, bonjour is totally optional. You can even hardcode the server address in your client.[/QUOTE]
    Sweet I'm slow to build it but I think mediaportal really needs a set-top box and going over the network seems better then usb.[/QUOTE]
    Sounds good, let me know if you have any questions!
     
  9. TyfoonGT

    TyfoonGT Portal Member

    Joined:
    August 7, 2012
    Messages:
    29
    Gender:
    Male
    Ratings:
    +1 / 0
    Home Country:
    Netherlands Netherlands
    I would like to pass a very simple Wifiremote command via a HTTP URL. Something like {"type":"command", "command":"pauze"}. I want to use this when my doorbel rings > home automation server > execute scene (via LUA) > pauze TV

    Before encoding the URL I would expect to have something like: HTTP://serverIP:port/{"type":"command", "command":"pauze"}

    Would this work? If not what is the easiest way to get this done?
     
  10. johanj
    • Premium Supporter

    johanj Well-Known Member

    Joined:
    January 31, 2009
    Messages:
    771
    Gender:
    Male
    Ratings:
    +387 / 1
    Home Country:
    Sweden Sweden
    It's a tcp/ip interface so it will not work with a HTTP request. You need to open a tcp socket.
     
  11. TyfoonGT

    TyfoonGT Portal Member

    Joined:
    August 7, 2012
    Messages:
    29
    Gender:
    Male
    Ratings:
    +1 / 0
    Home Country:
    Netherlands Netherlands
    @johanj; I now testing the commands by getting to the service via TELNET (so I can start seeing how I can program this in LUUP). I have switched off authentication. When I try to execute a command I get the following response;

    Trying 192.168.1.40...

    Connected to 192.168.1.40.

    Escape character is '^]'.

    {"Type":"welcome","Server_Version":12,"AuthMethod":0,"MPExtendedServicesInstalled":{"MAS":true,"TAS":true,"WSS":true}}

    {"type":"command", "command":"pause"} <<--- My command

    {"Type":"authenticationresponse","Success":false,"ErrorMessage":"You need to authenticate yourself.","AutologinKey":null}

    {"Type":"welcome","Server_Version":12,"AuthMethod":0,"MPExtendedServicesInstalled":{"MAS":true,"TAS":true,"WSS":true}}
    This suggests there is a still an authentication problem. Suggestions on how to proceed?
     
    Last edited: September 2, 2014
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Like Us On Facebook

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!