Patch to fix auto-unmount of physical dvds (1 Viewer)

ZealotSix

Portal Pro
August 18, 2008
181
69
Home Country
United States of America United States of America
MediaPortal Version: 1.0.1

Insert a physical DVD, and play it. When you press stop, MediaPortal will try to call DaemonTools' unmount procedure, even though this was a physical DVD that was not mounted.

Please consider the attached patch to correct the issue.

Thanks,
Travis
 

Attachments

  • daemon_unmount.patch
    30.6 KB

-Manfred-

Retired Team Member
  • Premium Supporter
  • May 15, 2007
    728
    343
    Home Country
    Finland Finland
    Country flag
    Unmount is also triggered before image file is mounted even if there is nothing mounted. This has been like this for ages. Just for curiosity what are the symptoms/side effects or errors seen now?

    Btw. I would just check in unmount function that _MountedIsoFile has a value and virtual drive is accessible.
     

    ZealotSix

    Portal Pro
    August 18, 2008
    181
    69
    Home Country
    United States of America United States of America
    • Thread starter
    • Moderator
    • #4
    Manfred, the side effect is that the DaemonTools splash screen displays during the unmount, and if the user has mounted something outside of MediaPortal, it will be unmounted without their knowledge. The splash screen was really the issue that was noticeable to me though :D

    And my code could be relocated to within the Unmount procedure. One thing to consider and test if you do this: if the user mounts an image outside of MediaPortal, and then tries to play an ISO movie in MediaPortal, the _MountedIsoFile variable will be empty. With your proposed change, this would cause the DaemonTools unmount procedure not to be run in this instance.
     

    -Manfred-

    Retired Team Member
  • Premium Supporter
  • May 15, 2007
    728
    343
    Home Country
    Finland Finland
    Country flag
    Fair enough. By using VCD no problems as such exist like annoying message boxes ;) Unmount after playing stopped was added to speed up mounting procedure (5sec to <1sec). It is good to have check for that and work is ongoing.
     

    Users who are viewing this thread

    Similar threads

    Yes, better there.
    Yes, better there.
    NOTE: Original post edited to update on each issue. Hi all, This is my first post on here, having just come from a fairly well...
    Replies
    19
    Views
    4K
    Hello Jimmyo, I have the pretty same Problem: Mounting an Image is only succesfull, if I use a AHK script to Start Power DVD (which runs until the movie/PowerDVD is closed). Unfortunatly if PowerDVD is started via script, the Navigation Bar of PowerDVD is allways on Top. I have to make a Mouse move with Keyboard/-pad, to get...
    Hello Jimmyo, I have the pretty same Problem: Mounting an Image is only succesfull, if I use a AHK script to Start Power DVD...
    Hi all, some time is gone since I've watched a 3D BluRay. Yesterday I decided to "do it again". I've installed PowerDVD 15 Ultra...
    Replies
    15
    Views
    3K
    MediaPortal 2.1 Pre2 Release! Since we released MediaPortal 2.1 Pre we have been focusing on fixing bugs and issues that were reported by the community. While we were able to develop solutions for most of them, a few things remain that require more work to get fixed. For this reason we decided to publish a second Pre release to allow...
    MediaPortal 2.1 Pre2 Release! Since we released MediaPortal 2.1 Pre we have been focusing on fixing bugs and issues that were...
    MediaPortal 2.1 Pre2 Release! Since we released MediaPortal 2.1 Pre we have been focusing on fixing bugs and issues that were...
    Replies
    0
    Views
    953
    MPExtended (Mobil access) for MP2 only for TV access It's available and properly working since beginning of this year... I've used it until I switched over from DVB-S to SAT>IP in Spring 2018 where such things are no longer necessary at all.
    MPExtended (Mobil access) for MP2 only for TV access It's available and properly working since beginning of this year... I've used...
    We are proud to present MediaPortal 2.2 Final Since the recent release of MediaPortal 2.2pre, we fixed some minor things. We now...
    Replies
    11
    Views
    6K
    We are proud to present MediaPortal 2.2 Pre-Release It has been some time since last release, but we were intensively working on the implementation of new features and some fundamental changes in the core of MediaPortal 2. As a result, we proudly present the next major release of MediaPortal 2 in version 2.2. MediaPortal 2.2 is a...
    We are proud to present MediaPortal 2.2 Pre-Release It has been some time since last release, but we were intensively working on...
    We are proud to present MediaPortal 2.2 Pre-Release It has been some time since last release, but we were intensively working on...
    Replies
    0
    Views
    3K
    Top Bottom