DVD resume doesn't work (1 Viewer)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    Ok :)
    Just back to home for 30 mins, i will fireup MP under VS.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    Ok :)
    I have already set BP in this area but it wasn't hit.
    If i manual bypass some code (from mediaportal\WindowPlugins\GUIVideos\GUIVideoBaseWindow.cs) and goes here (manual move under VS and after 'if (control == btnPlayDVD)' note that btnPlayDVD is null :

    Code:
    protected override void OnClicked(int controlId, GUIControl control, Action.ActionType actionType)
        {
          base.OnClicked(controlId, control, actionType);
    
          if (control == btnSavedPlaylists)
          {
            OnShowSavedPlaylists(m_strPlayListPath);
          }
    
          if (control == btnPlayDVD)
          {
            ISelectDVDHandler selectDVDHandler;
            if (GlobalServiceProvider.IsRegistered<ISelectDVDHandler>())
            {
              selectDVDHandler = GlobalServiceProvider.Get<ISelectDVDHandler>();
            }
            else
            {
              selectDVDHandler = new SelectDVDHandler();
              GlobalServiceProvider.Add<ISelectDVDHandler>(selectDVDHandler);
            }
            string dvdToPlay = selectDVDHandler.ShowSelectDVDDialog(GetID);
            if (dvdToPlay != null)
            {
              OnPlayDVD(dvdToPlay, GetID);
            }

    I can go into that part but still :
    VideoDatabase.GetMovieInfo(fileName, ref movieDetails);
    int idFile = VideoDatabase.GetFileId(fileName);
    int idMovie = VideoDatabase.GetMovieId(fileName);

    idFile = -1 / idMovie = -1
    movieDetails = not filled.

    So something is really wrong lol
     

    wiyosaya

    MP Donator
  • Premium Supporter
  • January 22, 2014
    77
    25
    United States of America United States of America
    Resume also does not work with Blu-ray disks. I don't know if it is the same code and therefore, the same bug. I can post a log file for this if needed.

    Thanks.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    Yep :) you can always post logs :)
    BD works (ISO and Ripped on HDD for me) need to try Disc :)
     

    Blue Lightning

    Portal Member
    October 8, 2011
    49
    52
    Australia Australia
    Thank you Team Mediaportal for looking into this problem.
    Is there any more testing I can do as a user?

    I've done clean installs of the Mediaportal Client on my desktop computer (not my usual Mediaportal machine) to test exactly which version this bug started in. The process I followed is install Mediaportal (no TV server, no Titan Extended, everything else default), run debug mode and play a physical DVD. Pause it a couple seconds into playback, 'stop', then try resume playback. Then quit, completely uninstall, and then install the next version. (Repeat for each version)
    These are my results:
    • 1.4.0 Final = Resume successful
    • 1.5.0 Final = Resume successful
    • 1.6.0 Pre-release (1.5.100) = Resume FAIL
    So the bug must be caused by something that changed between 1.5.0 and the 1.6.0 Pre-release.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    Can you confirm that iso or ripped DVD works ?
    Thanks for nail down to the broken version, maybe it will help to find why :)
     

    Blue Lightning

    Portal Member
    October 8, 2011
    49
    52
    Australia Australia
    I've never tried an ISO in Mediaportal but I'll see if I can organise one to try out.
    Video files (avi,mkv,etc) resume fine and so do TV recordings created by the TV Service. (Tested on my media PC running 1.8.0)

    EDIT: Mounting an ISO using Mediaportal's automount (via VirtualCloneDrive) works, it allows resuming. I double checked the physical DVD and that doesn't allow resuming. (Both tested on my desktop running a clean install of 1.9.0)
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    Thanks :)

    I have maybe an idea while looking diff working/no working MP.
    Maybe it's related to sqlite change code for MP.

    Will try to compare and test :)
     

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

    OP Similar threads Forum Replies Date
    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
    Rob Hexenmeister DVD Skip steps causing crash General Support 2
    badboyxx MP 1.22 final is crashing when jumping forward while playing DVD-Iso watch/edit Videos 26
    U [DVD] DVD Menu Navigation for HID keyboard Improvement Suggestions 0
    BlueMax1916 [Finished] [MP2-820] Eject command for CD/DVD/Blu-ray disc media Feature Requests 39
    D A couple of DVD questions General 2
    D MP2 - V2.1 Specific ripped DVD not appearing in movie library Older releases 7
    hounddog How to get My Films working in MP 1.20 My Films 5
    W No DVD audio after crash from defective disc drive General Support 2
    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
    Similar threads

























    Top Bottom