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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Looking for a way for .sbs file to retrieve volume name of device
« previous next »
  • Print
Pages: [1]

Author Topic: Looking for a way for .sbs file to retrieve volume name of device  (Read 120 times)

Offline iPodVT

  • Member
  • *
  • Posts: 120
Looking for a way for .sbs file to retrieve volume name of device
« on: April 01, 2023, 09:42:45 AM »
Is there a way for my .sbs theme file to retrieve the name of the volume on which Rockbox is installed?  I'm not finding anything in the manual - all retrievable pathnames appear to be relative to the root directory of the volume.  I'm (still) trying to find a clean way to display my iPods' unique user-assigned names without having to hardcode the names into each device's .sbs file.  [Edit:] I figured out a kludgy way to cache and retrieve the iPods' names, using the names of each device's Playlist Catalog folder, but it's ugly and awkward, and in the end it just transfers the hardcoding from the .sbs file to the Playlist Catalog config setting.

Thanks.
« Last Edit: April 01, 2023, 12:39:23 PM by iPodVT »
Logged

Offline Dook

  • Member
  • *
  • Posts: 10
    • D00k.net
Re: Looking for a way for .sbs file to retrieve volume name of device
« Reply #1 on: May 06, 2023, 09:32:34 AM »
There is gap in my opinion of a tag which exposes the directories of a current page/folder in the way that the %d(n) tag does for song filenames. If this was a thing, it would open up a lot of theming options, especially for album pages and such, but it would also make finding the name of the iPod like this possible.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Looking for a way for .sbs file to retrieve volume name of device
 

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

Page created in 0.04 seconds with 17 queries.