ailurux
1d2153f69d
Clean up + use 8 bytes for uint64_t
2024-10-03 11:19:42 +10:00
ailurux
a169e60cac
Add additional cache file for playlist table of contents
2024-10-01 17:42:42 +10:00
jacqueline
90b82e4ad6
autoformat
2024-10-01 17:10:50 +10:00
jacqueline
a879e7b603
Pin some images to ram that we missed
2024-10-01 17:10:35 +10:00
jacqueline
4c2bcbfb56
Support a minor version in the SAMD firmware
2024-10-01 15:46:20 +10:00
jacqueline
6d6f59cb94
Don't enable usb msc when the database is updating
2024-10-01 15:46:00 +10:00
jacqueline
6987f7befc
GC after locking
2024-10-01 14:30:50 +10:00
jacqueline
222465d31b
Run the Lua GC a little more aggresively
2024-10-01 14:15:33 +10:00
jacqueline
825728af23
Ensure the stack is clean after luavgl event callbacks
2024-10-01 13:51:10 +10:00
ailurux
3490cceb6b
Added listened indicator for audiobooks and podcasts
2024-09-27 16:59:59 +10:00
ailurux
f8a6c8c85a
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
2024-09-26 13:26:46 +10:00
ailurux
de351a5b89
Empty the buffer when we seek mp3 files
2024-09-26 13:26:35 +10:00
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
2024-09-24 05:47:18 +00:00
jacqueline
c1d89e7948
Add lua stub for play_count
2024-09-24 15:26:44 +10:00
jacqueline
faddb229fc
Record play_count in TrackData, incrementing it when tracks finish
2024-09-24 15:24:16 +10:00
ailurux
5e43b42218
Adds audiobook index to available indexes
2024-09-24 13:41:36 +10:00
ailurux
2bc191e63d
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
2024-09-24 13:40:59 +10:00
ailurux
cb40ac4120
Format hours properly for times shown and ensure centering of playlist position labels
2024-09-24 13:40:50 +10:00
jacqueline
94ccd405e3
Retry SD card mounting a few times when talking to the card fails
2024-09-24 13:28:42 +10:00
jacqueline
ec4fb715d0
Hide database indexes that do not contain any tracks
2024-09-24 12:01:13 +10:00
ailurux
e91580c75b
Implement VBR seeking based off TOC
2024-09-23 17:53:03 +10:00
ailurux
eba2ffc260
Improve seeking for constant bitrate mp3
2024-09-23 14:42:25 +10:00
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
2024-09-20 06:02:16 +00:00
ailurux
3734eb6cdd
Merge branch 'main' into jqln/track-type
2024-09-20 05:52:29 +00:00
jacqueline
2ac2629c48
Don't try to configure the dac if there is no dac
...
Fixes #106
2024-09-20 14:55:29 +10:00
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
2024-09-20 14:08:47 +10:00
jacqueline
ade5e4bc08
Encode and decode MediaType in TrackData
2024-09-19 16:32:11 +10:00
jacqueline
ea9c7a0498
Include leading slash in media type paths
2024-09-19 16:32:11 +10:00
jacqueline
57af3e64c8
Introduce a MediaType for each track and index
...
Initially set based on filepath, or by genre if the filepath doesn't
match one of our presets
2024-09-19 16:32:11 +10:00
jacqueline
9c95c2b422
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
2024-09-19 15:03:43 +10:00
jacqueline
111085b857
Add quick USB MSC access to the main menu
2024-09-19 14:53:33 +10:00
cooljqln
1eddfe97d9
Merge pull request 'daniel/persistent-positions' ( #104 ) from daniel/persistent-positions into main
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/104
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org >
2024-09-19 04:44:16 +00:00
ailurux
7f43d4d126
Add luals stubs for new methods
2024-09-19 14:04:13 +10:00
ailurux
e96dcde085
Fix commented issues
2024-09-19 13:26:04 +10:00
ailurux
3be8ae3349
Remove logging
2024-09-17 14:18:05 +10:00
ailurux
c479d699d0
Implements seeking to saved position for tracks
2024-09-17 14:13:05 +10:00
ailurux
6c1757a176
Merge branch 'main' into daniel/persistent-positions
2024-09-17 14:12:17 +10:00
jacqueline
9aa77ec5ad
Actually this is more like a minor bump
2024-09-17 13:42:20 +10:00
jacqueline
a650c94d18
Version bump
2024-09-17 13:29:37 +10:00
jacqueline
7d1266404d
Move SPI ISR back to CPU0
...
See if this does anything for the itermittent spi acquire hangs
2024-09-17 11:57:32 +10:00
ailurux
c4ec089a90
Added lua methods to access track data
2024-09-17 11:56:19 +10:00
cooljqln
c030a4510a
Merge pull request 'Introduce basic TTS support using pre-recorded voice lines' ( #103 ) from jqln/tts into main
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/103
2024-09-17 00:09:10 +00:00
ailurux
f58679983e
Save positions over 5 minutes, every minute
2024-09-13 15:23:03 +10:00
ailurux
79dccc2685
Merge branch 'main' into daniel/persistent-positions
2024-09-13 13:45:15 +10:00
jacqueline
1106012bde
Merge branch 'main' into jqln/tts
2024-09-13 10:17:34 +10:00
jacqueline
a174d76aa1
Mount the SD card asynchronously when it becomes available
...
Previously we were doing it synchronously, which led to some odd looking
livelock stacktraces... we still don't have a consistent repro, but this
at least makes the stack when we mount a lot more predictable
2024-09-13 10:12:40 +10:00
ailurux
ca5e866a2f
Remove explicit opacity set on header
2024-09-12 21:28:50 +10:00
ailurux
df8de179e0
Merge branch 'main' into daniel/persistent-positions
2024-09-12 21:09:05 +10:00
ailurux
d4bad11130
WIP: Fixed errors, cleanup
2024-09-12 21:08:11 +10:00
ailurux
4353779810
WIP: Add last_position field to track data and start on implementation
2024-09-12 17:35:22 +10:00