|
|
View Files with PluginsA viewer-plugin is a 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 here.ch8,viewers/chip8,0 txt,viewers/viewer,1 nfo,viewers/viewer,1 txt,apps/text_editor,2 jpg,viewers/jpeg,2 r6 - 02 Apr 2021 - 20:46:07 - UnknownUser
Copyright © by the contributing authors.
|