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!)
[Patch] My DVD SelectDefaultLanguage() Bug
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="FlipGer" data-source="post: 10907" data-attributes="member: 10293"><p>Hi,</p><p></p><p>regarding to this <a href="http://nolanparty.com/mediaportal.sourceforge.net/phpBB2/viewtopic.php?t=4693" target="_blank">thread</a> i took a look into the code of the DVD player.</p><p></p><p>The method GetLCID(string strLanguage) does not return the right LCID. It returns the one from CultureTypes.NeutralCultures, but it has to be the one from CultureTypes.SpecificCultures. E.g. German 1031 instead of 7. </p><p>I changed DVDPlayer.cs:</p><p></p><p>- fixed GetLCID.</p><p></p><p>- changed SetDefaultLanguages() to get more detailed infos.</p><p></p><p>- Also the call of SetDefaultLanguages() had to be moved from Play() to FirstPlayDvd() because the settings have to be done before the player starts.</p><p></p><p>Hope it works. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>I provided the patch on <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=1143689&group_id=107397&atid=647927" target="_blank">Sourceforge</a></p><p></p><p>Flip.</p></blockquote><p></p>
[QUOTE="FlipGer, post: 10907, member: 10293"] Hi, regarding to this [url=http://nolanparty.com/mediaportal.sourceforge.net/phpBB2/viewtopic.php?t=4693]thread[/url] i took a look into the code of the DVD player. The method GetLCID(string strLanguage) does not return the right LCID. It returns the one from CultureTypes.NeutralCultures, but it has to be the one from CultureTypes.SpecificCultures. E.g. German 1031 instead of 7. I changed DVDPlayer.cs: - fixed GetLCID. - changed SetDefaultLanguages() to get more detailed infos. - Also the call of SetDefaultLanguages() had to be moved from Play() to FirstPlayDvd() because the settings have to be done before the player starts. Hope it works. :) I provided the patch on [url=http://sourceforge.net/tracker/index.php?func=detail&aid=1143689&group_id=107397&atid=647927]Sourceforge[/url] Flip. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
[Patch] My DVD SelectDefaultLanguage() Bug
Contact us
RSS
Top
Bottom