Rockbox mail archive
Subject: Re: Viewing Files With Plugins UPDATED
From: [IDC]Dragon (idc-dragon_at_gmx.de)
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
> 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
> does: use that. These plugins _are not_ scanned at boot nor after USB
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
> 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
> have been "verified to work". That means we've played one successfully
> 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! http://www.gmx.net
Page was last modified "Jan 10 2012" The Rockbox Crew