Rockbox mail archiveSubject: Re: Viewing Files With Plugins
Re: Viewing Files With Plugins
From: Björn Stenberg <bjorn_at_haxx.se>
Date: Fri, 9 Jan 2004 17:01:12 +0100
Alexandre FLAMENT wrote:
> What happen if the user want use text view for m3u, txt and nfo ? He has
> to copy text-viewer 3 times (m3u-textview.rock, txt-textview.rock,
> nfo-textview.rock) ?
Either that, or set up viewers.conf to bind the same plugin to the three extensions.
> Plugins can claim which extensions they can handle in a header; so if
> viewers.conf is missing/empty rockbox can scan plugins to create it.
We considered that, but chose to use the file name for it instead. It avoids having to read each file.
-- BjörnReceived on 2004-01-09