![]() |
|
|||||||
| xTV Subforum for the xTV take one skin (and mods for/of it). |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Member
Join Date: Dec 2008
Posts: 35
![]() |
When I go into advanced settings and add DVD drive everything works, however, there is no option to 'eject' the disc. This seems weird. Am I totally missing something? If not, how do you add a command to eject the disc?
I am looking for something like, when you select the disc the option will be 'play or eject' similar to frontrow? |
|
|
|
|
|
#2 |
|
Team-XBMC Skinner
Join Date: Jan 2007
Location: New Jersey, USA
Posts: 215
![]() |
__________________
![]() Download Containment,Containment Themes Download xTV,xTV Themes Download xbmcTV Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first.
|
|
|
|
|
|
#3 |
|
Member
Join Date: Dec 2008
Posts: 35
![]() |
Thanks for the link, but I am not entirely sure how to and/or what XML file to put this in? Do I put the <onclick>EjectTray()</onclick> on the home.xml or in the keymap file?
Any advice would be greatly appreciated. Thanks. |
|
|
|
|
|
#4 |
|
Member
Join Date: Dec 2008
Posts: 35
![]() |
OK, I think I see where I would add the onclick on the home.xml file, however, how do I create something like this.
onclick ->bring up a selection menu to either Play DVD or Eject DVD Then when you highlight Play DVD it would play and highlight Eject it would Eject. This is for XBMC on a mac mini if that matters. |
|
|
|
|
|
#5 |
|
Member
Join Date: Dec 2008
Posts: 35
![]() |
Bump, anyone have ideas on how to get a "Play DVD or Eject DVD" option when a DVD is inserted?
Thanks |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Apr 2004
Posts: 2
![]() |
Hi,
this issue was bothering me too. I found an ugly, but functional, workaround: I never used the Favorites, so I edited the button to work as eject. Edit skins/MediaStream/720p/DialogButtonMenu.xml, and look for the Favorites button (id is 3110, you can just search for the number). There you can replace the <onclick> function. [Edit] it's of course called XBMC.EjectTray(). |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Oct 2009
Posts: 1
![]() |
I was also missing an Eject DVD menu item, so I just added it myself. On my Mac Mini I use the MediaStream skin, so I editted /Applications/XBMC.app/Contents/Resources/XBMC/skin/MediaStream/720p/Home.xml and added a new menu item by adding the following lines beneath the 'DVD button' menu item (line 1434):
<item id="11"> <description>Eject</description> <label>Eject</label> <label2>Eject the DVD</label2> <visible>System.HasMediadvd + !Skin.HasSetting(HideDVD)</visible> <onclick>XBMC.EjectTray()</onclick> </item> Now, when a DVD is inserted a menu option will show to eject the DVD. Strange though that this isn't in there by default? Last edited by duhcati; 2009-10-01 at 15:31. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|