|
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? > >Jörg 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 the picture. Obviously, one of the calls to plugchain.rock would be during startup, where main() would load_rock("/autoexec.bat",0) [autoexec.bat] IF PLUGGED settings/car.cfg audio_3587 settings/car.vol car_head.rock "alpine" ELSE ASK "left=home ... right=walkman" LEFT|RIGHT LEFT settings/home.cfg audio_3587 settings/home.vol RIGHT settings/walkman.cfg audio_3587 settings/car.vol FORCE_RESUME ENDASK ENDIF Well, you get the idea, and the concept could be quickly expanded to include any event driven task you like :) Good ideas? BlueChiP _______________________________________________ http://cool.haxx.se/mailman/listinfo/rockbox Received on 2004-06-08 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |