DVD resume doesn't work (1 Viewer)

Ok :)
Just back to home for 30 mins, i will fireup MP under VS.
 
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
 
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.
 
Yep :) you can always post logs :)
BD works (ISO and Ripped on HDD for me) need to try Disc :)
 
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.
 
Can you confirm that iso or ripped DVD works ?
Thanks for nail down to the broken version, maybe it will help to find why :)
 
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:
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

Back
Top Bottom