aboutsummaryrefslogtreecommitdiff
path: root/files.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-06-03 11:55:40 -0700
committer1029chris <1029chris@gmail.com>2016-06-03 11:55:40 -0700
commite532283d763d663069d026757d53f385733513c7 (patch)
treed0ae9aca6e3facf614393aa6d933da1af4ea309d /files.lua
parent93916b2dbc006735c533a285a77f4dbc178a4c71 (diff)
Added music player
Added song for music player to play Added button assets for play/pause/stop/back
Diffstat (limited to 'files.lua')
-rw-r--r--files.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/files.lua b/files.lua
index 370f5b1..ea05f0c 100644
--- a/files.lua
+++ b/files.lua
@@ -86,6 +86,10 @@ function updateFiles()
elseif files == f.videos then
openFileWindow(8)
elseif files == f.music then
+ if i == 1 and mplay.m ~= music.chill then
+ mplay.m = music.chill
+ mplay.p = true
+ end
openFileWindow(9)
end
end