XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > Skin Help and Support > xTV

xTV Subforum for the xTV take one skin (and mods for/of it).

Reply
 
Thread Tools Search this Thread Display Modes
Old 2009-03-31, 15:24   #1
xfiring
Member
 
Join Date: Dec 2008
Posts: 35
xfiring is on a distinguished road
Default How to add Eject DVD Option?

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?
xfiring is offline   Reply With Quote
Old 2009-03-31, 18:58   #2
CHI3f
Team-XBMC Skinner
 
CHI3f's Avatar
 
Join Date: Jan 2007
Location: New Jersey, USA
Posts: 215
CHI3f is on a distinguished road
Default

Read this.
__________________

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.


CHI3f is offline   Reply With Quote
Old 2009-04-01, 00:22   #3
xfiring
Member
 
Join Date: Dec 2008
Posts: 35
xfiring is on a distinguished road
Default

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.
xfiring is offline   Reply With Quote
Old 2009-04-01, 02:30   #4
xfiring
Member
 
Join Date: Dec 2008
Posts: 35
xfiring is on a distinguished road
Default

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.
xfiring is offline   Reply With Quote
Old 2009-04-08, 15:56   #5
xfiring
Member
 
Join Date: Dec 2008
Posts: 35
xfiring is on a distinguished road
Default

Bump, anyone have ideas on how to get a "Play DVD or Eject DVD" option when a DVD is inserted?

Thanks
xfiring is offline   Reply With Quote
Old 2009-09-01, 03:39   #6
squisher
Junior Member
 
Join Date: Apr 2004
Posts: 2
squisher is on a distinguished road
Default

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().
squisher is offline   Reply With Quote
Old 2009-10-01, 15:28   #7
duhcati
Junior Member
 
Join Date: Oct 2009
Posts: 1
duhcati is on a distinguished road
Smile

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.
duhcati is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:20.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project