home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
WifiRemote - a tcp remote control server 0.8.3 [2014-07-20]
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Shukuyen" data-source="post: 1077060" data-attributes="member: 74313"><p>I guess what you are experiencing is a timing issue. The status message gets the title from the MediaPortal skin: <a href="https://github.com//WifiRemote/blob/develop/Sources/WifiRemote/Messages/MessageStatus.cs#L96" target="_blank">https://github.com//WifiRemote/blob/develop/Sources/WifiRemote/Messages/MessageStatus.cs#L96</a></p><p>When you press play and the status message is sent the title property in the skin is probably not yet set. We are doing some "delayed" status messages in other parts of WifiRemote, maybe that would be a solution for this problem.</p><p></p><p></p><p>The nowplaying message is filled with a Song object from MediaPortal that is retrieved by this method: <a href="https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Databases/Music/MusicDatabase.Lookups.cs#L400" target="_blank">https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Databases/Music/MusicDatabase.Lookups.cs#L400</a></p><p>Not sure what's happening here in your case because if there was no Song the MediaInfo object should be null, not empty. Do you have any debug log messages that look like this? </p><p></p><p>Log.Error("MusicDatabase: Lookups: GetSongByFileName failed - strFileName: {2} - err:{0} stack:{1}", ex.Message,</p><p> ex.StackTrace, strFileName);</p></blockquote><p></p>
[QUOTE="Shukuyen, post: 1077060, member: 74313"] I guess what you are experiencing is a timing issue. The status message gets the title from the MediaPortal skin: [url]https://github.com//WifiRemote/blob/develop/Sources/WifiRemote/Messages/MessageStatus.cs#L96[/url] When you press play and the status message is sent the title property in the skin is probably not yet set. We are doing some "delayed" status messages in other parts of WifiRemote, maybe that would be a solution for this problem. The nowplaying message is filled with a Song object from MediaPortal that is retrieved by this method: [url]https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Databases/Music/MusicDatabase.Lookups.cs#L400[/url] Not sure what's happening here in your case because if there was no Song the MediaInfo object should be null, not empty. Do you have any debug log messages that look like this? Log.Error("MusicDatabase: Lookups: GetSongByFileName failed - strFileName: {2} - err:{0} stack:{1}", ex.Message, ex.StackTrace, strFileName); [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
WifiRemote - a tcp remote control server 0.8.3 [2014-07-20]
Contact us
RSS
Top
Bottom