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!)
MP1-4720 Public method to try to fix some loadSkin error from plugin side
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="regeszter" data-source="post: 1162930" data-attributes="member: 15874"><p>Is it possible to change the core to be sync all public GUI methods?</p><p></p><p>For examlpe: <strong> // try TV</strong></p><p></p><p>[code] public static bool ShowFullScreenWindow()</p><p> {</p><p> Log.Debug("g_Player: ShowFullScreenWindow");</p><p></p><p> if (RefreshRateChanger.RefreshRateChangePending)</p><p> {</p><p> RefreshRateChanger.RefreshRateChangeFullscreenVideo = true;</p><p> return true;</p><p> }</p><p> // does window allow switch to fullscreen?</p><p> GUIWindow win = GUIWindowManager.GetWindow(GUIWindowManager.ActiveWindow);</p><p> if (!win.FullScreenVideoAllowed)</p><p> {</p><p> Log.Error("g_Player: ShowFullScreenWindow not allowed by current window");</p><p> return false;</p><p> }</p><p> // try TV</p><p> if (_showFullScreenWindowTV != null)</p><p> {</p><p> _mainThreadContext.Send(delegate</p><p> {</p><p> if (_showFullScreenWindowTV())</p><p> {</p><p> return true;</p><p> }</p><p> }, null); </p><p> }</p><p> // try Video</p><p> if (_showFullScreenWindowVideo != null && _showFullScreenWindowVideo())</p><p> {</p><p> return true;</p><p> }</p><p> // try Other</p><p> if (_showFullScreenWindowOther != null && _showFullScreenWindowOther())</p><p> {</p><p> return true;</p><p> }</p><p></p><p> Log.Debug("g_Player: ShowFullScreenWindow cannot switch to fullscreen");</p><p> return false;</p><p> }</p><p>[/code]</p><p></p><p></p><p>I did not check this. It was created by notepad. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="regeszter, post: 1162930, member: 15874"] Is it possible to change the core to be sync all public GUI methods? For examlpe: [B] // try TV[/B] [code] public static bool ShowFullScreenWindow() { Log.Debug("g_Player: ShowFullScreenWindow"); if (RefreshRateChanger.RefreshRateChangePending) { RefreshRateChanger.RefreshRateChangeFullscreenVideo = true; return true; } // does window allow switch to fullscreen? GUIWindow win = GUIWindowManager.GetWindow(GUIWindowManager.ActiveWindow); if (!win.FullScreenVideoAllowed) { Log.Error("g_Player: ShowFullScreenWindow not allowed by current window"); return false; } // try TV if (_showFullScreenWindowTV != null) { _mainThreadContext.Send(delegate { if (_showFullScreenWindowTV()) { return true; } }, null); } // try Video if (_showFullScreenWindowVideo != null && _showFullScreenWindowVideo()) { return true; } // try Other if (_showFullScreenWindowOther != null && _showFullScreenWindowOther()) { return true; } Log.Debug("g_Player: ShowFullScreenWindow cannot switch to fullscreen"); return false; } [/code] I did not check this. It was created by notepad. :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
MP1-4720 Public method to try to fix some loadSkin error from plugin side
Contact us
RSS
Top
Bottom