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
Popular Plugins
OnlineVideos
OV 1.3 crashes MP on playback stop for some videos
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="vpupkin" data-source="post: 930650" data-attributes="member: 112198"><p>Well, as in OV 1.2 YouTube-based sites stopped working, I had to re-visit this issue, and yep, it's still there for me - I can reproduce it on another machine. After re-compiling MP and OV, I traced null reference:</p><p> </p><p>[CODE] void g_Player_PlayBackEnded(g_Player.MediaType type, string filename)</p><p> {</p><p> try</p><p> {</p><p> if (currentPlayingItem != null && currentPlayingItem.Util != null)</p><p> {</p><p> double percent = g_Player.Duration > 0 ? g_Player.CurrentPosition / g_Player.Duration : 0;</p><p> currentPlayingItem.Util.OnPlaybackEnded(currentPlayingItem.Video, currentPlayingItem.FileName, percent, false);</p><p> }</p><p> }</p><p> catch (Exception ex)</p><p> {</p><p> Log.Instance.Warn("Error on Util.OnPlaybackEnded: {0}", ex);</p><p> }</p><p> </p><p> if (currentPlaylist != null)</p><p> {</p><p> if (g_Player.Player.GetType().Assembly == typeof(GUIOnlineVideos).Assembly)</p><p> {</p><p> ...[/CODE]</p><p> </p><p>The last if has a problem for me, as at that point in time g_Player.Player is null (deleted too early?). Interestingly, if I remove the check, then playback of the next item in the list works just fine. Again, I am testing it on Comedy Central -> Jon Stewart full episodes that happen to have several segments. After 1st segment is finished, this callback is invoked, and it crashes the whole MP for me.</p><p> </p><p>Any ideas how this case can be fixed? Thanks.</p></blockquote><p></p>
[QUOTE="vpupkin, post: 930650, member: 112198"] Well, as in OV 1.2 YouTube-based sites stopped working, I had to re-visit this issue, and yep, it's still there for me - I can reproduce it on another machine. After re-compiling MP and OV, I traced null reference: [CODE] void g_Player_PlayBackEnded(g_Player.MediaType type, string filename) { try { if (currentPlayingItem != null && currentPlayingItem.Util != null) { double percent = g_Player.Duration > 0 ? g_Player.CurrentPosition / g_Player.Duration : 0; currentPlayingItem.Util.OnPlaybackEnded(currentPlayingItem.Video, currentPlayingItem.FileName, percent, false); } } catch (Exception ex) { Log.Instance.Warn("Error on Util.OnPlaybackEnded: {0}", ex); } if (currentPlaylist != null) { if (g_Player.Player.GetType().Assembly == typeof(GUIOnlineVideos).Assembly) { ...[/CODE] The last if has a problem for me, as at that point in time g_Player.Player is null (deleted too early?). Interestingly, if I remove the check, then playback of the next item in the list works just fine. Again, I am testing it on Comedy Central -> Jon Stewart full episodes that happen to have several segments. After 1st segment is finished, this callback is invoked, and it crashes the whole MP for me. Any ideas how this case can be fixed? Thanks. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
OV 1.3 crashes MP on playback stop for some videos
Contact us
RSS
Top
Bottom