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

Slurm

MP Donator
  • Premium Supporter
  • December 16, 2006
    301
    33
    57
    Graz
    Home Country
    Austria Austria
    Re: WifiRemote - a tcp remote control server 0.1 [2011-05-05]

    On some videos I get this error with activated plugin which crashes MP:

    Code:
    2011-06-01 18:44:54.100781 [ERROR][(39)]: MediaPortal: Unhandled exception occured
    2011-06-01 18:44:54.395703 [ERROR][(39)]: Exception   :Newtonsoft.Json.JsonSerializationException: Error getting value from 'Speed' on 'WifiRemote.MessageNowPlayingUpdate'. ---> System.Runtime.InteropServices.COMException (0x8001010A): Durch den Messagefilter wurde angezeigt, dass die Anwendung ausgelastet ist. (Ausnahme von HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER))
       bei WMPLib.IWMPSettings.get_rate()
       bei MediaPortal.Player.AudioPlayerWMP9.get_Speed()
       bei GetSpeed(Object )
       bei Newtonsoft.Json.Serialization.DynamicValueProvider.GetValue(Object target)
       --- Ende der internen Ausnahmestapelüberwachung ---
       bei Newtonsoft.Json.Serialization.DynamicValueProvider.GetValue(Object target)
       bei Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContract collectionValueContract)
       bei Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContract collectionValueContract)
       bei Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value)
       bei Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value)
       bei Newtonsoft.Json.JsonConvert.SerializeObject(Object value, Formatting formatting, JsonSerializerSettings settings)
       bei WifiRemote.WifiRemote.DoNowPlayingUpdate()
       bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       bei System.Threading.ThreadHelper.ThreadStart()
    2011-06-01 18:44:54.397656 [ERROR][(39)]: Exception   :Error getting value from 'Speed' on 'WifiRemote.MessageNowPlayingUpdate'.
    2011-06-01 18:44:54.398632 [ERROR][(39)]:   site      :System.Object GetValue(System.Object)
    2011-06-01 18:44:54.401562 [ERROR][(39)]:   source    :WifiRemote
    2011-06-01 18:44:54.403515 [ERROR][(39)]:   stacktrace:   bei Newtonsoft.Json.Serialization.DynamicValueProvider.GetValue(Object target)
       bei Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContract collectionValueContract)
       bei Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContract collectionValueContract)
       bei Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value)
       bei Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value)
       bei Newtonsoft.Json.JsonConvert.SerializeObject(Object value, Formatting formatting, JsonSerializerSettings settings)
       bei WifiRemote.WifiRemote.DoNowPlayingUpdate()
       bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       bei System.Threading.ThreadHelper.ThreadStart()
     

    Shukuyen

    Community Plugin Dev
  • Premium Supporter
  • May 8, 2008
    557
    300
    Lake of Constance
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #32
    Re: WifiRemote - a tcp remote control server 0.1 [2011-05-05]

    Thanks, slurm, I added some exception handling for the next version for this parameter. Not sure if it won't happen with other params, but it is worth a try.
    Stuff like that should be catched by the g_Player in my opinion ...
     

    soundman33

    Portal Member
    January 20, 2011
    7
    0
    München
    Home Country
    Germany Germany
    AW: WifiRemote - a tcp remote control server 0.1 [2011-05-05]

    Hi Shukuyen,
    thanks for this great plugin and chouchpotato im using both and i love them.

    Now im tyring to control MP with a regular Browser (Firefox). I´m alreay able to send some json objects with jquery. But im getting no answer. I think my problem is that i´m not connected. Could you tell me how the connection works. Cause it isnt shown in the Wifiremote Demo log. This would realy great.

    Thanks in advance
    soundman33

    E:

    Thats my jquery script maybe it can help you unterstand my problem...

    Code:
    			$.ajax({
       type: "GET",
       url: "http://192.168.178.31:8017/",
       data: {
        "Type":"identify",
        "Name":"Browser",
        "Application":"Homecontrol",
        "Version":"0.1"},
       success: function(data) {
        alert('Load was performed.');
      },
    
     			});
     

    Shukuyen

    Community Plugin Dev
  • Premium Supporter
  • May 8, 2008
    557
    300
    Lake of Constance
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #34
    Re: WifiRemote - a tcp remote control server 0.1 [2011-05-05]

    Hi soundman33,

    WifiRemote listens for socket connections and plain messages seperated by \r\n. I don't know if that will work with a GET ajax request? Maybe "The3rdMan" (MP forum name) can help you, as far as I know he is developing a webbrowser client ...
     

    rleins

    New Member
    December 18, 2009
    2
    0
    Home Country
    Germany Germany
    Re: WifiRemote - a tcp remote control server 0.1 [2011-05-05]

    Hi,

    i tried to install this plugin for using it with Couchpotatoe on my iPad.

    Unfortunately the installation of Bonjour does nothing (resp. the click on the install-button). Is it possible to retreive the direct link to the bonjour installer?
    That would be very nice.

    thx in advance
     

    cubii

    Portal Pro
    November 1, 2006
    627
    32
    48
    AW: WifiRemote - a tcp remote control server 0.2 [2011-05-05]

    hi shukuyen,

    Do you know if somebody plans to use wifiremote for a webremote (Browser Remote)? I am interested in having a small website with just nowplaying information (Perhaps also tv-server status like recording etc) and perhaps stop play next as controls. (ipiimp is to much for that)

    is tv server status even possible?(because its a media portal plugin and tvserver plugin)

    thanks cubii
     

    Shukuyen

    Community Plugin Dev
  • Premium Supporter
  • May 8, 2008
    557
    300
    Lake of Constance
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #38
    Re: AW: WifiRemote - a tcp remote control server 0.2 [2011-05-05]

    hi shukuyen,

    Do you know if somebody plans to use wifiremote for a webremote (Browser Remote)? I am interested in having a small website with just nowplaying information (Perhaps also tv-server status like recording etc) and perhaps stop play next as controls. (ipiimp is to much for that)

    is tv server status even possible?(because its a media portal plugin and tvserver plugin)

    thanks cubii

    Hi cubii,

    I heard from two community members who were talking about programming web clients, but I don't know how those are going. TV Server status information is not possible yet, but we would also like to integrate that. Just have to find out how it works, if someone has knowledge in the tv service area and would like to contribute please drop me a line :)

    Bye,
    Shukuyen
     

    ronzelver

    MP Donator
  • Premium Supporter
  • March 13, 2008
    97
    5
    Sittard
    Home Country
    Netherlands Netherlands
    Re: WifiRemote - a tcp remote control server 0.2 [2011-05-05]

    Oops wrong topic for this post
     

    zarzura

    New Member
    July 1, 2011
    1
    0
    Home Country
    Germany Germany
    AW: WifiRemote - a tcp remote control server 0.2 [2011-05-05]

    dear all,


    ineed some help to set up the MediaPortal with an "Ipad Remote"

    im just new to all this Media Portal and CouchPotato stuff and i have the following problem. I want to use an Ipad as Remote but it doesnt work. I ve installed the app at the ipad and the plugin for wifi remote but i cant get an connection to the MP server. I use MP 1.1.3.0 in a win7 64bit System. I would be glad if someone can help. Which further information do you need ?

    zarzura
     

    Users who are viewing this thread

    Top Bottom