[Finished] [MP2-820] Eject command for CD/DVD/Blu-ray disc media

BlueMax1916

Super User
  • Team MediaPortal
  • Super User
  • January 29, 2007
    696
    28
    Country flag


    Hi,

    please include an 'Eject' command for CD/DVD/Blu-ray disc media in MP2. There needs to be a command at least accessible via the context menu of a disc. Maybe this needs to be available for other removable media too (USB, SD card etc.). In MP1 this is implemented . Maybe the respective code parts can be analyzed.

    Cheers

    Blue Max
     
    Last edited:

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • Administrator
  • May 16, 2008
    11,265
    113
    Country flag
    Ready for testing.
    I just looked at it. Since I don't have a disc drive a mounted an ISO as a mock drive.

    Nereus folder view shows me a menu button "Eject Optical Disc". Is it possible to assign a disc icon in the skin?
    Eject1.jpg

    Clicking on it produces an error message in the log:
    [2020-01-05 08:05:40,096] [425940 ] [InputMgr ] [ERROR] - Media eject failed. Drive D could not be ejected!
    There is no context menu for the respective list entry. Also there is no visible menu entry for eject in other skins.
    Edit: As already merged into WiP2.3, I'll also commit there, makes it easier for me.
     
    Last edited by a moderator:

    ge2301

    MP2 Design
  • Team MediaPortal
  • January 11, 2014
    6,448
    113
    Stuttgart
    Country flag
    I pushed code for this. Ready for testing.
    Thanks (y) I'll place an "Eject Optical Disc" Button into the DVD/Bluray OSD as known from other software.

    Also I'll add an icon for the menu entry, currently it uses the fallback icon (search).

    Changes will be pushed to your branch.
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,113
    113
    Country flag
    Top Bottom