From c1d89e79482fb219e343797ecfbc34563097c94d Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 24 Sep 2024 15:26:44 +1000 Subject: [PATCH] Add lua stub for play_count --- luals-stubs/database.lua | 1 + 1 file changed, 1 insertion(+) 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 = {}