Commit graph

1141 commits

Author SHA1 Message Date
Christina Sørensen
5bcb44fd6b
docs: prettier
Signed-off-by: Christina Sørensen <ces@fem.gg>
2025-01-15 21:10:29 +01:00
Christina Sørensen
342621aac2
build: tangara flake!
Signed-off-by: Christina Sørensen <ces@fem.gg>
2025-01-15 21:10:29 +01:00
cooljqln
dfb4ea5458 Merge pull request 'MP3 gap... less' () from tjk/tangara-fw:mp3-gapless into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/180
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
2025-01-14 05:35:21 +00:00
cooljqln
1625d5a6b8 Merge pull request 'Ensure settings sections are in view' () from tjk/tangara-fw:settings-scroll into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/177
2025-01-14 04:33:47 +00:00
Tom Kirchner
b65713624f Skip gap samples in MP3 decoding 2025-01-13 17:16:13 -08:00
Tom Kirchner
fcc9addc9a Ensure Audio section header in settings is visible 2025-01-12 21:42:20 -08:00
cooljqln
db7c28347c Merge pull request 'Update licensing info' () from tjk/tangara-fw:update-reuse into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/174
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
2025-01-13 04:50:49 +00:00
Tom Kirchner
3993835a35 Extract gapless info from MP3 LAME header 2025-01-11 22:10:48 -08:00
Tom Kirchner
f8199bbd6d Handle optional frames field in bytes offset of MP3 header 2025-01-11 22:10:34 -08:00
Tom Kirchner
35f1246379 Check for frames/bytes/TOC in CBR as well 2025-01-11 22:10:34 -08:00
Tom Kirchner
1f1059843f Rename VbrInfo to Mp3Info
It can apply to CBR files too, when the marker is "Info"
2025-01-11 22:10:26 -08:00
jacqueline
430742c297 version bump 2025-01-10 13:17:50 +11:00
jacqueline
94c30b7591 Isolate the SD card from the SPI bus when talking to the display ()
This should help significantly with https://codeberg.org/cool-tech-zone/tangara-fw/issues/121, which seems to be caused by some SD cards being very picky about being the only SPI device on their bus.

Co-authored-by: ailurux <ailuruxx@gmail.com>
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/176
Co-authored-by: jacqueline <me@jacqueline.id.au>
Co-committed-by: jacqueline <me@jacqueline.id.au>
2025-01-10 02:17:11 +00:00
cooljqln
9011899619 Merge pull request 'Extend idle -> sleep time to 2 minutes' () from tjk/tangara-fw:extend-idle-poweroff into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/175
2025-01-10 01:40:56 +00:00
Tom Kirchner
2a92bb1869 Extend idle -> sleep time to 2 minutes 2025-01-09 16:05:59 -08:00
cooljqln
3505279b49 Merge pull request 'Show "Unknown Artist" when artist is missing' () from tjk/tangara-fw:clear-artist into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/173
2025-01-10 00:02:11 +00:00
Tom Kirchner
63c6f2132b Split long license lines so they fit on screen 2025-01-08 21:29:10 -08:00
Tom Kirchner
6d6d7188a8 Allow scrolling of license text 2025-01-08 21:24:27 -08:00
Tom Kirchner
bff22d9073 Update on-device license list 2025-01-08 21:03:09 -08:00
Tom Kirchner
74ca1464a5 Add missing license files 2025-01-08 21:03:09 -08:00
Tom Kirchner
11deb3fac8 Update REUSE license directives 2025-01-08 21:03:09 -08:00
cooljqln
faf52c162f Merge pull request 'Add bitrate info' () from tjk/tangara-fw:bitrate into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/172
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
2025-01-09 04:52:38 +00:00
Tom Kirchner
faa62e0c60 Add bitrate info 2025-01-08 20:46:34 -08:00
Tom Kirchner
d6db4b0826 Add missing copyright/license headers 2025-01-08 16:58:36 -08:00
Tom Kirchner
88d2bbe067 Convert to supported REUSE.toml format
Via `reuse convert-dep5`
2025-01-07 22:03:20 -08:00
Tom Kirchner
c46a3cefa8 Use "Unknown Artist" when tag is missing
This fixes the case where you switch from a file with an artist to one
with no artist, which would show the old artist.

The album field is already hidden, title shows the filename if missing,
and the track info screen is fully reset, so this covers everything
currently present.
2025-01-07 21:49:57 -08:00
ailurux
829d033a44 Improvements to the queue for shuffling/playing all ()
Queue now has a separate 'ready' property to indicate it's ready to be used, which is independent from whether it's still loading tracks in. This also improves the response time for shuffling all tracks (we will initially pick a random track in the first 100 tracks whilst the rest of the tracks are loading). This should also fix issues where one song will start playing and then repeat itself when the queue finishes loading, and hopefully solve  as well (though I couldn't actually repro this myself).

Co-authored-by: jacqueline <me@jacqueline.id.au>
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/170
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
Co-authored-by: ailurux <ailuruxx@gmail.com>
Co-committed-by: ailurux <ailuruxx@gmail.com>
2025-01-07 00:00:00 +00:00
ailurux
4ad5f1b637 Reduce horizontal spacing on controls for more room for additional info button 2025-01-06 14:45:17 +11:00
jacqueline
7aad24e073 versiom bump 2025-01-03 11:59:15 +11:00
cooljqln
3ad2fb61dc Merge pull request 'Add track info screen' () from tjk/tangara-fw:track-info-screen into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/168
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
2025-01-02 22:57:51 +00:00
Tom Kirchner
0975c2cdbd Add track info screen 2025-01-02 16:36:40 +00:00
Tom Kirchner
02954cd40b Expose more properties to Lua for UI 2025-01-02 16:36:40 +00:00
jacqueline
0ca7328d0a Hide the album line if the current track has no album 2025-01-02 14:15:48 +11:00
cooljqln
25ecf038ac Merge pull request 'Add an 'All Artists' index including tracks under multiple artists' () from jqln/all-artists into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/144
2025-01-02 00:59:43 +00:00
jacqueline
943e3b0f73 Invert the balance value in the settings UI
Fixes 
2025-01-02 09:49:24 +11:00
jacqueline
824fca8cd0 Reorder indexes
It turns out the index *id* controls this, which is probably not good!
2024-12-31 12:34:04 +11:00
jacqueline
33e89a0672 Pass through TXXX kv pairs from libtags, treated as vorbis comments
mp3 is no good i do not like them at all
2024-12-31 11:32:51 +11:00
jacqueline
b6b62cb8ea Handle synthesizing missing tag values in TrackTags instead of the indexer 2024-12-31 11:30:23 +11:00
jacqueline
407d2da049 Add ARTISTS= vorbis comment support to libtags
This is mostly just for flac handling, since we use libogg directly for
ogg containers, and flac+ogg are the only containers that use vorbis
comments.
2024-12-30 15:14:50 +11:00
jacqueline
4a422f4e54 Use a common code path for parsing delimited track tags 2024-12-30 14:59:54 +11:00
jacqueline
e9e608cfa0 Add a new track tag + index for multiple artists
We still mostly use the singular 'Artist' tag for e.g. displaying a nice
name in the now playing screen, but where a track has an 'ARTISTS=' tag,
we'll split by semicolon and then use the resulting list to populate an
index of tracks by artist
2024-12-30 14:59:54 +11:00
Tom Kirchner
e09ab5f6fb Show album name on now-playing screen 2024-12-29 18:35:08 -08:00
ailurux
f219886753 Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-12-30 11:04:33 +11:00
ailurux
dac29bf986 Fix issue with playlists restarting playback after enqueuing 2024-12-30 11:04:03 +11:00
Clayton Craft
ff87c92175 Write settings to nvs when changing from the setting screen
Otherwise, settings may not actually be saved if the device crashes/
reboots unexpectedly.

Fixes 
2024-12-29 23:53:42 +00:00
Clayton Craft
92908533c4 Attempt to parse tags only from supported audio files
Trying and failing to parse tags from unsupported files is probably
costly (requires reading from SD card), and it probably slows down
indexing large collections that include a lot of non-audio files (like
cover art, etc).

This limits tag parsing to only files that have extensions for
supported audio formats. It assumes that folks don't have audio files
in supported formats with crazy extensions (e.g. an mp3-formatted file
with the extension .lol). Since this hardcodes a list of supported file
extensions for tag parsing, it'll need to be maintained later if more
formats are supported. The file ext matching is case-insensitive.

Fixes 
2024-12-29 23:38:57 +00:00
jacqueline
46f55e3a1f Accept more tags for track and disc number
- Accept 'DISCNUMBER' as a synonym for 'DISC'
 - Accept 'TRACK' as a synonum for 'TRACKNUMBER'

 This should help with 
2024-12-30 10:25:05 +11:00
jacqueline
93eec1ac6c Set the min brightness setting to 20%
This is quite dim, but also slightly higher than the 'screensaver'
brightness in .
2024-12-30 10:08:48 +11:00
Clayton Craft
8a6c41be45 display: set lower limit for brightness
Fixes 
2024-12-29 23:02:54 +00:00
Clayton Craft
d985cfb5fb console: loglevel: improve help text
I was confused about why setting the level to something lower didn't
seem to work, so this attempts make it more clear that not all log
levels are actually available on release builds.

Fixes 
2024-12-29 22:59:43 +00:00