460 Commits

Author SHA1 Message Date
tramhao
7349bad749 break out of loop earlier to save a little time for lyric matching 2021-02-23 16:11:44 +08:00
tramhao
f8cab42070 merge push from mainstream 2021-02-23 15:51:36 +08:00
tramhao
4d36efae9a Embed all lyrics and T key to switch lyrics 2021-02-23 15:46:51 +08:00
raziman
d774b7c42d Merge branch 'master' of github.com:issadarkthing/gomu into lyric 2021-02-23 15:21:43 +08:00
raziman
8baa1a618b fix popup does not show up when there is no keypress 2021-02-23 11:30:55 +08:00
raziman
efed041b65 update test command to test sub-directory 2021-02-23 10:32:51 +08:00
raziman
6e0c93cbab add lyricPopup 2021-02-23 10:29:47 +08:00
raziman
5b05a60012 add lyric fetcher
add lyric fetcher
2021-02-23 10:25:24 +08:00
raziman
b049c075de add SetFieldBackgroundColor 2021-02-22 12:35:43 +08:00
raziman
15cb8c7c43 use errorPopup instead of defaultTimedPopup 2021-02-22 12:34:24 +08:00
raziman
f2bfc772d6 use die() instead of log.Fatal() 2021-02-22 10:49:07 +08:00
raziman
26f7412491 fix test 2021-02-22 10:43:29 +08:00
tramhao
488c21f048 cannot fix test so disable it first 2021-02-22 00:02:08 +08:00
tramhao
9c97ee2338 Lyrics is working but need check 2021-02-21 23:08:16 +08:00
raziman
255629e726 add trending videos 2021-02-21 22:16:50 +08:00
raziman
8285463583 add comment 2021-02-21 22:15:55 +08:00
raziman
96620b208d use safer QueueUpdateDraw method 2021-02-21 20:21:07 +08:00
raziman
abcf602144 code clean up 2021-02-21 15:58:42 +08:00
tramhao
3f4ad5da5c lyric in progress 2021-02-21 15:42:54 +08:00
tramhao
d9dfd29e95 lyric in progress 2021-02-21 15:21:08 +08:00
tramhao
44aae038f3 lyrics in progress 2021-02-21 15:18:19 +08:00
tramhao
1362c9925b Merge remote-tracking branch 'upstream/master' 2021-02-21 15:16:20 +08:00
raziman
6d9b9c63d0 prevent from panic in repl causes app to crash 2021-02-21 11:26:19 +08:00
raziman
6209496daa fix broken link 2021-02-21 09:58:55 +08:00
raziman
b0a3885b87 avoid memory leak 2021-02-21 09:32:22 +08:00
raziman
d84fc56fad add command test 2021-02-20 22:56:55 +08:00
raziman
e2a5f1fe99 make autocompletion async 2021-02-20 16:21:04 +08:00
raziman
41d1ed2d15 fix panic when pressing up key in repl 2021-02-20 15:37:22 +08:00
Raziman Mahathir
b558ae8e15
Merge pull request #23 from issadarkthing/event-hook
Add event hook
2021-02-20 11:25:27 +08:00
raziman
f712fbab75 add hook tests 2021-02-20 11:18:33 +08:00
raziman
2d65e54e64 change NewAnko to return *Anko 2021-02-20 11:18:03 +08:00
raziman
92765747e0 prevent from range over nil 2021-02-19 22:24:32 +08:00
raziman
94d83bc464 setup hooks
setup hooks
2021-02-19 22:23:57 +08:00
raziman
9d41e80edc add hook test 2021-02-19 22:22:36 +08:00
raziman
af336e1a60 add comments 2021-02-19 22:22:24 +08:00
raziman
1f0e990e2a setup hooks 2021-02-19 16:28:50 +08:00
raziman
cefb7b9264 show nil in repl 2021-02-19 16:28:50 +08:00
raziman
e8f0b306f0 change NewEventHook to return pointer 2021-02-19 16:28:50 +08:00
raziman
4fa99d1043 add more tests 2021-02-19 16:28:50 +08:00
raziman
310a43f8cf add EventHook 2021-02-19 16:28:50 +08:00
raziman
dcce622458 set correct progress bar length when screen is drawn 2021-02-19 15:08:10 +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
tramhao
92d8885385 lyric in progress 2021-02-19 14:45:20 +08:00
tramhao
3c95da111f working in progress for lyrics 2021-02-19 14:28:55 +08:00
raziman
42c78535f9 fix cpu spike when no songs playing on startup 2021-02-19 13:16:22 +08:00
raziman
be97544e8b run go fmt 2021-02-19 10:25:01 +08:00
raziman
d0bac491c6 add repl keybinding 2021-02-19 10:24:21 +08:00
raziman
8a72c2018f clean up player.go 2021-02-19 09:56:01 +08:00
raziman
977bdb974f add verbose error message 2021-02-19 09:45:02 +08:00