diff options
| author | Clayton Craft <clayton@craftyguy.net> | 2024-12-26 09:53:15 -0800 |
|---|---|---|
| committer | cooljqln <cooljqln@noreply.codeberg.org> | 2024-12-29 23:38:57 +0000 |
| commit | 92908533c48a9bc9b84e66a65c09f590858a6c45 (patch) | |
| tree | f1f55da6f5f8e5d02aa6757bd0a2cad81a00bd65 /lua/widgets.lua | |
| parent | 46f55e3a1f951683bbbff02e6d5ca8a13fdc7a19 (diff) | |
| download | tangara-fw-92908533c48a9bc9b84e66a65c09f590858a6c45.tar.gz | |
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
Diffstat (limited to 'lua/widgets.lua')
0 files changed, 0 insertions, 0 deletions
