summaryrefslogtreecommitdiff
path: root/luals-stubs/database.lua
diff options
context:
space:
mode:
authorailurux <ailurux@noreply.codeberg.org>2024-09-24 05:47:18 +0000
committerailurux <ailurux@noreply.codeberg.org>2024-09-24 05:47:18 +0000
commite46582ce0981e09f55eaee92f522a17c02fb2288 (patch)
treee1f1ccc81867a9b32b18446ca19e613a9f2886c4 /luals-stubs/database.lua
parent5e43b422182b300074a2d2e02736557d34434996 (diff)
parentc1d89e79482fb219e343797ecfbc34563097c94d (diff)
downloadtangara-fw-e46582ce0981e09f55eaee92f522a17c02fb2288.tar.gz
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
Diffstat (limited to 'luals-stubs/database.lua')
-rw-r--r--luals-stubs/database.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/luals-stubs/database.lua b/luals-stubs/database.lua
index 92c2fb8d..a21f61be 100644
--- a/luals-stubs/database.lua
+++ b/luals-stubs/database.lua
@@ -20,6 +20,7 @@ function database.track_by_id(id) end
--- @field id TrackId The track id of this track
--- @field filepath string The filepath of this track
--- @field saved_position integer The last saved position of this track
+--- @field play_count integer The number of times this track has finished playing
--- @field tags table A mapping of any available tags to that tag's value
local Track = {}