503 Commits

Author SHA1 Message Date
tramhao
506615b67e cleanup error handling code 2021-03-02 15:40:23 +08:00
tramhao
20f2f0ca7e type DELETE to confirm deleteplaylist 2021-03-02 14:50:25 +08:00
tramhao
ffeef53510 fix a minor bug that the song title is not set after pause 2021-03-02 12:27:23 +08:00
tramhao
c954c13e16 1. Change the logic of switch lyrics 2. Remove a module level variable playringBar.langConfigFromConfig 2021-03-02 00:19:41 +08:00
tramhao
0150f6b3da Merge remote-tracking branch 'upstream/master' 2021-03-01 12:04:52 +08:00
Raziman Mahathir
82f9cf0b88
Merge pull request #28 from issadarkthing/refactor
Move player.go into subpackage
2021-03-01 10:33:55 +08:00
tramhao
146daafa37 Fix comment format 2021-02-28 23:19:42 +08:00
tramhao
83872c9b3d fix a bug of panic when lyric is empty 2021-02-28 13:52:22 +08:00
tramhao
efc3a43ef8 cleanup debug code 2021-02-28 13:32:07 +08:00
tramhao
f304407b60 Merge branch 'lyriccn' 2021-02-28 13:26:59 +08:00
tramhao
f75dbcec48 Lyric provider added for chinese songs with 2 and 3 2021-02-28 13:26:42 +08:00
tramhao
a30b871b5c lyric chinese in progress 2021-02-27 23:11:17 +08:00
raziman
d2a0a25f89 Merge branch 'master' of github.com:issadarkthing/gomu into refactor 2021-02-27 16:08:14 +08:00
Raziman Mahathir
d0f813596c
Merge pull request #27 from tramhao/master
Fix a bug p.subtitle is not closed during initialization.
2021-02-27 16:07:43 +08:00
raziman
ecb450fb18 fix bug: loop does not work properly 2021-02-27 16:01:48 +08:00
raziman
1520b685b3 fix bug: cannot play next song 2021-02-27 15:52:13 +08:00
raziman
0476c1d070 add comment 2021-02-27 11:53:47 +08:00
raziman
3d2a597934 make player.Run async 2021-02-27 11:51:12 +08:00
raziman
de9956cca1 possible fix for data race 2021-02-27 09:56:13 +08:00
raziman
5f6c4a81be fix directory shows incorrect emoji 2021-02-26 15:31:55 +08:00
raziman
030faa7596 fix playingbar not working 2021-02-26 15:26:23 +08:00
raziman
4b4a371e08 successfully made the song playable 2021-02-26 12:59:22 +08:00
raziman
cd66c72709 move player.go into seperate package 2021-02-26 11:18:58 +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