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: mp3-specific config
From: Brian King (brking_at_charter.net)
Date: 2003-12-23


Actually, the current patch handles that as well. I only keep 2 copies
of the settings, however. I just end up re-reading the playlist config.
The order of precendence is:

1. playlist directory cfg file
2. playlist cfg file
3. mp3 file directory cfg file
4. mp3 file cfg file

You can stack these just like you mentioned. The patch as it is today
ends up re-reading all these cfg files when you go to the next track.

-Brian

Johan Vromans wrote:
> Brian King <brking_at_charter.net> writes:
>
>
>>Correct. The current patch handles this. It keeps a second copy of the
>>global_settings called saved_settings and updated the proper one
>>depending on the useage.
>
>
> I'd say that a stack is needed. E.g., play a playlist with settings ->
> save current settings (set A), new settings become current (set B).
> The playlist contains an MP3 with a config -> set B is saved and new
> set (set C) becomes current. When the MP3 finishes, restore set B.
> When the playlist finishes, set A should be restored.
>
> However, I'm pretty much happy with the current one-level approach
> :-).
>
> -- Johan
>
>



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