Freevo

- Index
- USBstorage

# GeneralPlugins/USBstorage

## USB Storage

Plugin for usb storage devices.

Parameter: name and mountpoint..

You should also activate the usb plugin so that the menu will change when you plugin in or remove the usb storage device.

Example:

    plugin.activate('usb')
    plugin.activate('usbstorage', type='video', args=('USB Key', '/mnt/hd'))
    plugin.activate('usbstorage', type='audio', args=('USB Key', '/mnt/hd'))
    plugin.activate('usbstorage', type='image', args=('USB Key', '/mnt/hd'))

This plugin won't mount the device, when it is unmounted it will show an empty directory. When mounted it will display the items on the storage device.

You could usb the USB_HOTPLUG for this (see usb plugin) but it is a bad hack. Better install udev and some automounter.

last edited 2005-01-10 18:24:49 by BHeremans
current version: http://freevo.sourceforge.net/cgi-bin/doc/GeneralPlugins/USBstorage