81 Commits

Author SHA1 Message Date
raziman
1f0e990e2a setup hooks 2021-02-19 16:28:50 +08:00
raziman
5e4c9f64b5 fix screen does not update playingbar 2021-02-19 15:07:44 +08:00
raziman
2788a10225 allow skip current song when queue is empty 2021-02-19 15:06:10 +08:00
raziman
8a72c2018f clean up player.go 2021-02-19 09:56:01 +08:00
raziman
d24a47e351 move variables into modules 2021-02-18 10:23:15 +08:00
raziman
4841a34a2c Merge branch 'master' into scripting-language 2021-02-16 16:55:15 +08:00
tramhao
9c799c405c cleanup fix for song stop playing 2021-02-16 14:55:15 +08:00
tramhao
23a10a9231 fix for song played slower bug 2021-02-16 02:25:01 +08:00
tramhao
5bcfa1df7a possible fix for random stop playing 2021-02-16 01:32:05 +08:00
raziman
738c0fa778 move Anko to sub package 2021-02-14 14:35:36 +08:00
raziman
2bf5d85b13 create Anko 2021-02-14 13:45:43 +08:00
raziman
60cc4fab39 fix build error 2021-02-13 22:49:26 +08:00
raziman
6b5e96df61 replace viper with anko scripting language 2021-02-13 21:59:21 +08:00
raziman
72971873f6 fix #17 2021-02-13 21:48:46 +08:00
raziman
e59a80ea15 fix last played song gets saved even though the song has finished playing 2021-02-10 15:02:08 +08:00
Raziman Mahathir
394b2c270f
Merge pull request #15 from issadarkthing/bug-fix
Bug fix: new songs not playing once the queue is exhausted
2021-02-08 15:24:35 +08:00
raziman
32a1d18c09 use empty struct channel instead of bool channel 2021-02-08 15:07:20 +08:00
raziman
d81d2e248e fix bug: cannot play newly added song once the queue is exhausted 2021-02-08 15:07:20 +08:00
tramhao
9a702aacf3 remove recover and remove close(done) instead 2021-02-08 14:59:29 +08:00
tramhao
b26bdbda84 fix a bug pressing n key several times and panic due to send on closed channel, didn't fix when press n continuously and app will stop working 2021-02-08 00:56:12 +08:00
tramhao
6e742dcfda cleanup player.go 2021-02-04 16:05:44 +08:00
tramhao
b320300191 Trying to fix download popup but failed 2021-02-04 11:25:30 +08:00
tramhao
5d5bbcf66b enqueue when paused is not correct 2021-02-03 10:50:01 +08:00
tramhao
7c6ad10714 Fix a bug for rename. Update queue to avoid panic 2021-02-01 16:41:49 +08:00
tramhao
59cecbaf23 Hopefully loop is fixed 2021-02-01 13:48:34 +08:00
tramhao
a58d151817 change buffer bak to see if it's ok 2021-01-29 10:01:01 +08:00
tramhao
7f36efc206 fix position bug 2021-01-28 11:50:08 +08:00
tramhao
ac3dabf8c1 1.Adjust value for forward and rewind to avoid panic 2. File scan follow symlink 3. Donload follow symlink 2021-01-27 22:15:40 +08:00
tramhao
6aefd3b573 add more buffer to get better result during forward and rewind 2021-01-27 02:28:42 +08:00
tramhao
c80170aafe 1.clean the code for forward and rewind. 2. fix a bug for play_selected when no song selected or empty que, program will exit 2021-01-27 01:57:09 +08:00
tramhao
0bf47908d5 Add forward and rewind function 2021-01-27 01:10:48 +08:00
raziman
4ebcfc6951 wrap timedPopup for convenience 2020-08-25 20:45:16 +08:00
raziman
662029970d resizeable progress bar
small refactor
2020-08-22 14:59:10 +08:00
raziman
05cb4f1534 fix gomu does not read config volume 2020-08-02 16:36:47 +08:00
raziman
138f534d4d fix volume not save if no song playing 2020-07-27 22:46:40 +08:00
raziman
ebc7985391 creat functions to convert between float64 volume to int 2020-07-24 17:06:18 +08:00
raziman
6385abf459 increase volume limit to 100 2020-07-24 15:47:36 +08:00
raziman
289c32548d add comments 2020-07-23 15:34:56 +08:00
raziman
0fb7b63c39 change all to be unexported 2020-07-23 15:15:39 +08:00
raziman
691b835b6f fix pausing when no song playing crash 2020-07-22 21:08:55 +08:00
raziman
a03bdaa5ad change logging 2020-07-22 21:01:13 +08:00
raziman
4f4c91c9d2 refactor error handling 2020-07-21 12:22:00 +08:00
raziman
175af7697f run go fmt 2020-07-21 01:21:59 +08:00
raziman
538da0c2b6 wrap lines 2020-07-20 21:48:13 +08:00
raziman
26ff9a8be9 remove appLog 2020-07-18 00:08:47 +08:00
raziman
e77aeb1586 add loop feature 2020-07-13 14:43:34 +08:00
raziman
8e3515f19c add variable dimension to timedPopup 2020-07-13 14:43:34 +08:00
raziman
77c8c7615b add persistent volume 2020-07-13 14:43:34 +08:00
raziman
2ac7584c2b read volume from config 2020-07-13 14:43:34 +08:00
raziman
5e35308a0e set player.Run to accept AudioFile struct as argument
set player.Run to accept AudioFile struct as argument
2020-07-13 14:43:34 +08:00