Kodi Community Forum

Full Version: reFocus: ejecting DVD media
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

This may sound really silly but I'm just drawing a total blank here.

I'm using the reFocus (and loving it more every day). I've inserted a DVD and watched it. Now how do I eject it from within XBMC? Huh

The only logical place seems to be the home screen but there's no option there.

Thanks.
Really, no one?
there's no entry on the homescreen for it. I think it's quite a useless feature, as one would have to walk up to the device anyway assuming the disc is ejected with the intent of taking it out.
And what if he has slot-in dvd drive? (without eject button) Smile
Kolabor Wrote:And what if he has slot-in dvd drive? (without eject button) Smile

which is exactly my case...
The way I solved this :

open

skin.refocus/720p/HomeMenu.xlm

after
Code:
<item id="10">
<label>$LOCALIZE[341]</label>
<onclick>XBMC.PlayDVD</onclick>
<visible>System.HasMediadvd</visible>
</item>

add
Code:
<item id="10">
<label>$LOCALIZE[31979]</label>
<onclick>XBMC.EjectTray()</onclick>
<visible>System.HasMediadvd</visible>
</item>

This will add Eject in the Main Menu as soon as a CD/DVD has been recognized.
ok, didn't realize the issue here. I have a slot-in drive too, but it does have an eject buton.
Best way to go about this I think would be to have a "disc" entry in the home menu, which opens a submenu with "play" and "eject". I'll have a look at this for the next release.

greetings, jeroen
Hi Jeroen,

Thanks for taking this into consideration on behalf of all Mac Mini users out there. ;-)

@DFence: Thanks for the tip. Since I have DVD autoplay enabled this change is probably the best use I'm going to get out of the menu entry - for now anyway.
AlfredJKwack Wrote:Thanks for taking this into consideration on behalf of all Mac Mini users out there. ;-)

Ah, I could have known this would be because of Steve Job's allergy to buttons...
Wink
Sorry, CloudDweller posted a question here, but I screwed up when replying Blush
Anyway, at least here's the answer:
sorry, Jeroen



For a quick and dirty way just replace

<label>$LOCALIZE[31979]</label>

with

<label>eject disc</label>
Argh, sorry I forgot:

A not quick and dirty solution:

open

skin.refocus/language/yourlanguage/strings.xml

at the end of the file

before
Code:
</strings>

add
Code:
<!--dvd eject modificaton-->
<string id="31979">DVD eject</string>

Cheers
DFence