diff options
| author | 1029chris <1029chris@gmail.com> | 2016-06-06 14:20:00 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-06-06 14:20:00 -0700 |
| commit | 0c3a6ca6190ad47e5fbe1dfaa45c45aa07b4ced9 (patch) | |
| tree | 479397f6f1b1e150ece5720669f68d184c4fcacf /files.lua | |
| parent | 2804461a5a44997f240ba769e0ac9e2d86080fff (diff) | |
Finished Music player, added new songs
Music player buttons work
Music player has bouncing green bars
Music player shows actual title of song
New songs that can be played
Diffstat (limited to 'files.lua')
| -rw-r--r-- | files.lua | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -87,8 +87,40 @@ function updateFiles() openFileWindow(8) elseif files == f.music then if i == 1 and mplay.m ~= music.chill then + if mplay.m ~= 0 then + mplay.m:stop() + end mplay.m = music.chill mplay.p = true + mplay.title = "How it Begins - Kevin Macleod" + elseif i == 2 and mplay.m ~= music.rage then + if mplay.m ~= 0 then + mplay.m:stop() + end + mplay.m = music.rage + mplay.p = true + mplay.title = "Fight or Flight - Ethan Meixsell" + elseif i == 3 and mplay.m ~= music.sophie then + if mplay.m ~= 0 then + mplay.m:stop() + end + mplay.m = music.sophie + mplay.p = true + mplay.title = "Close My Mouth - Silent Partner" + elseif i == 4 and mplay.m ~= music.ohyeah then + if mplay.m ~= 0 then + mplay.m:stop() + end + mplay.m = music.ohyeah + mplay.p = true + mplay.title = "Down N' Dirty - Jingle Punks" + elseif i == 5 and mplay.m ~= music.finale then + if mplay.m ~= 0 then + mplay.m:stop() + end + mplay.m = music.finale + mplay.p = true + mplay.title = "Ich Grolle Nicht - Ron Meixsell" end openFileWindow(9) end |
