| |||||||
| Forum Categories |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member | TV-Server Version: RC3 MediaPortal Version: RC3 MediaPortal Skin: Aeon Windows Version: Windows Vista CPU Type: AMD X2 6400+ HDD: WD SE16 500GB, Samsung SpinPoint 1TB Memory: 2GB DDR2 800 Motherboard: Gigabyte GA-MA69GM-S2H Video Card: ATI Radeon HD 3470 Video Card Driver: Catalyst 8.9 Sound Card: Realtek Digital Audio Sound Card AC3: Realtek Digital Audio Sound Card Driver: 1. TV Card: Hauppauge Nova-S Plus 1. TV Card Type: DVB-S 1. TV Card Driver: 2. TV Card: 2. TV Card Type: 2. TV Card Driver: 3. TV Card: 3. TV Card Type: 3. TV Card Driver: 4. TV Card: 4. TV Card Type: 4. TV Card Driver: MPEG2 Video Codec: Cyberlink PowerDVD 7 MPEG2 Audio Codec: ffdshow h.264 Video Codec: MPC Video Decoder Satelite/CableTV Provider: Nimiq 82W, Nimiq 91W HTPC Case: nMedia 200BA Cooling: Zalman CNPS8700NT Power Supply: Corsair 450VX Remote: Home Theater Master MX-700 TV: Toshiba 50H82 TV - HTPC Connection: Component This is a new bug in RC3, as this was working in RC2. Steps to reproduce: 1. Play a video file. When/if prompted to resume from last position, choose "Yes", for example at 1h:12m 2. Watch video for a minute or two. 3. Without stopping video, go back to "My Videos", and select another video to playback. 4. Watch this video for a few seconds and press "Stop" to return to "My Videos". 5. Now select the first movie, and verify the resume position will still be as before, for example 1h:12m and has not been updated with the final resume position as watched in step 2. 6. Stop playback. Logs attached: - It is clear from the logs attached that OnPlaybackStopped is only called twice when really playback was stopped a total of 3 times: 1) when switching from movie A to movie B, 2) when stopping movie B, and 3) finally when stopping movie A. Code: [Debug][MPMain]: GUIVideoFiles: OnPlayBackStopped store resume time - Based on my debugging, the problem is in g_player.cs in the OnStopped method. When a video file is currently playing, and the user switches to another video file, then variable g_player.Playing is set to false and thus the following code section in the if block does not get executed: Code: //called when current playing file is stopped
static void OnStopped()
{
//check if we're playing
if (g_Player.Playing && PlayBackStopped != null)
{
//yes, then raise event
Log.Info("g_Player.OnStopped()");
PlayBackStopped(_currentMedia, (int)g_Player.CurrentPosition, g_Player.CurrentFile);
}
}
Last edited by damaster; 2008-10-17 at 18:21.. |
| | |
| | #2 (permalink) |
| Project Coordinator Join Date: Dec 2004 Location: 127.0.0.1 Age: 30
Posts: 9,564
Thanks: 487
Thanked 676 Times in 343 Posts
Country: | i will forward this to our developers. ![]()
__________________ regards chris MediaPortal Project Coordinator Test Team Leader Do not start to moan if something is not working as you want it to be. Remember that MediaPortal is Open Source. YOU can improve it! |
| | |
| | #5 (permalink) | |
| Portal Member Join Date: Apr 2006 Location: San Sebastian
Posts: 527
Thanks: 15
Thanked 27 Times in 16 Posts
| Quote: I think you have introduce a bug with the fix.. can you check this post http://forum.team-mediaportal.com/1-...49/#post329703 Iosu | |
| | |
![]() |
| Bookmarks |
| Tags |
| changing, playback, position, resume, video |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "Digital" audio/video noise issues and resume probs. | quenthal | General Support | 2 | 2008-07-22 11:43 |
| "Auto update" or "Refresh" database for Video | CiXel | watch/edit Videos | 6 | 2008-05-20 14:10 |
| Disable "resume from the previous position" | arjayd13 | MediaPortal 1 Talk | 2 | 2006-12-15 20:29 |
| Resume at last position for video/audio playback. | jadz | Improvement Suggestions | 3 | 2004-09-13 12:26 |