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

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

  1. Shukuyen
    • Premium Supporter

    Shukuyen Community Plugin Dev

    Joined:
    May 8, 2008
    Messages:
    557
    Likes Received:
    209
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Lake of Constance
    Ratings:
    +261 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Will have a look at that tomorrow night!


     
    • Like Like x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Shukuyen
    • Premium Supporter

    Shukuyen Community Plugin Dev

    Joined:
    May 8, 2008
    Messages:
    557
    Likes Received:
    209
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Lake of Constance
    Ratings:
    +261 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Ok my guess what happened here is that WifiRemote tried to publish the Bonjour service while already trying to publish it. That wouldn't normally be a problem, but in this case you may have run in some kind of race condition I guess. Not really sure though. I put some checks in the code to maybe prevent that from happening.

    Are you able to reproduce the crash? Or was that a one-time thing? If you are able to reproduce it I can send you a test dll file if you want to try my fix.

    Also you have a lot of other problems in your MediaPortal.log file ... One that also has to do with WifiRemote is this:
    [WIFI_REMOTE] Could not decrypt config string!
    This happens when WifiRemote reads the username and password you set in the config from your MediaPortal.xml file and tries to decrypt them without success ... Not sure why that happens, but you should be able to fix that by having a look at the WifiRemote section in there.[DOUBLEPOST=1403642207][/DOUBLEPOST]@wilcken @wonkyd @NewbieFromHell Was your error fixed by removing the -1 plugin from the savedPlugins entry in the MediaPortal.xml file?
    @Kevin Penny Were you able to solve your problem? If not please PM me, maybe I can help you
     
    Last edited: June 24, 2014
  4. CypherMK
    • Team MediaPortal

    CypherMK Test Group

    Joined:
    March 11, 2009
    Messages:
    1,735
    Likes Received:
    297
    Gender:
    Male
    Ratings:
    +617 / 3
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Thanks for looking into this.

    This was a random crash. I remember having these crashes before, but they don't happen that often.

    What should I do? Test your fix anyway, or wait for another crash?
     
  5. Shukuyen
    • Premium Supporter

    Shukuyen Community Plugin Dev

    Joined:
    May 8, 2008
    Messages:
    557
    Likes Received:
    209
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Lake of Constance
    Ratings:
    +261 / 0
    Home Country:
    Germany Germany
    Show System Specs
    I will try to get a new version out with this fix and one for the configuration xml crash the other guys were reporting (plugins with the same plugin id, btw) soon. If it doesn't happen all the time I guess you can just wait and update :)
     
    • Like Like x 1
  6. Eggert
    • Premium Supporter

    Eggert MP Donator

    Joined:
    May 23, 2005
    Messages:
    70
    Likes Received:
    3
    Ratings:
    +4 / 0
    Hi,

    is there any way to log all the communications between the client and wifiremote?
    I just had a look in the Mediaportal.log but did only find translated messages and not the "raw" ones.

    Thanks!
    Eggert
     
  7. Shukuyen
    • Premium Supporter

    Shukuyen Community Plugin Dev

    Joined:
    May 8, 2008
    Messages:
    557
    Likes Received:
    209
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Lake of Constance
    Ratings:
    +261 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hi eggert,

    Only by compiling the plugin yourself and enabling the log statements in Core/SocketServer.cs lines 245 and 519.
     
    • Thank You! Thank You! x 1
  8. Eggert
    • Premium Supporter

    Eggert MP Donator

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

    thanks for the info!
    I'll try to get this done, never compiled anything before :D

    Eggert
     
  9. Shukuyen
    • Premium Supporter

    Shukuyen Community Plugin Dev

    Joined:
    May 8, 2008
    Messages:
    557
    Likes Received:
    209
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Lake of Constance
    Ratings:
    +261 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Let me know if you have any problems. When I find the time I can send you a dll with the changes.
     
  10. Eggert
    • Premium Supporter

    Eggert MP Donator

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

    I found a simplier way (for me) to get the log into the client software.
    I am just trying to understand what happens. I found a message which does not start with "Type" which caused my client to have unexpected errors.
    I thought every message is defined by the "Type".

    Do you know what's this about?

    Code (Text):
    1. {"MediaType":"music","MpExtId":"-1","MpExtMediaType":1,"MpExtProviderId":4,"ItemId":-1,"Album":"","AlbumArtist":"","Artist":"","BitRate":0,"BitRateMode":"","BPM":0,"Channels":0,"Codec":"","Comment":"","Composer":"","Conductor":"","DateTimeModified":"\/Date(-62135596800000+0100)\/","DateTimePlayed":"\/Date(-62135596800000+0100)\/","DiscId":0,"DiscTotal":0,"Duration":0,"Genre":"","Lyrics":"","Rating":0,"SampleRate":0,"TimesPlayed":0,"Title":"","Track":0,"TrackTotal":0,"URL":"","WebImage":"","Year":0,"ImageName":""}
    Thanks!
    Eggert
     
  11. Shukuyen
    • Premium Supporter

    Shukuyen Community Plugin Dev

    Joined:
    May 8, 2008
    Messages:
    557
    Likes Received:
    209
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Lake of Constance
    Ratings:
    +261 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hm that is part of the "nowplaying music" message and should not be a message sent by Wifiremote on its own.
    It should always be inside the "MediaInfo" property of a message with type nowplaying.

    Are you sure you are getting this standalone?
     
Loading...

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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • 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.

             

  • 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!