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 Talk
New audio change algo + Rec. TV support.
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="gibman" data-source="post: 213950" data-attributes="member: 25430"><p>Hi all.</p><p></p><p>I was so bold to actually rewrite the algo. that is used when automatically choosing an audio track on channel change.</p><p>This algo is now used in both rec. TV and on live TV.</p><p></p><p>We have 2 settings in tvplugin.</p><p>"prefer ac3" default = false</p><p>"prefer AudioType Over Language" default = true</p><p>+ a list of languages.</p><p>This list of lang. is a prioritized list, meaning that the one on the top is the one that is being prioritized.</p><p>So u can actually decide which lang's to have a bigger prio. U just drag the language up or down in the list.</p><p>U can always edit mediaportal.xml if u dont know how to do this in the GUI.</p><p></p><p>also liveTV and rec. TV both obey these above settings.</p><p></p><p>ex. on some scenarios.</p><p></p><p>disney channel.</p><p>mpeg1:swe</p><p>mpeg1:dan</p><p>mpeg1:nor</p><p>ac3:eng</p><p></p><p>preferac3=yes</p><p>languages "dan;eng"</p><p>preferAudioTypeOverLang=yes</p><p></p><p>selected audio is: ac3:eng</p><p>-----------</p><p></p><p>disney channel.</p><p>mpeg1:swe</p><p>mpeg1:dan</p><p>mpeg1:nor</p><p>ac3:eng</p><p></p><p>preferac3=yes</p><p>languages "dan;eng"</p><p>preferAudioTypeOverLang=no</p><p></p><p>selected audio is: mpeg1:dan</p><p></p><p>-------------</p><p></p><p>disney channel.</p><p>mpeg1:swe</p><p>mpeg1:dan</p><p>mpeg1:nor</p><p>ac3:eng</p><p></p><p>preferac3=yes</p><p>languages "eng;dan"</p><p>preferAudioTypeOverLang=yes</p><p></p><p>selected audio is: mpeg1:dan</p><p></p><p></p><p>-------------</p><p></p><p>disney channel.</p><p>mpeg1:swe</p><p>mpeg1:fin</p><p>mpeg1:nor</p><p>ac3:dan</p><p></p><p>preferac3=no</p><p>languages "dan;eng"</p><p>preferAudioTypeOverLang=yes</p><p></p><p>selected audio is: ac3:dan</p><p></p><p>-------------</p><p></p><p>disney channel.</p><p>ac3:swe</p><p>ac3:fin</p><p>ac3:nor</p><p>ac3:dan</p><p></p><p>preferac3=yes</p><p>languages "nor;swe"</p><p>preferAudioTypeOverLang=yes</p><p></p><p>selected audio is: ac3:nor</p><p></p><p>-------------</p><p></p><p>disney channel.</p><p>ac3:swe</p><p>ac3:fin</p><p>ac3:nor</p><p>ac3:dan</p><p></p><p>preferac3=yes</p><p>languages "ger;tur"</p><p>preferAudioTypeOverLang=yes</p><p></p><p>selected audio is: ac3:swe (no matching lang. found - choose 1st audio track then)</p><p></p><p>I hope this gives an idea on the algo.</p><p></p><p>U need 2 both update tvserver, tv client and MP itself. (them all).</p><p></p><p>If I forgot some scenarios plz post them and I will try and answer them.</p><p></p><p>/gibman</p></blockquote><p></p>
[QUOTE="gibman, post: 213950, member: 25430"] Hi all. I was so bold to actually rewrite the algo. that is used when automatically choosing an audio track on channel change. This algo is now used in both rec. TV and on live TV. We have 2 settings in tvplugin. "prefer ac3" default = false "prefer AudioType Over Language" default = true + a list of languages. This list of lang. is a prioritized list, meaning that the one on the top is the one that is being prioritized. So u can actually decide which lang's to have a bigger prio. U just drag the language up or down in the list. U can always edit mediaportal.xml if u dont know how to do this in the GUI. also liveTV and rec. TV both obey these above settings. ex. on some scenarios. disney channel. mpeg1:swe mpeg1:dan mpeg1:nor ac3:eng preferac3=yes languages "dan;eng" preferAudioTypeOverLang=yes selected audio is: ac3:eng ----------- disney channel. mpeg1:swe mpeg1:dan mpeg1:nor ac3:eng preferac3=yes languages "dan;eng" preferAudioTypeOverLang=no selected audio is: mpeg1:dan ------------- disney channel. mpeg1:swe mpeg1:dan mpeg1:nor ac3:eng preferac3=yes languages "eng;dan" preferAudioTypeOverLang=yes selected audio is: mpeg1:dan ------------- disney channel. mpeg1:swe mpeg1:fin mpeg1:nor ac3:dan preferac3=no languages "dan;eng" preferAudioTypeOverLang=yes selected audio is: ac3:dan ------------- disney channel. ac3:swe ac3:fin ac3:nor ac3:dan preferac3=yes languages "nor;swe" preferAudioTypeOverLang=yes selected audio is: ac3:nor ------------- disney channel. ac3:swe ac3:fin ac3:nor ac3:dan preferac3=yes languages "ger;tur" preferAudioTypeOverLang=yes selected audio is: ac3:swe (no matching lang. found - choose 1st audio track then) I hope this gives an idea on the algo. U need 2 both update tvserver, tv client and MP itself. (them all). If I forgot some scenarios plz post them and I will try and answer them. /gibman [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
New audio change algo + Rec. TV support.
Contact us
RSS
Top
Bottom