46 Commits

Author SHA1 Message Date
tramhao
008c39e925 Rename GetLyric interface to conform to standard naming conventions 2021-04-14 11:11:47 +08:00
tramhao
5b5c6be651 Minor Fix: clear album photo if no photo embeded 2021-04-13 14:20:00 +08:00
tramhao
29894636cc Refactor lrc.go:GetText() 2021-04-13 14:02:34 +08:00
tramhao
fca438aa32 1. Fix: lyric negative offset means timestamp add. 2. Refactor: add lyric.GetText() and hide details from gomu 2021-04-13 13:22:17 +08:00
tramhao
888fc0e816 change id3v2 package to forked version as the official repo doesn't respond to pull requests 2021-03-26 16:57:19 +08:00
tramhao
39c0207637 minor fix: lyric_cn.go http response handling and popup.go searchpopup left border fix 2021-03-26 16:36:53 +08:00
tramhao
01b4c3f692 refactor lyric.go 2021-03-26 00:48:01 +08:00
tramhao
112bb338a4 refactor lrc.go a little bit 2021-03-25 16:57:44 +08:00
tramhao
6e5e78e917 Minor fix for GoLint warnings 2021-03-25 12:01:12 +08:00
tramhao
9d207bb130 Fix tageditor getLyricButton concurrency 2021-03-24 23:50:54 +08:00
tramhao
2398455023 lyric_cn.go: parse tag with json and local struct for a cleaner code 2021-03-24 14:07:53 +08:00
tramhao
10b52350ae don't export unnecessary methods in lrc.go 2021-03-23 22:33:40 +08:00
tramhao
0965088140 Fix a bug that offset is not calculated correctly when showing sylt lyrics 2021-03-22 11:40:44 +08:00
tramhao
c98919b3ab Minor Fix: a bug that captions are not merged when offset to negative value 2021-03-19 15:41:14 +08:00
tramhao
5c50688cfd fixing format error in NewFromLRC 2021-03-19 00:40:19 +08:00
tramhao
7586c8e3ff merge two captions if they're within 2 seconds 2021-03-18 14:57:20 +08:00
tramhao
9665eb394c Fix a bug to show lyric when downloaded lyric timestamps are not sorted. 2021-03-18 11:16:23 +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
tramhao
4530b98a47 sylt testing 2021-03-13 01:13:45 +08:00
tramhao
f17c2cdcf6 remove commented out codes 2021-03-10 10:55:38 +08:00
tramhao
45be5067f7 Fix:1.Get lyric dropdown 2. Typo in SongTag struct 2021-03-09 13:57:59 +08:00
tramhao
f24f585e02 Minor fix 2021-03-09 12:59:54 +08:00
tramhao
5c57310ca7 Refractoring Lyric and tageditor 2021-03-09 01:48:01 +08:00
tramhao
1de95b2d38 fix artist in searchpopup 2021-03-06 03:29:48 +08:00
tramhao
aebf95f218 remove [] in artist 2021-03-06 03:21:25 +08:00
tramhao
71c4561a2f Tag editor is working 2021-03-06 02:32:30 +08:00
tramhao
727f2d5a7a delete lyric is working in tag editor 2021-03-05 12:55:12 +08:00
tramhao
ac5729bd0c Tag editor in progress 2021-03-04 17:11:36 +08:00
tramhao
92f29b4b0c cleanup and error handling 2021-03-03 16:56:41 +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
3cb145cf10 lyric-test works with lrc file 2021-03-03 01:56:04 +08:00
tramhao
40c5d1a316 cleanLRC before embeding the lyric 2021-03-03 00:32:07 +08:00
tramhao
e4deba451e handle errors of lyric embed 2021-03-02 23:49:27 +08:00
tramhao
be2d4f5ef3 comment debug code 2021-03-02 23:37:52 +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
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
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
dcadd8fd5d add package lyric test 2021-02-23 21:34:50 +08:00
raziman
5b05a60012 add lyric fetcher
add lyric fetcher
2021-02-23 10:25:24 +08:00