Kodi Community Forum
reFocus: ejecting DVD media - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: reFocus (https://forum.kodi.tv/forumdisplay.php?fid=72)
+----- Thread: reFocus: ejecting DVD media (/showthread.php?tid=90958)



reFocus: ejecting DVD media - AlfredJKwack - 2011-01-18

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.


- AlfredJKwack - 2011-01-20

Really, no one?


- Jeroen - 2011-01-20

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.


- Kolabor - 2011-01-20

And what if he has slot-in dvd drive? (without eject button) Smile


- AlfredJKwack - 2011-01-22

Kolabor Wrote:And what if he has slot-in dvd drive? (without eject button) Smile

which is exactly my case...


- DFence - 2011-01-23

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.


- Jeroen - 2011-01-24

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


- AlfredJKwack - 2011-01-24

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.


- Jeroen - 2011-01-24

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


- CloudDweller - 2011-01-25

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>


- DFence - 2011-01-29

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