jacqueline
98577426a3
version bump
4 months ago
ailurux
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>
4 months ago
ailurux
ceb66b46ea
Update lua/theme_hicon.lua
...
Remove commented out colours from theme
4 months ago
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
4 months ago
jacqueline
13c5b7b847
Add long-right-press as a shortcut to the now playing screen
...
Implemented for both the wheel and d-pad input methods.
4 months ago
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
4 months ago
jacqueline
96e2fdd4e2
When no media-specific top level directories exist, assume everything is music
4 months ago
malcircuit
287c4bfb26
Make now-playing queue circular
4 months ago
jacqueline
ad47a427af
version bump
4 months ago
ailurux
a1d64dce07
Allow for connecting to the paired device from the known devices list
5 months ago
ailurux
048cfd705f
Audio FSM should transit to Standby when BT disconnect
5 months ago
ailurux
0810c05d13
Prevent frame decoding issues with FLAC from ending playback early
5 months ago
jacqueline
470bd7db75
version bump
7 months ago
ailurux
b2548a1f0b
Fixed issue with saving positions, and only auto-resume long-form content
7 months ago
ailurux
d27590f8a7
Change top bar icons to black for contrast and consistency
7 months ago
ailurux
d3791d557f
Don't create a cache file on deserialising
7 months ago
jacqueline
e345e7f415
RC1 time 😬
7 months ago
jacqueline
8ec8ba2bd8
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
7 months ago
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
7 months ago
ailurux
7cc6f198cf
Explicitly close the playlist files in the queue on storage unmount
7 months ago
ailurux
39a5d062fc
Fix issues with deserialising queue when queue exists already
7 months ago
jacqueline
6318b27284
Use cppbor for encoding playlist toc
...
Also fix a locking issue with opening+clearing
Co-authored-by: ailurux <ailuruxx@gmail.com>
7 months ago
ailurux
ea71fa5d2b
Clear queue if loading cache fails and file is large, also fix indices oops
7 months ago
ailurux
1d2153f69d
Clean up + use 8 bytes for uint64_t
7 months ago
ailurux
a169e60cac
Add additional cache file for playlist table of contents
7 months ago
jacqueline
90b82e4ad6
autoformat
7 months ago
jacqueline
a879e7b603
Pin some images to ram that we missed
7 months ago
jacqueline
4c2bcbfb56
Support a minor version in the SAMD firmware
7 months ago
jacqueline
6d6f59cb94
Don't enable usb msc when the database is updating
7 months ago
jacqueline
6987f7befc
GC after locking
7 months ago
jacqueline
222465d31b
Run the Lua GC a little more aggresively
7 months ago
jacqueline
825728af23
Ensure the stack is clean after luavgl event callbacks
7 months ago
ailurux
3490cceb6b
Added listened indicator for audiobooks and podcasts
7 months ago
ailurux
f8a6c8c85a
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
7 months ago
ailurux
de351a5b89
Empty the buffer when we seek mp3 files
7 months ago
ailurux
e46582ce09
Merge pull request 'Record play_count in TrackData, incrementing it when tracks finish' ( #107 ) from jqln/play-count into main
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/107
7 months ago
jacqueline
c1d89e7948
Add lua stub for play_count
7 months ago
jacqueline
faddb229fc
Record play_count in TrackData, incrementing it when tracks finish
7 months ago
ailurux
5e43b42218
Adds audiobook index to available indexes
7 months ago
ailurux
2bc191e63d
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
7 months ago
ailurux
cb40ac4120
Format hours properly for times shown and ensure centering of playlist position labels
7 months ago
jacqueline
94ccd405e3
Retry SD card mounting a few times when talking to the card fails
7 months ago
jacqueline
ec4fb715d0
Hide database indexes that do not contain any tracks
7 months ago
ailurux
e91580c75b
Implement VBR seeking based off TOC
7 months ago
ailurux
eba2ffc260
Improve seeking for constant bitrate mp3
7 months ago
ailurux
fdcff74fb9
Merge pull request 'Add a 'MediaType' enum to TrackData and IndexInfo, plus a new index for podcasts' ( #105 ) from jqln/track-type into main
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/105
7 months ago
ailurux
3734eb6cdd
Merge branch 'main' into jqln/track-type
7 months ago
jacqueline
2ac2629c48
Don't try to configure the dac if there is no dac
...
Fixes #106
7 months ago
jacqueline
b95cd34520
Make the 'Podcasts' index just a list by title
...
Podcasts aren't tagged consistently enough for other groupings to make
sense, at least until we implement RSS parsing
7 months ago
jacqueline
ade5e4bc08
Encode and decode MediaType in TrackData
7 months ago