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 Plugins
VLC 0.9.x External Player Plugin
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="disaster123" data-source="post: 602266" data-attributes="member: 74707"><p><strong>AW: VLC 0.9.x External Player Plugin</strong></p><p></p><p>Mhm could you point me to the right file and line? I've already downloded the OVS trunk this morning. But wasn't able to find this. </p><p></p><p>Here it's always calling the normal gplayer and then the rest is VODStreamhelper - i've also looked at PlaySingleFile routine but i see VLC stuff never called.</p><p>[CODE]</p><p> string supprotedPlayer = "vlc,mplayer,wmp";</p><p> string sEnc = VODStreamHelper.EncryptionManager.GetEncryptionString(aVideoInfo.VideoUrl);</p><p> if (supprotedPlayer.IndexOf(sEnc) == -1) { sEnc = string.Empty; }</p><p> if (sEnc == "wmp") { aVideoInfo.VideoUrl = VODStreamHelper.EncryptionManager.DeCrypt(aVideoInfo.VideoUrl, sEnc); } </p><p></p><p> if (!wmvVideoUrl && !asxVideoUrl)</p><p> { </p><p> bIsPlaying = g_Player.Play(aVideoInfo.VideoUrl, g_Player.MediaType.Video ); // ajoute type video</p><p> // bIsPlaying = g_Player.PlayVideoStream(aVideoInfo.VideoUrl);</p><p> Log.Debug("VOD Plugin : PlaySingleFile " + g_Player.Playing.ToString() + ":" + aVideoInfo.VideoUrl);</p><p> }</p><p> else</p><p> {//Session de rattrapage pour les flux wmv ou asx</p><p> //Let's MP do the job</p><p> Log.Debug("VOD Plugin : PlaySingleFile Again " + aVideoInfo.Encryped.ToString() + " - ");</p><p> if (aVideoInfo.Encryped == true)</p><p> {</p><p> bIsPlaying = g_Player.PlayVideoStream(DecodeUrl(aVideoInfo.VideoUrl,sEnc ));</p><p> }</p><p> else</p><p> {//Peut etre un flux lisible par WMP</p><p> bIsPlaying = g_Player.PlayVideoStream(aVideoInfo.VideoUrl);</p><p> }</p><p> }</p><p></p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="disaster123, post: 602266, member: 74707"] [b]AW: VLC 0.9.x External Player Plugin[/b] Mhm could you point me to the right file and line? I've already downloded the OVS trunk this morning. But wasn't able to find this. Here it's always calling the normal gplayer and then the rest is VODStreamhelper - i've also looked at PlaySingleFile routine but i see VLC stuff never called. [CODE] string supprotedPlayer = "vlc,mplayer,wmp"; string sEnc = VODStreamHelper.EncryptionManager.GetEncryptionString(aVideoInfo.VideoUrl); if (supprotedPlayer.IndexOf(sEnc) == -1) { sEnc = string.Empty; } if (sEnc == "wmp") { aVideoInfo.VideoUrl = VODStreamHelper.EncryptionManager.DeCrypt(aVideoInfo.VideoUrl, sEnc); } if (!wmvVideoUrl && !asxVideoUrl) { bIsPlaying = g_Player.Play(aVideoInfo.VideoUrl, g_Player.MediaType.Video ); // ajoute type video // bIsPlaying = g_Player.PlayVideoStream(aVideoInfo.VideoUrl); Log.Debug("VOD Plugin : PlaySingleFile " + g_Player.Playing.ToString() + ":" + aVideoInfo.VideoUrl); } else {//Session de rattrapage pour les flux wmv ou asx //Let's MP do the job Log.Debug("VOD Plugin : PlaySingleFile Again " + aVideoInfo.Encryped.ToString() + " - "); if (aVideoInfo.Encryped == true) { bIsPlaying = g_Player.PlayVideoStream(DecodeUrl(aVideoInfo.VideoUrl,sEnc )); } else {//Peut etre un flux lisible par WMP bIsPlaying = g_Player.PlayVideoStream(aVideoInfo.VideoUrl); } } [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
VLC 0.9.x External Player Plugin
Contact us
RSS
Top
Bottom