Welcome to the Rockbox Technical Forums!
I'm not aware of any ipods having a software-queryable serial number, and to be honest the serial number isn't something you'd ever want to display during normal use -- it's ugly. You'd want a nonoffensive human-friendly string instead. (Current default is 'Rockbox!' which we think is appropriate)
Quote from: speachy on December 07, 2024, 08:14:41 AMI'm not aware of any ipods having a software-queryable serial number, and to be honest the serial number isn't something you'd ever want to display during normal use -- it's ugly. You'd want a nonoffensive human-friendly string instead. (Current default is 'Rockbox!' which we think is appropriate)I agree that displaying the serial number by default would be unattractive. (But with the ipod6g, the serial number apparently is accessible via software-query. It's displayed in System->Debug->View SysCfg.
I agree that displaying the serial number by default would be unattractive. (But with the ipod6g, the serial number apparently is accessible via software-query. It's displayed in System->Debug->View SysCfg.
Quote from: iPodVT on December 07, 2024, 08:42:45 AMI agree that displaying the serial number by default would be unattractive. (But with the ipod6g, the serial number apparently is accessible via software-query. It's displayed in System->Debug->View SysCfg.Thanks for that information - somehow hadn't noticed that. Currently keep track of which-is-which (and remember which has which permutation of sd cards in it and any faults it has and when it was last synched etc) via that serial number, but didn't realise the number was accessible without having to reboot in OF.(The serial number also indicates the ipod's date-of-manufacture, apparently)
I really like the playername being in .rockbox only because it allows me to mark which build I'm running and carry it around with them
the other issue I have is allowing themes to access user data isn't the way the rest of the stuff works
[Edit]what if we looked in the root at boot and if exists its copied into .rockbox
we also don't don't know what context rockbox is running in you would want an app running on your phone to start having root access? your pc?
I just now updated to the current dev build and have switched my usage of %St to %ft in order to retrieve the name I want to display in my theme's status bar. Being ever inclined to push back against limits, I moved the playername.txt file into my root directory and edited my player's name into it, and when I rebooted I found that Rockbox had created a new initialized playername.txt file in the .rockbox directory (as I expected), but %ft still retrieved my edited text from /playername.txt as specified in my .sbs file (as I hoped). Is this an unintended implementation oversight?
Can you please double-check the contents of /.rockbox/playername.txt ? Because the way the code is written, '/.rockbox/' is _always_ prepended to what is supplied in the %ft tag.
%ac%?bs<Sleep %bs|%ss(0,-,%ft(/playername.txt, 0))>
Page created in 0.113 seconds with 23 queries.