WifiRemote - a tcp remote control server 0.8.3 [2014-07-20] (2 Viewers)

johanj

MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    42
    Sweden Sweden
    And it does work without issues when disabling WifiRemote?

    A quick look at yout log says show a huge amount of errors in StreamMP skin with missing weather icons. The crach is out of memory.
     

    petecallaghan

    Portal Member
    January 15, 2011
    15
    2
    United Kingdom United Kingdom
    Country flag
    Hi Johan. If I disable WifiRemote it appears to work fine. I didn't spot the other issues, but I have recently upgraded from Win 7 to Win 8.1 and had to disable sleep on the LAN card to avoid network problems.

    And it does work without issues when disabling WifiRemote?

    A quick look at yout log says show a huge amount of errors in StreamMP skin with missing weather icons. The crach is out of memory.
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    42
    Sweden Sweden
    Ok, thanks.

    What you have posted might be enough but could you disable all other plugins, restart MP and reproduce the the issue so we get clean logs?
     

    Shukuyen

    Community Plugin Dev
  • Premium Supporter
  • May 8, 2008
    557
    299
    Lake of Constance
    Germany Germany
    I upgraded to 1.10 and now mp crashes at the end of the first song. logs attached. any ideas?
    It looks like you are using an outdated WifiRemote version (0.7.1.0, 0.8.3 is current). I remember fixing a bug like this some months ago. See the first post in this thread on where to get the latest version.
     

    petecallaghan

    Portal Member
    January 15, 2011
    15
    2
    United Kingdom United Kingdom
    Country flag
    for some reason i did have an old version. Updating via MP installer did not replace the old file so I manually deleted it, and the error is gone. The new file reports version 8.2.0 in file properties, not 8.3.0, despite being installed from latest version MPEI file.Thanks for your help.
     

    Tracy Oakley

    Portal Member
    January 23, 2015
    43
    4
    58
    United States of America United States of America
    Hello,
    Is there a version of the Demo Client source that includes the PlayFile command? I've been working with the Demo Client code, but have been unable to sort out how to send PlayFile (I'm a VB programmer and not c#). Are there any examples out there?

    Unless I'm missing something, it appears that wifi remote is the only way to start a specific video file from outside of MediaPortal. Is that correct?
     

    GillBates

    Portal Member
    September 3, 2006
    21
    3
    Mexico Mexico
    Hello,
    Is there a version of the Demo Client source that includes the PlayFile command? I've been working with the Demo Client code, but have been unable to sort out how to send PlayFile (I'm a VB programmer and not c#). Are there any examples out there?

    Unless I'm missing something, it appears that wifi remote is the only way to start a specific video file from outside of MediaPortal. Is that correct?
    Tracy, I had a project (ASP.Net MVC) that used that functionality, I just have to search a bit to find it if you need to check it out (it's on my work comp, and I'm off for the weekend).
    If you're developing in VB.Net and need to translate some C# code check out http://converter.telerik.com it's a free code converter between C# and VB.Net from the fine folk at Telerik. Or you could also check out http://www.icsharpcode.net/opensource/sd/ which can convert full projects from one language to another.
    Please send me a PM to remind me to search my work computer for the code.
     

    Tracy Oakley

    Portal Member
    January 23, 2015
    43
    4
    58
    United States of America United States of America
    Thank you. I actually ran the code through a converter shortly after I posted the question above. It doesn't build, but having that VB code helps a lot. I'm going to see if I can figure it out sometime this weekend.
    I'm actually trying to add this to a touch application that runs on a second monitor on the same local computer. I've got 90% of what I need using the Message plugin, but needed a way to launch specific videos. This will be used by small children, so I'm trying to give them buttons for their movies.
     

    Shukuyen

    Community Plugin Dev
  • Premium Supporter
  • May 8, 2008
    557
    299
    Lake of Constance
    Germany Germany
    I'm actually trying to add this to a touch application that runs on a second monitor on the same local computer. I've got 90% of what I need using the Message plugin, but needed a way to launch specific videos. This will be used by small children, so I'm trying to give them buttons for their movies.
    That's a great idea, I like it!
    I don't think "play file" is in the demo client. But it should be easy once you are able to send any command. Just replace the JSON sent with something like this:
    JavaScript:
    {
        "Type":"playfile",
        "FileType":"video",
        "Filepath":"Path to the file to play"
    }
    If you want to play a MovingPictures video or MP-TVSeries episode there are other commands for that. You can find a list of all available commands here.
     

    Tracy Oakley

    Portal Member
    January 23, 2015
    43
    4
    58
    United States of America United States of America
    This is what the Demo code is generating for me once I created the class for PlayFile and called it. It doesn't work. Am I missing something?


    {\"Type\":\"playfile\",\"FileType\":\"video\",\"Filepath\":\"c:\\\\Users\\\\Public\\\\Videos\\\\Aladdin.MPG\",\"FileHandler\":\"video\",\"AutologinKey\":\"0016999fa300f9cdf6fc26143d79579d\"}

    The command is being received because MP switches to the home screen. The video never starts to play though.

    I've added a section from the log. It appears that it is throwing an error and reverting back to TV mode. The command is being received and the video file is being inspected, but it fails to load.

    I think this may be relevant:

    [2015-04-26 18:06:53,589] [Log ] [30 ] [WARN ] - [WIFI_REMOTE] WifiRemote Communication Error: Unable to cast COM object of type 'System.__ComObject' to interface type 'DirectShowLib.IAMLine21Decoder'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{6E8D4A21-310C-11D0-B79A-00AA003767A7}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
     
    Last edited:

    Users Who Are Viewing This Thread (Users: 0, Guests: 2)

    OP Similar threads Forum Replies Date
    R Problem with MP1 and WifiRemote Skins and Plugins Installer (MPEI) 8
    F Remote goes tos Media Center after Media Portal Remotes 2
    D Excellent RF Remote MediaPortal 1 Talk 0
    D PS3 Bluetooth Remote Remotes 1
    henrysinn Remote - W10 Gyro by Pepper Jobs General 10
    G Remote control suggestions? MediaPortal 1 Talk 16
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    F MCE Remote has no focus General 6
    TLD Can not watch tv from remote clients Television (MyTV frontend and TV-Server) 19
    R Problems accessing MySQL database remotely MediaPortal 1 Talk 0
    D Full fuctional htpc - Silverstone Case - Digital Devices Cine S2 - SSD - IR Remote For Sale 1
    N Play a TV recording needs a double selection - twice ok on remote Television (MyTV frontend and TV-Server) 2
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    S Remote button to change audio and subtitle on / off General 10
    S Problem with Remote Control One-for-all Streamer Newcomers Forum 6
    brena MCE Remote Disable Volume Mapping Input / Output interfaces 0
    T How to add missing buttons IR Server Suite (IRSS) 0
    P MP2 TV Server crashes when starting - throws error remoting exception General 2
    A FB funktioniert plötzlich nicht mehr korrekt Allgemeines Supportforum 0
    A Let TV Server sleep whilst remote client active General Support 0
    B TV Remote Watch / Listen Media 0
    B iPhone app for MCE remote General Support 2
    T Can Emprex 3009ARF III MCE Remote Control be used to toggle Fullscreen/Windowed mode?? Remotes 7
    G [solved] Mini EPG purpose? General 2
    N [Proposal] Make text input using remote control easier MediaPortal 2 4
    Top Bottom