DVD resume doesn't work (1 Viewer)

Sebastiii

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

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    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
    122
    33
    Home Country
    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,583
    10,403
    France
    Home Country
    France France
    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
    Home Country
    Antarctica Antarctica
    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,583
    10,403
    France
    Home Country
    France France
    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
    Home Country
    Antarctica Antarctica
    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,583
    10,403
    France
    Home Country
    France France
    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

    Top Bottom