78 Commits

Author SHA1 Message Date
tramhao
eea825e9d3 Merge remote-tracking branch 'upstream/master' 2021-03-16 01:01:05 +08:00
tramhao
45c8ceaa79 cleanup switchlyrics 2021-03-16 00:39:13 +08:00
tramhao
4f092ae015 fix a bug during switching lyrics 2021-03-16 00:35:47 +08:00
tramhao
87766d1bcb simplify embedLyric and remove unnecessary struct gomusubtitle 2021-03-16 00:12:33 +08:00
tramhao
884782432e select sylt if available 2021-03-15 03:03:12 +08:00
tramhao
a4498fe8c0 1. sylt is working. 2. Change timestamp to uint32 format, just comply to lrc standard 2021-03-15 02:29:41 +08:00
raziman
bc4b9a77f2 fix border background color 2021-03-14 18:20:48 +08:00
tramhao
4530b98a47 sylt testing 2021-03-13 01:13:45 +08:00
raziman
5c5cb2d8cb remove redundancy 2021-03-11 10:58:29 +08:00
tramhao
4efa8da427 Fix for high cpu usage 2021-03-10 13:42:42 +08:00
tramhao
0d531a2827 Minor fix: don't show lyric and progress when paused 2021-03-08 00:29:51 +08:00
tramhao
d237de2a2a minor fix 2021-03-07 02:21:42 +08:00
tramhao
727f2d5a7a delete lyric is working in tag editor 2021-03-05 12:55:12 +08:00
tramhao
6e483bae51 add new function loadlyric to load before switch lyric 2021-03-04 13:39:56 +08:00
tramhao
0df12bcc38 Stop parsing endTime as it's not in lrc files 2021-03-03 16:10:06 +08:00
tramhao
51ec659418 respect offset from lyric to adjust the delay. Stop using resync. 2021-03-03 13:09:38 +08:00
tramhao
ace95a0b45 change playingbar to fixed size so progressbar and lyric won't disappear when font is too large 2021-03-03 02:13:47 +08:00
tramhao
ad94609bb5 Big Change: stop using subtitles lib as lrc.go can do everything and cleaner. 2021-03-02 23:34:38 +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
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
de9956cca1 possible fix for data race 2021-02-27 09:56:13 +08:00
raziman
030faa7596 fix playingbar not working 2021-02-26 15:26:23 +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
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
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
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
f2bfc772d6 use die() instead of log.Fatal() 2021-02-22 10:49:07 +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
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
raziman
5e4c9f64b5 fix screen does not update playingbar 2021-02-19 15:07:44 +08:00
raziman
42c78535f9 fix cpu spike when no songs playing on startup 2021-02-19 13:16:22 +08:00
raziman
2e03c2be77 remove support for fzf in favor of built-in finder 2021-02-11 14:49:14 +08:00
raziman
cc1e50d5e8 delay setDefault() call 2021-02-10 15:06:08 +08:00
raziman
8c1839a0e0 clean up comment 2021-02-08 15:07:20 +08:00
raziman
662029970d resizeable progress bar
small refactor
2020-08-22 14:59:10 +08:00