---+View Files with Plugins A viewer-plugin is a [[PluginIndex][plugin]] that is programmed just like any other plugin, but acts to display, edit, write or otherwise deal with a file. Viewer plugins are kept in ".rockbox/viewers/". They can be used to browse a file when invoked with the ON+PLAY menu choice "view with" and they are invoked when a file with its associated registered extension is used. The extension <=> plugin connection is set in the ".rockbox/viewers.config" file. Below follows an example showing the file format of the viewers.config file. The number at the end of each line defines the icon to be associated with the extension. For more on viewer icons see [[CustomIcons][here]]. <pre> ch8,viewers/chip8,0 txt,viewers/viewer,1 nfo,viewers/viewer,1 txt,apps/text_editor,2 jpg,viewers/jpeg,2 </pre> ---
r5 - 30 Jan 2008 - 23:20:34 -
Copyright © by the contributing authors.