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
Support
Watch / Listen Media
watch/edit Videos
Dynamic refresh rate under Windows 10 (I've an Amd video card)
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="Sebastiii" data-source="post: 1153383" data-attributes="member: 60104"><p>The only way where MP can rewrite the screen selection is from that code : </p><p>It's when we are going to GUI setting from skin, will try to see if it's the culprit.</p><p></p><p>[CODE=C#] private void OnShowScreens()</p><p> {</p><p> var dlg = (GUIDialogMenu)GUIWindowManager.GetWindow((int)Window.WINDOW_DIALOG_MENU);</p><p> if (dlg == null)</p><p> {</p><p> return;</p><p> }</p><p> dlg.Reset();</p><p> dlg.SetHeading(496); // Options</p><p></p><p> foreach (string screen in _screenCollection)</p><p> {</p><p> dlg.Add(screen);</p><p> }</p><p></p><p> if (_screennumber < _screenCollection.Count)</p><p> {</p><p> dlg.SelectedLabel = _screennumber;</p><p> }</p><p></p><p> // Show dialog menu</p><p> dlg.DoModal(GetID);</p><p></p><p> if (dlg.SelectedLabel == -1)</p><p> {</p><p> return;</p><p> }</p><p></p><p> using (Profile.Settings xmlwriter = new Profile.MPSettings())</p><p> {</p><p> xmlwriter.SetValue("screenselector", "screennumber", dlg.SelectedLabel);</p><p> SettingsChanged(true);</p><p> }</p><p> }[/CODE]</p><p></p><p>In mediaportal.xml :</p><p>It's that part that is rewrite : </p><p></p><p> <section name="screenselector"></p><p> <entry name="screennumber">1</entry></p><p> </section></p><p></p><p>So if you can compare if when it happen <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="Sebastiii, post: 1153383, member: 60104"] The only way where MP can rewrite the screen selection is from that code : It's when we are going to GUI setting from skin, will try to see if it's the culprit. [CODE=C#] private void OnShowScreens() { var dlg = (GUIDialogMenu)GUIWindowManager.GetWindow((int)Window.WINDOW_DIALOG_MENU); if (dlg == null) { return; } dlg.Reset(); dlg.SetHeading(496); // Options foreach (string screen in _screenCollection) { dlg.Add(screen); } if (_screennumber < _screenCollection.Count) { dlg.SelectedLabel = _screennumber; } // Show dialog menu dlg.DoModal(GetID); if (dlg.SelectedLabel == -1) { return; } using (Profile.Settings xmlwriter = new Profile.MPSettings()) { xmlwriter.SetValue("screenselector", "screennumber", dlg.SelectedLabel); SettingsChanged(true); } }[/CODE] In mediaportal.xml : It's that part that is rewrite : <section name="screenselector"> <entry name="screennumber">1</entry> </section> So if you can compare if when it happen :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
watch/edit Videos
Dynamic refresh rate under Windows 10 (I've an Amd video card)
Contact us
RSS
Top
Bottom