Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The cover art is resized to 168px so it's exactly 1.5x of the current cached cover size (112px). So it maximizes screen height. The extra 2px are covered by the progress bar on the bottom.
The resizing does not use any resampling function to prevent any additional CPU expense. It can look a bit pixelated if you look closely, but it's still decent on normal use.
The header is not used but status icons are visible.
Works in both landscape and portrait.
Shows all track info except sample rate (e.g. 44,100khz) due to lack of meaningful space.
Displays "Shuffle" instead of "Shuffle songs" to make it look cleaner.
No scrolling text to reduce distraction
The track title is displayed in 2 lines, with a line break on the space based on the available width.
If the current theme is Dark, it will use a pure black background so the text has more contrast and the background blends better with the black physical screen frame.
If there's no cover art, it will just show a blank space on the left so it keeps the same layout.
This would work better with a default cover art feature, which I'll submit as a separate pull request as it seems it will no longer fit on the current code window and/or RAM in the current state.
Passed unit tests, tested on the emulator, and tested on my own device.
AI coded using mostly free models from antigravity, qoder, & opencode.