Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Viewing Files With Plugins
From: Björn Stenberg (bjorn_at_haxx.se)
Date: 2004-01-09


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örn



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa