481 Commits

Author SHA1 Message Date
tramhao
a30b871b5c lyric chinese in progress 2021-02-27 23:11:17 +08:00
tramhao
d8694d5bdc Fix a bug p.subtitle is not closed during initialization. This is lead to a small bug: when a song has subtitle, and 2nd song doesn't have, 3rd song will show the subtitle of 1st song. 2021-02-25 23:18:01 +08:00
Raziman Mahathir
a24d334638
Merge pull request #26 from tramhao/master
Fix a bug of embedLyric and add a function to adjust lyric delay
2021-02-25 20:15:28 +08:00
tramhao
d4fe9dc04e merge upstream 2021-02-25 19:56:19 +08:00
tramhao
c71dfb5905 1. Fix a bug when embedLyric, need to delete the old frame with same language id and content descriptor 2. Add a function to adjust the delay time of lyrics 2021-02-25 19:50:52 +08:00
raziman
e8513abccd rename progress chan int to update struct{} 2021-02-25 16:47:24 +08:00
raziman
1c340cc167 rename _progress to progress 2021-02-25 16:46:52 +08:00
raziman
2e5c84fee7 rename _volume to vol 2021-02-25 16:45:03 +08:00
raziman
1825c2c431 remove resampler member in Player since it is not used anywhere 2021-02-25 16:43:56 +08:00
raziman
ff3949b1ca update README.md 2021-02-25 16:15:42 +08:00
Raziman Mahathir
7c4af10eaf
Merge pull request #24 from tramhao/master
lyrics in progress bar
v2.0.0
2021-02-25 08:58:29 +08:00
raziman
1dfcb7dd06 remove comment 2021-02-24 13:32:35 +08:00
raziman
a376822854 add embedLyric test 2021-02-24 13:32:30 +08:00
tramhao
048fc397c9 move embedLyric to utils.go and update related code 2021-02-24 11:36:26 +08:00
tramhao
d334a90ab3 Fix comment format 2021-02-24 10:32:29 +08:00
raziman
bd1a2eb38e set ContentDescriptor to 'en' when using lyric package 2021-02-23 22:00:24 +08:00
raziman
dcadd8fd5d add package lyric test 2021-02-23 21:34:50 +08:00
raziman
03c4424f1d fix panic when audio file does not have subtitle 2021-02-23 21:34:33 +08:00
tramhao
3b78b676e6 Modified the logic to choose lyric 2021-02-23 17:37:27 +08:00
tramhao
7cde34eb39 fine tuning the display time for lyric 2021-02-23 17:12:02 +08:00
tramhao
69bfb5ee7c 2 fixes:1. song title is empty after pause(if pause within 2-3 seconds 2. lyric default set to english 2021-02-23 16:50:20 +08:00
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