91
Theming and Appearance Customization / Re: Any possibility for conditional %Cl?
« Last post by RetiredTeacherGuy on February 03, 2025, 12:37:03 PM »there are a couple of caveats in that manual entry
namely: 'If the aspect ratio doesn’t match the configured values, the picture will be
placed according to the alignment flags.'QuoteD.21.1. How to display the album art
Once the album art files are present on your player, they can be displayed as follows.
Tag
Description
%Cl(x,y,[maxwidth], Define the settings for album art
[maxheight],
x: x coordinate
hor_align,
y: y coordinate
vert_align)
maxwidth: Maximum height
maxheight: Maximum width
hor_align: Horizontal alignment, enter as ‘l’, ‘c’ or ‘r’ for
left, centre or right. Centre is default
vert_align: Vertical alignment, enter as ‘t’, ‘c’ or ‘b’ for top,
centre or bottom. Centre is default
%Cd
Display the album art as configured.
%C
Use in a conditional to determine if an image is available.
The picture will be rescaled, preserving aspect ratio to fit the given maxwidth and
maxheight. If the aspect ratio doesn’t match the configured values, the picture will be
placed according to the alignment flags.
Examples:
1. Load albumart at position 20,40 and display it without resizing:
%Cl(20,40„)
Appendix D. Theme Tags
2. Load albumart at position 0,20 and resize it to be at most 100×100 pixels. If the
image isn’t square, align it to the bottom-right corner:
%Cl(0,20,100,100,r,b)
maybe it does work but the ratio is wrong? maybe try making one 'rb' right bottom and the other 'tl' top left
see if it changes?
I'll look into it this eve
Assuming all artwork (for purposes of this discussion) are over 200 x 200 px, the alignment won’t matter, whether left/top, right/bottom, all will be resized and centered properly as long as I’m calling for max height and width less than 200. What I’m specifically asking about is the max height/width. In this example:
Code: [Select]
%?mp<|%Cl(75,6,170,170)%VB%Cd%|%Cl(75,6,140,140)%VB%Cd%||>
[/size][size=78%]The artwork will be presented as 140 x 140 in both play and pause. And in this example:[/size]
[/size]
Code: [Select]
%?mp<|%Cl(75,6,140,140)%VB%Cd%|%Cl(75,6,170,170)%VB%Cd%||>
[/size][/size][size=78%]The artwork will be presented as 170 x 170 in both play and pause. Whichever %Cl is last, wins regardless in my experience. My assumption is that this is because only one %Cl is “allowed” but maybe/hopefully I’m just approaching it incorrectly.[/size]
92
Theming and Appearance Customization / Re: Any possibility for conditional %Cl?
« Last post by Bilgus on February 03, 2025, 11:34:57 AM »there are a couple of caveats in that manual entry
namely: 'If the aspect ratio doesn’t match the configured values, the picture will be
placed according to the alignment flags.'
maybe it does work but the ratio is wrong? maybe try making one 'rb' right bottom and the other 'tl' top left
see if it changes?
I'll look into it this eve
namely: 'If the aspect ratio doesn’t match the configured values, the picture will be
placed according to the alignment flags.'
Quote
D.21.1. How to display the album art
Once the album art files are present on your player, they can be displayed as follows.
Tag
Description
%Cl(x,y,[maxwidth], Define the settings for album art
[maxheight],
x: x coordinate
hor_align,
y: y coordinate
vert_align)
maxwidth: Maximum height
maxheight: Maximum width
hor_align: Horizontal alignment, enter as ‘l’, ‘c’ or ‘r’ for
left, centre or right. Centre is default
vert_align: Vertical alignment, enter as ‘t’, ‘c’ or ‘b’ for top,
centre or bottom. Centre is default
%Cd
Display the album art as configured.
%C
Use in a conditional to determine if an image is available.
The picture will be rescaled, preserving aspect ratio to fit the given maxwidth and
maxheight. If the aspect ratio doesn’t match the configured values, the picture will be
placed according to the alignment flags.
Examples:
1. Load albumart at position 20,40 and display it without resizing:
%Cl(20,40„)
Appendix D. Theme Tags
2. Load albumart at position 0,20 and resize it to be at most 100×100 pixels. If the
image isn’t square, align it to the bottom-right corner:
%Cl(0,20,100,100,r,b)
maybe it does work but the ratio is wrong? maybe try making one 'rb' right bottom and the other 'tl' top left
see if it changes?
I'll look into it this eve
93
Theming and Appearance Customization / Re: Any possibility for conditional %Cl?
« Last post by RetiredTeacherGuy on February 03, 2025, 10:42:31 AM »looks like %Cl already has some optionsQuote%Cl(xpos,ypos,maxwidth,maxheight,[horizontal alignment],[vertical alignment])
i assume max width/height only serve to resize after load?
I guess the question is what do you envision it doing?
like an extra index that lets you select or specifying a size?
and how does it get along with the current themes
can't go breaking stuff
Unless I’m mistaken, options like max width/height set the size of the artwork once no matter where %Cd is used in the WPS? If I’m wrong then I haven’t found the right way. That would certainly solve my issue.
What I’m envisioning is a smaller artwork size when %mp is in pause. Any efforts I’ve made to have more than one %Cl just results in whichever %Cl statement is last…is used throughout. What I’d like to do is something like:
Code: [Select]
%?mp<|%Cl(75,6,170,170)%VB%Cd%|%Cl(75,6,140,140)%VB%Cd%||>
94
Theming and Appearance Customization / Re: Any possibility for conditional %Cl?
« Last post by Bilgus on February 03, 2025, 10:15:01 AM » looks like %Cl already has some options
i assume max width/height only serve to resize after load?
I guess the question is what do you envision it doing?
like an extra index that lets you select or specifying a size?
and how does it get along with the current themes
can't go breaking stuff
Quote
%Cl(xpos,ypos,maxwidth,maxheight,[horizontal alignment],[vertical alignment])
i assume max width/height only serve to resize after load?
I guess the question is what do you envision it doing?
like an extra index that lets you select or specifying a size?
and how does it get along with the current themes
can't go breaking stuff
95
Theming and Appearance Customization / Any possibility for conditional %Cl?
« Last post by RetiredTeacherGuy on February 03, 2025, 07:15:37 AM »I would find it really beneficial to be able to call different artwork sizes within the WPS using a conditional. Any chance?
96
Repairing and Upgrading Rockbox Capable Players / Re: SSD sold by iPod Parts UK
« Last post by rockbox_dev123 on February 03, 2025, 03:01:02 AM »I don't think it was stated anywhere that HFS+ was wanted. If he is trying to get access to a Windows PC then I assume he just wants a working FAT32 setup?
FWIW ipodpatcher can be compiled on macOS and works without issue. A pre compiled binary is included with the macOS Rockbox utility.
See here:
https://forums.rockbox.org/index.php/topic,54860.msg253676.html#msg253676
FWIW ipodpatcher can be compiled on macOS and works without issue. A pre compiled binary is included with the macOS Rockbox utility.
See here:
https://forums.rockbox.org/index.php/topic,54860.msg253676.html#msg253676
97
Apple - Installation/Removal / iPod Video 5.5 Manual Restore Issues
« Last post by alouiscourtney on February 03, 2025, 12:49:40 AM »Hello!
I did a manual restore following the guide here: https://www.rockbox.org/wiki/IpodManualRestore
It seems like I can install rockbox just fine, but my iPod is a 128gb model and it says it only has an 80gb volume when I plug it into my linux machine.
I went to plug it into my macbook pro but it doesn't seem to be mounting properly at all. It recognizes the device as an iPod but when I click on it in finder, it just says "Loading..." and it is also not recognized in iTunes. I checked Disk Utility and it is listed under External >> disk4s2.
I tired running first aid, but it fails. "Can't open (Operation not permitted) File system check exit code is 8 Restoring the original state File System verify failed. : (-69845)"
Any tips? I'd like to make sure I can use all 128gb and it would be nice to be able to switch back and forth between rockbox and the og ipod firmware.
I did a manual restore following the guide here: https://www.rockbox.org/wiki/IpodManualRestore
It seems like I can install rockbox just fine, but my iPod is a 128gb model and it says it only has an 80gb volume when I plug it into my linux machine.
I went to plug it into my macbook pro but it doesn't seem to be mounting properly at all. It recognizes the device as an iPod but when I click on it in finder, it just says "Loading..." and it is also not recognized in iTunes. I checked Disk Utility and it is listed under External >> disk4s2.
I tired running first aid, but it fails. "Can't open (Operation not permitted) File system check exit code is 8 Restoring the original state File System verify failed. : (-69845)"
Any tips? I'd like to make sure I can use all 128gb and it would be nice to be able to switch back and forth between rockbox and the og ipod firmware.
98
Theming and Appearance Customization / Re: SPAZZ theme
« Last post by chuck_lardo on February 02, 2025, 11:11:41 PM »First of all, amazing theme! Thank you for your work.
I do have a question. For some reason when I select other font, it doesn't change. The font looks amazing, however it doesn't display Japanese characters and Cyrillic.
Not sure if that is the issue that is on my end or with the theme.
Sorry, not sure why you can't change the font. My guess is that it is because I have defined the font to be used in the config and WPS/SBS files. You might need to replace the font from those locations.
But again, not sure exactly. Although I did test it and I can not change the font either. So it's not you, it's the theme.
99
Theming and Appearance Customization / Re: %cu glitch?
« Last post by RetiredTeacherGuy on February 02, 2025, 02:25:48 PM »Worked on main sbs. Went back to lockscreen and tried a different location and it worked. So looks like it was getting wiped by the USB graphic. I added a delay, and it shows.
As you were, and thanks.
As you were, and thanks.
100
Theming and Appearance Customization / Re: %cu glitch?
« Last post by RetiredTeacherGuy on February 02, 2025, 02:07:31 PM »Putting (only) the following into a WPS file seems to work for me:Code: [Select]%?cu<Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday>
Do you have a minimal test case of an actual SBS or WPS that fails?
I’ve been trying to implement on my lockscreen in the sbs. Let me try on just a standard sbs viewport and I’ll report back.