Rockbox mail archiveSubject: Re: "-._.-" Audio_3587 - Public Release "-._.-"
Re: "-._.-" Audio_3587 - Public Release "-._.-"
From: BlueChip <cs_bluechip_at_webtribe.net>
Date: Tue, 08 Jun 2004 18:57:40 +0100
At 17:35 08/06/04, you wrote:
> > jorg made that in his cd changer emulation plugin...
> > no autostart yet.
>I've made autostart in my local build. The init code checks for
>"autostart.rock" and runs it if present. I did not dare to commit this to
>the general public, because most people won't use it. Or?
May i propose a more flexible system which opens the door to future
expansion and Zagor's wild dream (that is a compliment)?
Instead of autoexec.rock, have plugchain.rock which is called by rockbox
with a text file to describe the tasks it should perform.
This way you could run multiple plugins, select differing options if the
unit is "plugged", and also it could be called by, say, play_file for
volume-settings-per-file stuff ...load some settings, start the song, show
Obviously, one of the calls to plugchain.rock would be during startup,
where main() would
ASK "left=home ... right=walkman" LEFT|RIGHT
Well, you get the idea, and the concept could be quickly expanded to
include any event driven task you like :)
Received on 2004-06-08