dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Viewing Files With Plugins UPDATED

Re: Viewing Files With Plugins UPDATED

From: [IDC]Dragon <>
Date: Tue, 13 Jan 2004 15:03:47 +0100 (MET)

I'm a bit confused about a few things:

> 2. Extension config file ".rockbox/view.config". A config file lists
> extensions and what plugin (file name) that should be ran to view
> that
> particular file. This file is _not_ scanned at boot, but will be read
> and cached at first use.

When is "first use"? Before displaying a dirctory list for the first time?
We'd need the icon data and the knowledge on what's "supported" by then, or
did I get this wrong?

> 3. Check if ".rockbox/viewer/[extension]-[anything].rock" exists, and if
> it
> does: use that. These plugins _are not_ scanned at boot nor after USB
> disconnect.

But they are if "opening" a file which does not match 1. or 2., right?

> View Supported
> The concept of "view supported" files changes somewhat. Internally
> supported
> formats are of course present, but extensions in the "view.config" are
> only supported once the file has been read and and so are extensions
> that
> have been "verified to work". That means we've played one successfully
> and
> thus there was a plugin for it in the proper dir.

Is that only for a class 3. plugin, or also for the ones in the config file?

> view.config File Format:
> Each line conists of extension, file name and icon data.
> extension TAB] plugin file name TAB 12 icon digits 00 12 34 56 67 89

I vote for comma instead of tab, different kind of whitespace gets lost so
easily, but anyway.


+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS!
Received on 2004-01-13

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy