diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-08-28 15:30:53 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-08-28 15:30:53 +1000 |
| commit | 3421bd652c39b253872e43d3b6e43664bd0b66e2 (patch) | |
| tree | 90a6cc3980e32648b8488db281dc838e3ffbdd7d /src/tangara/lua/file_iterator.cpp | |
| parent | af7a70450e3ceaaf291aa09b9383b50b879759d9 (diff) | |
| download | tangara-fw-3421bd652c39b253872e43d3b6e43664bd0b66e2.tar.gz | |
When clicking a track in the file browser, play it
Includes adding a `playback.is_playable` for working out whether or not
a particular file is able to be played
Diffstat (limited to 'src/tangara/lua/file_iterator.cpp')
| -rw-r--r-- | src/tangara/lua/file_iterator.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tangara/lua/file_iterator.cpp b/src/tangara/lua/file_iterator.cpp index 823775e8..71daf2d8 100644 --- a/src/tangara/lua/file_iterator.cpp +++ b/src/tangara/lua/file_iterator.cpp @@ -79,7 +79,6 @@ auto FileIterator::iterate(bool show_hidden) -> bool { .index = offset_, .isHidden = hidden, .isDirectory = (info.fattrib & AM_DIR) > 0, - .isTrack = false, // TODO .filepath = original_path_ + (original_path_.size() > 0 ? "/" : "") + info.fname, .name = info.fname, |
