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
translations translations
Search



Donate

Rockbox Technical Forums


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

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  What features should be added to theming spec?
« previous next »
  • Print
Pages: 1 [2]

Author Topic: What features should be added to theming spec?  (Read 6028 times)

Offline iPodVT

  • Member
  • *
  • Posts: 463
Re: What features should be added to theming spec?
« Reply #15 on: June 07, 2024, 05:13:06 PM »
In case anyone's interested, attached are four photos that demonstrate how my iPods' names are currently displayed in various screens of the in-development theme I'm working on - which is obviously closely derived from the default Rockbox cabbiev2 theme.

As quoted from an above post in this same topic, here's a brief description of how my theme currently accomplishes it:

Quote from: iPodVT on June 11, 2023, 10:48:59 AM
I have a number of iPods, each with a different username.  I'm currently able to kludge a solution by appending each iPod's name onto the name of its playlist catalog directory, and then I retrieve the name with %St(playlist catalog directory).  So if my iPod's name is "Bed_Pod", I name the playlist catalog directory "PlaylistsBed_Pod" and then call %ss(10,-,%St(playlist catalog directory)) to display the correct username.

The colors in the attached photos are a bit washed out, so they don't look as crisp and contrasted as what I see on my iPods' screens, but I wanted to use photos of the entire device as I feel it gives better context than just doing a dump of the iPod's screen.

* Bed_Pod1.jpg (60.38 kB, 432x688 - viewed 289 times.)

* Bed_Pod2.jpg (76.45 kB, 432x692 - viewed 283 times.)

* Bed_Pod3.jpg (96.31 kB, 432x680 - viewed 288 times.)

* Bed_Pod4.jpg (98.78 kB, 432x680 - viewed 277 times.)
Logged

Online speachy

  • Administrator
  • Member
  • *
  • Posts: 649
Re: What features should be added to theming spec?
« Reply #16 on: June 07, 2024, 08:48:55 PM »
My current WIP patch has this new "playername" setting defaulting to the internal playername (eg ipod5g, xduoox3, etc) but I'm now thinking it makes more sense to default to an empty string.

The idea being that users of that setting (be they themes or whatever) can check to see if it's set at all and adjust their behavior accordingly, and a name like 'xduoox3' isn't terribly useful.

I'm also thinking that this name could be properly voiced by the user creating a talkclip called '.rockbox/lang/VOICE_PLAYERNAME.talk' that could be triggered by the announce_status plugin or somewhere in the menu hierarchy.

Logged

Online Frankenpod

  • Member
  • *
  • Posts: 786
Re: What features should be added to theming spec?
« Reply #17 on: June 09, 2024, 06:33:24 AM »
Quote from: speachy on June 07, 2024, 08:48:55 PM
My current WIP patch has this new "playername" setting defaulting to the internal playername (eg ipod5g, xduoox3, etc) but I'm now thinking it makes more sense to default to an empty string.

The idea being that users of that setting (be they themes or whatever) can check to see if it's set at all and adjust their behavior accordingly, and a name like 'xduoox3' isn't terribly useful.

I'm also thinking that this name could be properly voiced by the user creating a talkclip called '.rockbox/lang/VOICE_PLAYERNAME.talk' that could be triggered by the announce_status plugin or somewhere in the menu hierarchy.

Sounds like a good way to do it, to me.  The only thought I have on it - which might be completely impossible to achieve anyway, for all I know - is that a possible default name could be the serial number as reported by the original firmware.  Don't know if RB can access that, or if it even exists on targets other than ipods.
Logged

Offline chronicallyoffline

  • Member
  • *
  • Posts: 8
Re: What features should be added to theming spec?
« Reply #18 on: July 14, 2024, 05:08:53 PM »
The colorscheme being pulled from the Album Artwork seems like such a fantastic addition, I wonder if inspiration could be taken from something like pywall to accomplish it.

One thing I'd love to have would be the ability to set a light and dark mode of a theme, and have it set to trigger at a specific time or at will via quickscreen. I don't have the slightest idea if that's possible or how it would be accomplished though.
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 463
Re: What features should be added to theming spec?
« Reply #19 on: July 14, 2024, 06:37:57 PM »
Quote from: chronicallyoffline on July 14, 2024, 05:08:53 PM
One thing I'd love to have would be the ability to set a light and dark mode of a theme, and have it set to trigger at a specific time or at will via quickscreen. I don't have the slightest idea if that's possible or how it would be accomplished though.

It occurred to me that if one had two different versions of a theme - in your case one light and one dark - they could be manually triggered quickly and easily via shortcuts.  So I navigated into the themes directory, selected each of two different theme .cfg files, and used the context menu to add them to my shortcuts.  I was surprised that the generated shortcuts were of type 'browse', not type 'file', and selecting the new shortcuts only took me to each theme's .cfg file in the themes directory, it did not apply the theme.  So I manually edited my shortcuts file to change those shortcuts' types to 'file' and then rebooted so that Rockbox would use my new manual edits, and now the shortcuts apply the chosen themes.

Perhaps this might work for you, at least until accessing the theme files via the Quickscreen gets implemented.  And, of course, it's still manual - not automated for time of day or other condition.
Logged

Offline Dook

  • Member
  • *
  • Posts: 63
    • D00k.net
Re: What features should be added to theming spec?
« Reply #20 on: July 18, 2024, 11:33:39 AM »
I think it could've been Bilgus, but someone mentioned before that it's possible to create a plugin that automatically switches the theme at a set time.
Logged

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  What features should be added to theming spec?
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.085 seconds with 21 queries.