jacqueline
d23435fab7
Retry bt device connections
...
i hate this janky-ass protocol
pirms 2 gadiem
jacqueline
aff28342d9
let the bluetooth stack handle its own discovery state
pirms 2 gadiem
jacqueline
a75adfc124
version bump
pirms 2 gadiem
jacqueline
0bb12912bc
Implement basic volume control for bt outputs
pirms 2 gadiem
jacqueline
99c56641e9
fix various of bluetooth issues
...
connecting and disconnecting is a bit more consistent now!
pirms 2 gadiem
jacqueline
ab314b82e1
fix bt settings button initial state
pirms 2 gadiem
jacqueline
7fbb2162ee
Start keeping lock switch polarity in nvs
...
i will use this to do a sneaky trick; in-place upgrading brendan,
hailey, and erin's devices
pirms 2 gadiem
cooljqln
0731a3fbcc
Merge pull request 'Add version command' ( #29 ) from hails/tangara-fw:version-command into main
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/29
pirms 2 gadiem
cooljqln
8c628590b2
Merge pull request 'Add luarun command' ( #28 ) from hails/tangara-fw:luarun into main
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/28
pirms 2 gadiem
Hailey Somerville
d78bbccdab
convert kCurrentDbVersion to a type of integer that gets stringified
pirms 2 gadiem
jacqueline
2184b6c5f7
send a time=0 progress update after opening each file
...
this helps populate things like the now playing screen when a file is
opened without unpausing (e.g. when restoring a saved queue after boot)
pirms 2 gadiem
jacqueline
177277334f
focus the play/pause toggle when entering the now playing screen
pirms 2 gadiem
jacqueline
5f6af82e8a
luavgl: add a method to focus an object
pirms 2 gadiem
Hailey Somerville
bf761e034c
add version console command
pirms 2 gadiem
Hailey Somerville
44d848ac66
define database::kCurrentDbVersion publicly
pirms 2 gadiem
Hailey Somerville
c29b5521ed
add luarun command
pirms 2 gadiem
jacqueline
f2df12836f
tweak pipeline buffers rather than i2s dma buffer
...
this maintains the bluetooth changes to buffer sizes, but keeps the most
important i2s buffer the same size
pirms 2 gadiem
jacqueline
f4d8b2b04a
hey i found 40KiB SRAM behind the couch!
pirms 2 gadiem
jacqueline
e073309907
Properly persist bluetooth mode changes
pirms 2 gadiem
jacqueline
0f03efe868
Make db updates more robust again the sd card disappearing
...
Accidentally found a bug while live on youtube :)
pirms 2 gadiem
jacqueline
299f3cc48f
Preserve the queue when going into standby
pirms 2 gadiem
cooljqln
811c335c2a
Merge pull request 'Change suggested flash baudrate to 1000000' ( #27 ) from hails/tangara-fw:building-readme-baudrate into main
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/27
pirms 2 gadiem
Hailey Somerville
5f7fda0252
change suggested flash baudrate to 1000000
pirms 2 gadiem
Robin Howard
e2a6c3b5b3
Adds missing greyed-out state images for next and previous; oops!
pirms 2 gadiem
jacqueline
71280f93bd
sorry the tests dont work
pirms 2 gadiem
jacqueline
32cee65809
Accept opus files that don't fully parse, remove opus-specific tag parser
...
The libtags change is a bit of a hack... I think we're running into
tracks that have long lyrics tags, which pushes the other tags out onto
the next ogg page?
pirms 2 gadiem
jacqueline
79a6dc1a3e
Use a cache for lvgl images
pirms 2 gadiem
jacqueline
ee867f2dbc
add an indicator for database updates
pirms 2 gadiem
jacqueline
2626c0cffc
Do a db update after every mount
pirms 2 gadiem
jacqueline
c8bbd4d52c
Reduce leveldb cache sizes and worker stacks, increase number of workers
pirms 2 gadiem
jacqueline
dad159dc3c
Use a single pool of bg workers instead of separate tasks per use case
...
Also: bump the number of workers tasks up to 3 from 2!
This makes bg db updates + playback work :)
pirms 2 gadiem
jacqueline
fde45dba39
Explicitly specify C++23
pirms 2 gadiem
jacqueline
d5d1f2247a
version bump
pirms 2 gadiem
jacqueline
587c585ba6
Don't unmount the sd card as aggressively
pirms 2 gadiem
jacqueline
816c30afb5
Panic on task WDT
...
deadlocks should probably not free the device!
pirms 2 gadiem
jacqueline
1494e08ea2
Handle read errors properly
pirms 2 gadiem
jacqueline
968d545d67
hand off the sd card to the samd properly, and remount when it's finished
pirms 2 gadiem
jacqueline
eacea59e8a
Do more to avoid and recover from partial db updates
...
- do not power off in an update is in progress
- explicitly store last update time, rather than deriving it from
unchanged tracks.
pirms 2 gadiem
jacqueline
c399199bfc
Improve handling of sd card changes during runtime
...
- mount if an sd card is inserted
- unmount if it's removed
pirms 2 gadiem
jacqueline
9039a97ab4
version bump due to schema version bump
pirms 2 gadiem
jacqueline
04ff8bf492
Extract album artist from libtags-processed files
pirms 2 gadiem
Robin Howard
6b9a513214
Merge pull request 'Makes the ⏮ and ⏭ on the Now Playing screen work' ( #14 ) from rh/next-prev into main
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/14
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
pirms 2 gadiem
Robin Howard
2f93ac3c59
Add next+prev buttons to the Now Playing screen.
pirms 2 gadiem
Robin Howard
429abd1237
Fix bug where calling TrackQueue's next() repeatedly would increase the position despite running off the end of the queue.
pirms 2 gadiem
Robin Howard
3f1fadbeef
Plumb queue next+previous through to Lua, incl. with stubs and docs.
pirms 2 gadiem
jacqueline
9b63f14cb8
Flesh out contributing section of README.md
pirms 2 gadiem
jacqueline
d7ba9420fe
bump to 0.1.3
pirms 2 gadiem
jacqueline
cd650b30bd
fix some lua stack leaks + add a console func to help debug
pirms 2 gadiem
jacqueline
1525afe8aa
fix issue with unclipped dither
pirms 2 gadiem
jacqueline
d1ae1a4230
on second thought, let's not violate patents. 'tis a silly system.
pirms 2 gadiem