Kodi Community Forum
USB key (removable media) detection? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: USB key (removable media) detection? (/showthread.php?tid=52163)



USB key (removable media) detection? - vattila - 2009-06-03

Hi,
I'm playing with a skin in which I would like to show media files stored on a USB key, only when there is one plugged in.
I don't want to browse the full media tree (i.e. including other media in files mode) but only to show the content on the USB key.

Is there a way to detect from the skin the presence of a USB key (e.g. something similar to the System.HasMediadvd boolean condition)?

vattila