Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  custom config loading by directory
« previous next »
  • Print
Pages: [1]

Author Topic: custom config loading by directory  (Read 2205 times)

Offline MisterScoundrel

  • Member
  • *
  • Posts: 6
custom config loading by directory
« on: November 29, 2006, 11:35:48 PM »
I was looking through the patches and found this old one:

http://www.rockbox.org/tracker/task/2235

It sounds like a really useful idea to me, but it's really old and I suspect it wouldn't merge successfully with the current codebase. I'd love this functionality because I use my player for both podcasts and music, and would like slightly different settings for each situation. (For instance, equalizer settings, shuffle/repeat, track ordering, bookmarking settings.) Does anyone have any experience with this or a similar patch, or maybe another suggestion to offer?
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: custom config loading by directory
« Reply #1 on: November 30, 2006, 04:14:43 AM »
Certainly an interesting concept, but it would definitely be hard work getting it to work. Plus, it would not be good for battery life if it kept loading different confgs as you flicked through the file browser :( ...and it probably wouldn't work if you used the Database browsing functionality.

Your best workaround at the moment is to create separate, appropriately named, config files, store them in .rockbox/themes and load them using

Menu > Browse Themes

That's not many keypresses to get the config you want :)
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline pabouk

  • Member
  • *
  • Posts: 387
Re: custom config loading by directory
« Reply #2 on: November 30, 2006, 05:39:51 AM »
I like this idea too. The configurations should be probably cached in the RAM either for the whole disk (like dircache) or just for the directories which contain  the  currently buffered files. The second option would not be much slower because the new configurations would get loaded when filling the buffer (no extra spin up).

I use even more types of files which require different settings: podcasts, music, recorded files, language lessons, audio books etc.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: custom config loading by directory
« Reply #3 on: November 30, 2006, 05:51:21 AM »
It's actually *exactly* as many keypresses to get to the load screen for config files as the load themes (last I checked) and that way you can actually keep them separated and in a proper place.
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: custom config loading by directory
« Reply #4 on: November 30, 2006, 07:05:10 AM »
Llorean, you are correct (as always), but it's a preference thing and my menu path is cleaner than

Menu > Manage Settings > Browse .cfg files

Fake edit: If you let the key-repeat work its magic, my option is *technically* only 3 keypresses vs 4 for yours.... :P [/pedantry]
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline Rincewind

  • Member
  • *
  • Posts: 266
Re: custom config loading by directory
« Reply #5 on: December 03, 2006, 04:59:17 PM »
Quote from: Llorean on November 30, 2006, 05:51:21 AM
It's actually *exactly* as many keypresses to get to the load screen for config files as the load themes (last I checked) and that way you can actually keep them separated and in a proper place.

If you have an iriver you can install my recording button config patch and have different configs with just 2 button presses (in the optimal case when you select the first setting)

patch is #5555 on  flyspray
Logged
Iriver H120, Sansa e280

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  custom config loading by directory
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.142 seconds with 22 queries.