Plugins

Plugins are external components that help device publishers provide extra media-related information.

Note: The plugins are shipped with the QNX SDK for Apps and Media, so you must install this product to use them. However, the plugins are useful only in systems that support media playback and external devices. If your system has no plugins installed, this doesn't cause an error; instead, the device publishers just write fewer data fields to the mount objects.

The plugin manager isn't packaged as a separate service or library but instead is integrated into all device publishers. At startup, publishers initialize the plugin manager by providing their type (e.g., publisher-usb) and the path of the plugin directory. The plugin manager loads, from the specified directory, all installed plugins that support the device publisher type and then builds a list of available plugins, sorted by rating. This last action allows the plugin manager to forward information requests to plugins with higher ratings first. Plugins with lower ratings are invoked only when the higher-rated plugins can't provide the requested information.

Included plugins

The QNX SDK for Apps and Media includes the following plugins:
generic
Reads volume names and generates volume IDs from the name and other fields such as the serial number. Supports all device types and reads WMPInfo.xml (if it's available on the filesystem).
ipod
Obtains the names and IDs of iPods.
mediafs
Obtains the names and IDs of Media FS devices.
audiocd
Extracts Table of Contents (TOC) and CD-Text information from audio CDs to fill in fields such as artist and album name.