Resume Time DVD issue (1 Viewer)

popy

Super User
  • Team MediaPortal
  • Super User
  • July 3, 2011
    617
    141
    Country flag
    Hey guys.

    I am working on the Plugin WatchedSyncronizer which syncs all UserMovieSettings to a centralized server db.
    During development i have found an issue where the DVD (which are IFO, VOB files) Resume Time, chapter ... is not restored.
    I can reproduce the issue in the following way:
    • Open MP on client 1 and navigate to MovingPictures
    • Start a DVD movie (from disk, IFO & VOB files) on client 1 -> go to main movie and stop at about ~10 minutes
    • ResumeData, Time etc. is stored in movingpictures.db at table UserMovieSettings
    • close MP on client 1
    • backup the movingpictures.db for later use
    • Open MP on client 1 again and navigate to MovingPictures
    • Start the same DVD again -> MP ask to resume @10minutes -> press yes and here you go, the dvd playback resumes correctly
    Now on client 2:
    • copy the movingpictures.db backup made of client 1 (with resume data, time in it) to client 2
    • Open MP on client 2 and navigate to MovingPictures
    • Start the same DVD movie (from disk, IFO & VOB files) on client 2 -> MP ask to resume @10minutes -> press yes and...
    • BAM, you are NOT @ the previous chapter you where stopping @ client 1, the DVD just starts from the beginning.
    First i was thinking that my syncronisation of my plugin was wrong. But when you do the steps MANUALLY like descibed above the same happens. This just happens when "resume_data" is needed for gPlayer to resume the chapters and so on.
    On single files like MKV where just the "resume_time" is needed the issue doesnt come up.

    So my thinkings are that there is something in the Gplayer ResumeData Part which doesnt work on an other machine!?

    Just to be sure, i have made two debug logs, one from the machine where the resumedata was written and was resumed correctly, and one with the same DB (copied the file before) on the other machine where the resume fails.
    After removing the timestamps and comparing them with Beyond Compare there are just a few lines in the OK log which are missing in the NOT OK log. But no usful inromation to get behind whats going wrong:

    Resume OK:
    Code:
    [Log    ] [MPMain   ] [INFO ] - g_Player.OnStarted() \\MEDIASERVER\Videos\Movies\Arielle die Meerjungfrau - Special Edition\VIDEO_TS\VIDEO_TS.IFO media:Video
    [Log    ] [MPMain   ] [INFO ] - DVDPlayer::SetResumeState() begin
    [Log    ] [MPMain   ] [INFO ] - DVDPlayer::SetResumeState() SetState
    [Log    ] [25       ] [DEBUG] - PlaneScene: PresentImage() dispose surfaces
    [Log    ] [7        ] [DEBUG] - PlaneScene: crop T, B  : 0, 0
    [Log    ] [7        ] [DEBUG] - PlaneScene: crop L, R  : 0, 0
    [Log    ] [7        ] [INFO ] - PlaneScene: video WxH  : 720x576
    [Log    ] [7        ] [DEBUG] - PlaneScene: video AR   : 16:9
    [Log    ] [7        ] [INFO ] - PlaneScene: screen WxH : 1280x720
    [Log    ] [7        ] [DEBUG] - PlaneScene: AR type    : Stretch
    [Log    ] [7        ] [DEBUG] - PlaneScene: PixelRatio : 1
    [Log    ] [7        ] [DEBUG] - PlaneScene: src        : (0,0)-(720,576)
    [Log    ] [7        ] [DEBUG] - PlaneScene: dst        : (0,0)-(1280,720)
    [Log    ] [MPMain   ] [INFO ] - DVDPlayer::SetResumeState() end false
    [Log    ] [MPMain   ] [DEBUG] - [WIFI_REMOTE]  Playback started!
    [Log    ] [MPMain   ] [INFO ] - [WIFI_REMOTE]  {"Type":"nowplaying","Duration":0,"File":"\\\\MEDIASERVER\\Videos\\Movies\\Arielle die Meerjungfrau - Special Edition\\VIDEO_TS\\VIDEO_TS.IFO","Position":0,"IsTv":false,"IsFullscreen":true,"MediaInfo":{"MediaType":"movie","MpExtId":"72","MpExtMediaType":0,"MpExtProviderId":3,"ItemId":72,"Summary":"Arielle wächst mit ihren sechs Schwestern behütet in der Meereswelt auf, nur ihre Nanny ist eine rechte Schreckschraube. Doch ein Schatten lastet auf ihrem Vater, dem König der Unterwasserwelt Triton. Aus Trauer verbietet er seinem Volk die Musik. Diese hat Arielle aber gerade als ihre Leidenschaft entdeckt. Die Meerjungfrau versucht die Hintergründe aufzuklären und die Musik zurück ins Königreich zu bringen. Dabei lernt sie mehr über die Geschichte ihrer Mutter. Bei ihrem Abenteuer zur Seite stehen Krabbe Sebastian und Flunder Fabius.","Title":"Arielle, die Meerjungfrau – Wie alles begann","AlternateTitles":"|The Little Mermaid - Ariel's Beginning|A Pequena Sereia: A História de Ariel|Le Secret de la Petite Sirène|La Petite Sirène 3 - Le Secret de la Petite Sirène|Русалочка: Начало истории Ариэль|De kleine zeemeermin 3: Ariël hoe het begon|A kis hableány 3|","Tagline":"Every Story Has a Beginning, But Only One Begins Under the Sea","Directors":"|Peggy Holmes|","Writers":"|Robert Reece|Evan Spiliotopoulos|","Actors":"|Jodi Benson|Samuel E. Wright|Sally Field|","Rating":"7,9","Year":2008,"Genres":"|Animation|Musical|Familie|","Certification":"G","DetailsUrl":"http://www.imdb.com/title/tt0969647","ImageName":"C:\\ProgramData\\Team MediaPortal\\MediaPortal\\Thumbs\\MovingPictures\\Covers\\FullSize\\{Arielle,.die.Meerjungfrau.–.Wie.alles.begann-2008} [-231144223].jpg"}}
    [Log    ] [51       ] [DEBUG] - [WIFI_REMOTE]  Start now-playing update thread
    [Log    ] [MPMain   ] [DEBUG] - Window: MediaPortal.GUI.Video.GUIVideoFullscreen deinit
    [Log    ] [7        ] [DEBUG] - SetThumbnails: Thumbs for video (VIDEO_TS) not found. Creating a new video thumb...
    [Log    ] [MPMain   ] [DEBUG] - TextureManager: CleanupThumbs()
    [Log    ] [MPMain   ] [DEBUG] - Window: MediaPortal.GUI.Video.GUIVideoFullscreen init
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdAudioStreamChange:-1
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdTitleChange:1
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdButtonChange: buttons:#0, focused button: 0
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdValidUopsChange:0x1FFFFFF
    [Log    ] [MPMain   ] [DEBUG] - EVT:DVDPlayer:domain=firstplay
    [Log    ] [MPMain   ] [DEBUG] - EVT:DVDPlayer:domain=videomanagermenu (menu)
    [Log    ] [MPMain   ] [DEBUG] - EVT:DVDPlayer:domain=videotitlesetmenu (menu)
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdValidUopsChange:0x400000
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdAudioStreamChange:1
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdSubPicture Changed to:4 Enabled:1
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdValidUopsChange:0x400000
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdChaptStart:6
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdButtonChange: buttons:#0, focused button: 0
    Resume NOT ok with same DB on other client:
    Code:
    [Log    ] [MPMain   ] [INFO ] - g_Player.OnStarted() \\MEDIASERVER\Videos\Movies\Arielle die Meerjungfrau - Special Edition\VIDEO_TS\VIDEO_TS.IFO media:Video
    [Log    ] [49       ] [DEBUG] - PlaneScene: PresentImage() dispose surfaces
    [Log    ] [MPMain   ] [INFO ] - DVDPlayer::SetResumeState() begin
    [Log    ] [MPMain   ] [INFO ] - DVDPlayer::SetResumeState() SetState
    [Log    ] [53       ] [DEBUG] - PlaneScene: crop T, B  : 0, 0
    [Log    ] [53       ] [DEBUG] - PlaneScene: crop L, R  : 0, 0
    [Log    ] [53       ] [INFO ] - PlaneScene: video WxH  : 720x576
    [Log    ] [53       ] [DEBUG] - PlaneScene: video AR   : 16:9
    [Log    ] [53       ] [INFO ] - PlaneScene: screen WxH : 1920x1080
    [Log    ] [53       ] [DEBUG] - PlaneScene: AR type    : Normal
    [Log    ] [53       ] [DEBUG] - PlaneScene: PixelRatio : 1
    [Log    ] [53       ] [DEBUG] - PlaneScene: src        : (0,0)-(720,576)
    [Log    ] [53       ] [DEBUG] - PlaneScene: dst        : (0,0)-(1920,1080)
    [Log    ] [53       ] [DEBUG] - SetThumbnails: Thumbs for video (VIDEO_TS) not found. Creating a new video thumb...
    [Log    ] [MPMain   ] [INFO ] - DVDPlayer::SetResumeState() end false
    [Log    ] [MPMain   ] [DEBUG] - [WIFI_REMOTE]  Playback started!
    [Log    ] [MPMain   ] [INFO ] - [WIFI_REMOTE]  {"Type":"nowplaying","Duration":0,"File":"\\\\MEDIASERVER\\Videos\\Movies\\Arielle die Meerjungfrau - Special Edition\\VIDEO_TS\\VIDEO_TS.IFO","Position":0,"IsTv":false,"IsFullscreen":true,"MediaInfo":{"MediaType":"movie","MpExtId":"72","MpExtMediaType":0,"MpExtProviderId":3,"ItemId":72,"Summary":"Arielle wächst mit ihren sechs Schwestern behütet in der Meereswelt auf, nur ihre Nanny ist eine rechte Schreckschraube. Doch ein Schatten lastet auf ihrem Vater, dem König der Unterwasserwelt Triton. Aus Trauer verbietet er seinem Volk die Musik. Diese hat Arielle aber gerade als ihre Leidenschaft entdeckt. Die Meerjungfrau versucht die Hintergründe aufzuklären und die Musik zurück ins Königreich zu bringen. Dabei lernt sie mehr über die Geschichte ihrer Mutter. Bei ihrem Abenteuer zur Seite stehen Krabbe Sebastian und Flunder Fabius.","Title":"Arielle, die Meerjungfrau – Wie alles begann","AlternateTitles":"|The Little Mermaid - Ariel's Beginning|A Pequena Sereia: A História de Ariel|Le Secret de la Petite Sirène|La Petite Sirène 3 - Le Secret de la Petite Sirène|Русалочка: Начало истории Ариэль|De kleine zeemeermin 3: Ariël hoe het begon|A kis hableány 3|","Tagline":"Every Story Has a Beginning, But Only One Begins Under the Sea","Directors":"|Peggy Holmes|","Writers":"|Robert Reece|Evan Spiliotopoulos|","Actors":"|Jodi Benson|Samuel E. Wright|Sally Field|","Rating":"7,9","Year":2008,"Genres":"|Animation|Musical|Familie|","Certification":"G","DetailsUrl":"http://www.imdb.com/title/tt0969647","ImageName":"C:\\ProgramData\\Team MediaPortal\\MediaPortal\\Thumbs\\MovingPictures\\Covers\\FullSize\\{Arielle,.die.Meerjungfrau.–.Wie.alles.begann-2008} [-231144223].jpg"}}
    [Log    ] [52       ] [DEBUG] - [WIFI_REMOTE]  Start now-playing update thread
    [Log    ] [MPMain   ] [DEBUG] - Window: MediaPortal.GUI.Video.GUIVideoFullscreen deinit
    [Log    ] [MPMain   ] [DEBUG] - TextureManager: CleanupThumbs()
    [Log    ] [MPMain   ] [DEBUG] - Window: MediaPortal.GUI.Video.GUIVideoFullscreen init
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdAudioStreamChange:-1
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdTitleChange:1
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdButtonChange: buttons:#0, focused button: 0
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdValidUopsChange:0x1FFFFFF
    [Log    ] [MPMain   ] [DEBUG] - EVT:DVDPlayer:domain=firstplay
    [Log    ] [MPMain   ] [DEBUG] - EVT:DVDPlayer:domain=videomanagermenu (menu)
    [Log    ] [MPMain   ] [DEBUG] - EVT:DVDPlayer:domain=videotitlesetmenu (menu)
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdValidUopsChange:0x400000
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdValidUopsChange:0x400000
    [Log    ] [MPMain   ] [DEBUG] - EVT:DvdButtonChange: buttons:#0, focused button: 0
    The resume lines are not here!?
    Currently i have no clue how to fix the resume data, or whats wrong in it to get it working on oher client.

    Would be nice if anyone can help me.
    pOpY
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,697
    7,081
    Sydney
    Australia Australia
    Country flag
    Hey Popy,

    thanks for the analysis. I probably wont have time to look into this anytime soon. If I used DVD/Bluray media that might be a different story but im a MKV file man myself as im sure 99% of the other users in MovPics :)

    Cheers
    Damien
     

    popy

    Super User
  • Team MediaPortal
  • Super User
  • July 3, 2011
    617
    141
    Country flag
    Hey ltfearme.

    You are right i am also a MKV boy ;)
    Would be nice that you look at it "anytime" :p

    pOpY
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 3
    F After resume, TV Server connection screen is shown General Support 4
    Dark Eyes TVService locks up or fails to restart on resuming from sleep, and crashes when grabbing EPG Installation, configuration support 7
    P MP2 Client Screen Flickering on Resume General 2
    HTPCSourcer [fixed] [MP2-815] User not logged in when resuming from standby MediaPortal 2 17
    J Resume from Standby Last Module TV Showing TV Server Settings Television (MyTV frontend and TV-Server) 2
    R Media portal resumes with wrong screen resolution General Support 3
    B resume from within a folder Watch / Listen Media 0
    joecrow No Audio after MP Start/Resume from Sleep General Support 0
    R Weird sleep/resume loop General Support 4
    joecrow Further problem on resume from sleep (MP Crash) 1.21 5
    joecrow Loss of Navigation Sounds on Resume from Sleep Mp 1.21 General Support 10
    D [further infos missing] Problems switching to live tv channel after resume 2.2 Archive 1
    stirlinghart [duplicate] Mp not focused on after resuming from sleep 2.2 Archive 7
    P Multiple clients - share resume/watched data General 1
    stirlinghart FOCUS not on MP after resuming from sleep General 11
    U IR Blaster doesn't work after system wake/resume General Support 6
    megahorst Mediaportal chrashs when the PC goes to suspend mode (or when it resumes?) 1.19 11
    B pls help. tv stops playing but resumes if I push pause and play General 0
    BlueMax1916 Problems with MP1 client process dying when resuming from standby, probably MovingPictures related Moving Pictures 2
    BlueMax1916 Problems with MP1 client dying after resuming from standby General Support 2
    E MediaPortal kann DVD s nicht wiedergeben Allgemeines Supportforum 3
    Z [solved] DVD playback is super glitchy General 2
    doskabouter 1.23.0 Crash when skipping in a dvd Bugreports 3
    C Attempt to play DVD locks up MediaPortal watch/edit Videos 0
    Similar threads

























    Top Bottom