MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » Quality Assurance » Archive » 1.0 RC3 and SVN Builds


Reply
 
LinkBack Thread Tools Display Modes
Old 2008-10-17, 17:48   #1 (permalink)
Portal Member
 
Join Date: Nov 2007
Posts: 403
Thanks: 26
Thanked 32 Times in 18 Posts

Country:

My System

Default Changing from playback of one video file to another does not update "resume" position

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
Source of the problem in the code:
- 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..
damaster is offline   Reply With Quote
Old 2008-11-11, 14:38   #2 (permalink)
Project Coordinator
 
infinityloop's Avatar
 
Join Date: Dec 2004
Location: 127.0.0.1
Age: 30
Posts: 9,564
Thanks: 487
Thanked 676 Times in 343 Posts

Country:


Default

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!
infinityloop is offline   Reply With Quote
Old 2008-11-11, 16:28   #3 (permalink)
Portal Member
 
Join Date: Nov 2007
Posts: 403
Thanks: 26
Thanked 32 Times in 18 Posts

Country:

My System

Default

Quote:
Originally Posted by infinityloop View Post
i will forward this to our developers.
Appreciate it, thanks!
damaster is offline   Reply With Quote
Old 2008-11-12, 18:10   #4 (permalink)
Portal Developer
 
gibman's Avatar
 
Join Date: Oct 2006
Location: Aarhus
Posts: 1,249
Thanks: 13
Thanked 163 Times in 96 Posts

Country:

My System

Default

fixed
0001790: Changing from playback of one video file to another does not update "resume" position. - MediaPortal Bugtracker
__________________
"It's all a big foodchain.
We eat shit and shit eats us."
gibman is offline   Reply With Quote
These User Thank You:
Old 2008-11-16, 14:23   #5 (permalink)
Portal Member
 
Join Date: Apr 2006
Location: San Sebastian
Posts: 527
Thanks: 15
Thanked 27 Times in 16 Posts

My System

Default

Sorry, I haven't seen this post before I post a new one on

I think you have introduce a bug with the fix..

can you check this post
http://forum.team-mediaportal.com/1-...49/#post329703

Iosu
iosub is offline   Reply With Quote
Reply

Bookmarks

Tags
changing, playback, position, resume, video

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT +1. The time now is 05:36.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden