Commit Graph
1114 Commits
Author SHA1 Message Date
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' (#168) 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 KirchnerandTom 0975c2cdbd Add track info screen 2025-01-02 16:36:40 +00:00
Tom KirchnerandTom 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' (#144) 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 #167
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 Craftandcooljqln 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 #148
2024-12-29 23:53:42 +00:00
Clayton Craftandcooljqln 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 #149
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 #146
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 #127.
2024-12-30 10:08:48 +11:00
Clayton Craftandcooljqln 8a6c41be45 display: set lower limit for brightness
Fixes #158
2024-12-29 23:02:54 +00:00
Clayton Craftandcooljqln 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 #155
2024-12-29 22:59:43 +00:00
Clayton Craftandcooljqln 6e087b2dc4 suspend playback when headphones disconnected
I think this is what most folks would expect to happen if BT is
disconnected/disabled and the headphones are removed.

Also, I think(?) this fixes one situation where the device doesn't idle/
sleep when folks would expect it to (not connected to headphones or bt).
2024-12-29 22:50:11 +00:00
Clayton Craftandcooljqln d5946a91d0 BUILDING.md: add some notes about setup on Linux (#150)
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/150
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
Co-committed-by: Clayton Craft <clayton@craftyguy.net>
2024-12-29 22:37:26 +00:00
ailurux ae6746fc95 Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-12-23 16:21:39 +11:00
ailurux 35520ef177 Make media directories case insensitive 2024-12-23 16:21:22 +11:00
jacqueline 98577426a3 version bump 2024-12-20 14:32:36 +11:00
ailuruxandcooljqln 5cdc1141ee Queue repeat modes (#126)
This replaces the previous system of a separate track and queue repeat, with a RepeatMode type with the following options and behaviours:

- OFF: No repeat, queue or track. When the current queue finishes, shuffled or otherwise, playback will stop.
- REPEAT_TRACK: The current track will loop indefinitely, unless next is explicitly called through some user action (ie using the next button in the now playing screen)
- REPEAT_QUEUE: The entire queue will repeat indefinitely. When shuffled is enabled this will repeat the queue with new combinations each cycle.

The repeat mode is persisted in non-volatile storage, so the behaviour will be consistent throughout restarts and queue replacements, and so the "queue repeat by default" use case can be met in this way.

In addition, I've made it work a little nicer when the queue runs out in the now playing screen, keeping the previously played track shown and playback can be continued by using the play button or by going to a previous song in the queue.

Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/126
Co-authored-by: ailurux <ailuruxx@gmail.com>
Co-committed-by: ailurux <ailuruxx@gmail.com>
2024-12-19 04:29:23 +00:00
ailurux ceb66b46ea Update lua/theme_hicon.lua
Remove commented out colours from theme
2024-12-19 02:54:38 +00:00
ailurux 0343f34f7b Merge pull request 'Add long-right-press as a shortcut to the now playing screen' (#122) from jqln/now-playing-shortcut into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/122
2024-12-18 23:14:21 +00:00
jacqueline 13c5b7b847 Add long-right-press as a shortcut to the now playing screen
Implemented for both the wheel and d-pad input methods.
2024-12-18 14:53:45 +11:00
ailurux b3e1e88ba2 Merge pull request 'When no media-specific top level directories exist, assume everything is music' (#119) from jqln/no-media-types into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/119
2024-12-17 05:45:59 +00:00
jacqueline 96e2fdd4e2 When no media-specific top level directories exist, assume everything is music 2024-12-17 16:13:40 +11:00
malcircuit 287c4bfb26 Make now-playing queue circular 2024-12-16 10:43:47 -06:00
jacqueline ad47a427af version bump 2024-12-13 09:54:14 +11:00
ailurux a1d64dce07 Allow for connecting to the paired device from the known devices list 2024-12-10 13:30:27 +11:00
ailurux 048cfd705f Audio FSM should transit to Standby when BT disconnect 2024-12-10 10:25:44 +11:00
ailurux 0810c05d13 Prevent frame decoding issues with FLAC from ending playback early 2024-12-09 13:23:27 +11:00
jacqueline 470bd7db75 version bump 2024-10-11 16:00:56 +11:00
ailurux b2548a1f0b Fixed issue with saving positions, and only auto-resume long-form content 2024-10-08 15:38:39 +11:00
ailurux d27590f8a7 Change top bar icons to black for contrast and consistency 2024-10-08 11:07:04 +11:00
ailurux d3791d557f Don't create a cache file on deserialising 2024-10-04 16:04:19 +10:00
jacqueline e345e7f415 RC1 time 😬 2024-10-04 15:44:59 +10:00
jacqueline 8ec8ba2bd8 Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-10-04 15:40:40 +10:00
cooljqln 3287580647 Merge pull request 'daniel/track-toc' (#110) from daniel/track-toc into main
Yay!

Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/110
2024-10-04 05:40:18 +00:00
ailurux 7cc6f198cf Explicitly close the playlist files in the queue on storage unmount 2024-10-04 14:41:05 +10:00
ailurux 39a5d062fc Fix issues with deserialising queue when queue exists already 2024-10-04 14:19:13 +10:00
jacquelineandailurux 6318b27284 Use cppbor for encoding playlist toc
Also fix a locking issue with opening+clearing

Co-authored-by: ailurux <ailuruxx@gmail.com>
2024-10-03 15:19:55 +10:00
ailurux ea71fa5d2b Clear queue if loading cache fails and file is large, also fix indices oops 2024-10-03 14:06:50 +10:00