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
Development
General Development (no feature request here!)
TVServer connection status
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="mm1352000" data-source="post: 1093214" data-attributes="member: 82144"><p>Why abused?</p><p></p><p></p><p>You seem to be assuming that some other process will always be running to ensure that _isRemotingConnected has the correct/true value. IMO that assumption is not necessarily correct. That is why I think you should use RemoteControl.Instance.* (like the TV plugin, MP configuration etc.) if you actually need to get information from the server. If the server is not present then yes you will have the timeout delay... but if you're worried about timeouts, simply don't make the call from threads that you don't want to be blocked. Minidisplay should have its own background thread for updating the recording and timeshifting status. It should definitely not do it in the UI thread, because that would block rendering the MP UI (!!!).</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1093214, member: 82144"] Why abused? You seem to be assuming that some other process will always be running to ensure that _isRemotingConnected has the correct/true value. IMO that assumption is not necessarily correct. That is why I think you should use RemoteControl.Instance.* (like the TV plugin, MP configuration etc.) if you actually need to get information from the server. If the server is not present then yes you will have the timeout delay... but if you're worried about timeouts, simply don't make the call from threads that you don't want to be blocked. Minidisplay should have its own background thread for updating the recording and timeshifting status. It should definitely not do it in the UI thread, because that would block rendering the MP UI (!!!). [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
TVServer connection status
Contact us
RSS
Top
Bottom