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

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi,

    It seems on latest MP master there is an issue with the plugins :
    [2013-11-07 00:33:09,947] [Log ] [BASS ] [ERROR] - Exception: Newtonsoft.Json.JsonSerializationException: Error getting value from 'MediaInfo' on 'WifiRemote.MessageNowPlaying'. ---> System.MissingMethodException: Metoden hittades inte: System.String MediaPortal.Music.Database.Song.get_WebImage().
    vid WifiRemote.NowPlayingMusic..ctor(Song song)
    vid WifiRemote.MessageNowPlaying.get_MediaInfo()
    vid GetMediaInfo(Object )
    vid Newtonsoft.Json.Serialization.DynamicValueProvider.GetValue(Object target)
    --- Slut på stackspårning för interna undantag ---
    vid Newtonsoft.Json.Serialization.DynamicValueProvider.GetValue(Object target)
    vid Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContract collectionValueContract)
    vid Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContract collectionValueContract)
    vid Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value)
    vid Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value)
    vid Newtonsoft.Json.JsonConvert.SerializeObject(Object value, Formatting formatting, JsonSerializerSettings settings)
    vid WifiRemote.SocketServer.SendNowPlayingToAllClients()
    vid WifiRemote.WifiRemote.g_Player_PlayBackStarted(MediaType type, String filename)
    vid MediaPortal.Player.g_Player.StartedHandler.Invoke(MediaType type, String filename)
    vid MediaPortal.Player.g_Player.OnStarted()
    vid MediaPortal.MusicPlayer.BASS.BassAudioEngine.OnMusicStreamMessage(Object sender, StreamAction action)
    vid MediaPortal.MusicPlayer.BASS.MixerStream.<>c__DisplayClass2.<PlaybackEndProc>b__1()
    vid System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    vid System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    vid System.Threading.ThreadHelper.ThreadStart() Message: Error getting value from 'MediaInfo' on 'WifiRemote.MessageNowPlaying'. Site : System.Object GetValue(System.Object) Source : WifiRemote_TMP Inner Exception(s): -> Error getting value from 'MediaInfo' on 'WifiRemote.MessageNowPlaying'. -> Metoden hittades inte: System.String MediaPortal.Music.Database.Song.get_WebImage(). Stack Trace: vid Newtonsoft.Json.Serialization.DynamicValueProvider.GetValue(Object target)
    vid Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContract collectionValueContract)
    vid Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContract collectionValueContract)
    vid Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value)
    vid Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value)
    vid Newtonsoft.Json.JsonConvert.SerializeObject(Object value, Formatting formatting, JsonSerializerSettings settings)
    vid WifiRemote.SocketServer.SendNowPlayingToAllClients()
    vid WifiRemote.WifiRemote.g_Player_PlayBackStarted(MediaType type, String filename)
    vid MediaPortal.Player.g_Player.StartedHandler.Invoke(MediaType type, String filename)
    vid MediaPortal.Player.g_Player.OnStarted()
    vid MediaPortal.MusicPlayer.BASS.BassAudioEngine.OnMusicStreamMessage(Object sender, StreamAction action)
    vid MediaPortal.MusicPlayer.BASS.MixerStream.<>c__DisplayClass2.<PlaybackEndProc>b__1()
    vid System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    vid System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    vid System.Threading.ThreadHelper.ThreadStart()

    There is change on MP based on music so maybe someone could try to fix it for 1.6.0 Pre-release (coming soon).
    @ plugin dev : you can use that build for testing : http://tinyurl.com/oscjecn :)
     

    CypherMK

    MP Donator
  • Premium Supporter
  • March 11, 2009
    1,735
    617
    Home Country
    Netherlands Netherlands
    Hi,

    It seems on latest MP master there is an issue with the plugins :
    [2013-11-07 00:33:09,947] [Log ] [BASS ] [ERROR] - Exception: Newtonsoft.Json.JsonSerializationException: Error getting value from 'MediaInfo' on 'WifiRemote.MessageNowPlaying'. ---> System.MissingMethodException: Metoden hittades inte: System.String MediaPortal.Music.Database.Song.get_WebImage().
    vid WifiRemote.NowPlayingMusic..ctor(Song song)
    vid WifiRemote.MessageNowPlaying.get_MediaInfo()
    vid GetMediaInfo(Object )
    vid Newtonsoft.Json.Serialization.DynamicValueProvider.GetValue(Object target)
    --- Slut på stackspårning för interna undantag ---
    vid Newtonsoft.Json.Serialization.DynamicValueProvider.GetValue(Object target)
    vid Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContract collectionValueContract)
    vid Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContract collectionValueContract)
    vid Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value)
    vid Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value)
    vid Newtonsoft.Json.JsonConvert.SerializeObject(Object value, Formatting formatting, JsonSerializerSettings settings)
    vid WifiRemote.SocketServer.SendNowPlayingToAllClients()
    vid WifiRemote.WifiRemote.g_Player_PlayBackStarted(MediaType type, String filename)
    vid MediaPortal.Player.g_Player.StartedHandler.Invoke(MediaType type, String filename)
    vid MediaPortal.Player.g_Player.OnStarted()
    vid MediaPortal.MusicPlayer.BASS.BassAudioEngine.OnMusicStreamMessage(Object sender, StreamAction action)
    vid MediaPortal.MusicPlayer.BASS.MixerStream.<>c__DisplayClass2.<PlaybackEndProc>b__1()
    vid System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    vid System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    vid System.Threading.ThreadHelper.ThreadStart() Message: Error getting value from 'MediaInfo' on 'WifiRemote.MessageNowPlaying'. Site : System.Object GetValue(System.Object) Source : WifiRemote_TMP Inner Exception(s): -> Error getting value from 'MediaInfo' on 'WifiRemote.MessageNowPlaying'. -> Metoden hittades inte: System.String MediaPortal.Music.Database.Song.get_WebImage(). Stack Trace: vid Newtonsoft.Json.Serialization.DynamicValueProvider.GetValue(Object target)
    vid Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContract collectionValueContract)
    vid Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContract collectionValueContract)
    vid Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value)
    vid Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value)
    vid Newtonsoft.Json.JsonConvert.SerializeObject(Object value, Formatting formatting, JsonSerializerSettings settings)
    vid WifiRemote.SocketServer.SendNowPlayingToAllClients()
    vid WifiRemote.WifiRemote.g_Player_PlayBackStarted(MediaType type, String filename)
    vid MediaPortal.Player.g_Player.StartedHandler.Invoke(MediaType type, String filename)
    vid MediaPortal.Player.g_Player.OnStarted()
    vid MediaPortal.MusicPlayer.BASS.BassAudioEngine.OnMusicStreamMessage(Object sender, StreamAction action)
    vid MediaPortal.MusicPlayer.BASS.MixerStream.<>c__DisplayClass2.<PlaybackEndProc>b__1()
    vid System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    vid System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    vid System.Threading.ThreadHelper.ThreadStart()

    There is change on MP based on music so maybe someone could try to fix it for 1.6.0 Pre-release (coming soon).
    @ plugin dev : you can use that build for testing : http://tinyurl.com/oscjecn :)

    Is anyone working on this :whistle:
     

    MacGyverek

    Portal Pro
    January 27, 2010
    144
    23
    Rydułtowy
    Home Country
    Poland Poland
    Hi...

    I have problem with load a plugin. I don't know where problem is.

    Code:
    [2013-11-23 12:17:20,516] [Error  ] [MPMain  ] [ERROR] - Exception while loading IPlugin instances: WifiRemote.WifiRemote
    [2013-11-23 12:17:20,526] [Error  ] [MPMain  ] [ERROR] - System.InvalidCastException: Nie można rzutować obiektu typu 'WifiRemote.WifiRemote' na typ 'MediaPortal.GUI.Library.IPlugin'. w MediaPortal.GUI.Library.PluginManager.LoadPlugin(String strFile)
    [2013-11-23 12:17:20,526] [Error  ] [MPMain  ] [ERROR] - Nie można rzutować obiektu typu 'WifiRemote.WifiRemote' na typ 'MediaPortal.GUI.Library.IPlugin'.
    [2013-11-23 12:17:20,536] [Error  ] [MPMain  ] [ERROR] -    w MediaPortal.GUI.Library.PluginManager.LoadPlugin(String strFile)

    I have 2 HTPC with the same version of MP. Only on 1 HTPC I have this problem. On second one working good!!!!
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi, i have compiled the source against 1.6.0 Pre-Release (attached) don't know if it works but worth a try :)
    Attached 2 files (dll only and MPE1 installer)
     

    Attachments

    • WifiRemote_0.7.1-Testing_Only.mpe1
      379 KB
    • WifiRemote_Release.zip
      651.4 KB

    CypherMK

    MP Donator
  • Premium Supporter
  • March 11, 2009
    1,735
    617
    Home Country
    Netherlands Netherlands
    Hi, i have compiled the source against 1.6.0 Pre-Release (attached) don't know if it works but worth a try :)
    Attached 2 files (dll only and MPE1 installer)

    I will try this when I have some time. But I forgot how to trigger the problem with this plugin, lol :-P

    I just have to play music and wait for a crash, right?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi, i have compiled the source against 1.6.0 Pre-Release (attached) don't know if it works but worth a try :)
    Attached 2 files (dll only and MPE1 installer)

    I will try this when I have some time. But I forgot how to trigger the problem with this plugin, lol :-P

    I just have to play music and wait for a crash, right?

    I think :) I just see a post where a guy get crash after playing music, so i would say yes :)
    I have installed the plugin and start music and no crash for me :)
     

    CypherMK

    MP Donator
  • Premium Supporter
  • March 11, 2009
    1,735
    617
    Home Country
    Netherlands Netherlands
    Hi, i have compiled the source against 1.6.0 Pre-Release (attached) don't know if it works but worth a try :)
    Attached 2 files (dll only and MPE1 installer)

    I will try this when I have some time. But I forgot how to trigger the problem with this plugin, lol :-P

    I just have to play music and wait for a crash, right?

    I think :) I just see a post where a guy get crash after playing music, so i would say yes :)
    I have installed the plugin and start music and no crash for me :)

    Untill now everything looks ok. Have been running music since 6 hours and it is still playing. :)
     

    Users who are viewing this thread

    Top Bottom