161 Commits

Author SHA1 Message Date
Marcelina Hołub
4288b08fee
Make the app more platform agnostic and bump deps versions (#66)
* chore(deps): bump several dependency versions

* fix(playlist): add darwin build constraints

fix(playlist): add darwin build constraint
2023-01-14 18:04:16 +08:00
Marcelina Hołub
50f449ec58
Better config/new test for start.go (#65)
* chore(tests): add test for getArgs in ./start.go

* test(start): add unit test for getArgs

* fix(todos): Change XDG_* to os.UserHomeDir
2023-01-11 18:51:42 +08:00
tramhao
2b2523ee03 minor fix: data race for subtitle pointer 2021-05-06 14:36:51 +08:00
tramhao
dcb8fda7ba refactor: extract audiofile.go from playlist.go 2021-04-30 15:33:53 +08:00
tramhao
42160b6213 in progress: try to fix paste function but failed 2021-04-03 01:38:01 +08:00
tramhao
a6ba20b54a minor fix: subtitle is still showing when queue is empty and stopped 2021-04-02 16:14:16 +08:00
tramhao
93dc45dbb2 minor fix: playingbar is not set correctly when queue is empty 2021-04-02 15:51:56 +08:00
tramhao
45b2957417 minor fix: after a song finish, enqueue it first then playqueue 2021-04-02 15:28:04 +08:00
tramhao
993cb6d281 add config option rename_bytag, fix bug cannot play when queue is empty 2021-04-01 00:07:42 +08:00
tramhao
5d46449ddd Fix data race in playingbar.go and player.go 2021-03-30 13:22:21 +08:00
Raziman Mahathir
5dacd77cd1
Merge pull request #49 from tramhao/master
refactor lrc.go, lyric.go and minor fixes for GoLint warnings.
2021-03-27 16:33:49 +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
raziman
801255d227 improve refocus previous node 2021-03-25 11:49:18 +08:00
raziman
61dd6a402d add Playlist.focus
add
2021-03-25 11:49:18 +08:00
tramhao
939328ce32 Fix a bug in tag editor, when press q too fast after adding lyrics, the apps will lockup 2021-03-24 14:47:12 +08:00
tramhao
2abcd3c429 Merge remote-tracking branch 'upstream/master' 2021-03-22 11:57:28 +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
raziman
3eb0e7c5ed add Playlist, Queue and Player module 2021-03-21 16:05:23 +08:00
raziman
e3376c24b3 fix build error 2021-03-19 23:10:16 +08:00
raziman
b969362111 use anko script to map commands 2021-03-17 22:20:10 +08:00
Raziman Mahathir
70167ba6c3
Merge pull request #43 from issadarkthing/refactor-color
Better color support
2021-03-17 20:06:56 +08:00
tramhao
bb772de297 Merge remote-tracking branch 'upstream/master' 2021-03-16 22:58:05 +08:00
Raziman Mahathir
48758716e8
Merge pull request #41 from issadarkthing/sort-playlist
add support to sort by mtime
2021-03-16 21:36:21 +08:00
raziman
e5de5512d3 add keybinding for 'show_colors' command 2021-03-16 11:59:16 +08:00
raziman
1e9c5864cf add more configurable color 2021-03-16 11:47:35 +08:00
tramhao
eea825e9d3 Merge remote-tracking branch 'upstream/master' 2021-03-16 01:01:05 +08:00
tramhao
87766d1bcb simplify embedLyric and remove unnecessary struct gomusubtitle 2021-03-16 00:12:33 +08:00
raziman
909743bee1 use color name instead of hex value 2021-03-15 22:34:59 +08:00
raziman
b9c40ab466 sort by mtime instead of ctime 2021-03-15 11:33:27 +08:00
tramhao
5c96c07897 Merge branch 'sylt' 2021-03-15 03:03:29 +08:00
raziman
a5a5bd140a add support to sort by ctime 2021-03-14 20:32:02 +08:00
raziman
bc4b9a77f2 fix border background color 2021-03-14 18:20:48 +08:00
raziman
f36ed15e31 fix popup displays 'language lyric loaded' on song with no lyric 2021-03-13 11:06:30 +08:00
tramhao
4530b98a47 sylt testing 2021-03-13 01:13:45 +08:00
raziman
01e1f5e9fd possible fix 2021-03-11 10:57:51 +08:00
tramhao
3f59c16e95 Use Length from Tag to speed up loading of program 2021-03-07 00:31:08 +08:00
tramhao
437ec29c12 remove title in playingbar fix 2021-03-06 03:36:49 +08:00
tramhao
71c4561a2f Tag editor is working 2021-03-06 02:32:30 +08:00
tramhao
391f33a956 Merge remote-tracking branch 'upstream/master' 2021-03-04 17:11:50 +08:00
tramhao
ac5729bd0c Tag editor in progress 2021-03-04 17:11:36 +08:00
raziman
517809a043 fix #34 2021-03-04 16:45:45 +08:00
tramhao
2dab0b4c5c Merge remote-tracking branch 'upstream/master' 2021-03-04 13:44:41 +08:00
tramhao
6e483bae51 add new function loadlyric to load before switch lyric 2021-03-04 13:39:56 +08:00
Raziman Mahathir
8dbe057bd2
Merge pull request #32 from tramhao/master
No more need for subtitle package as lrc.go now do everything
2021-03-04 12:31:42 +08:00
raziman
a58c70a1ad fix bug: playingbar flickers when audio is paused while traversing through playlist 2021-03-04 11:32:52 +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
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
raziman
ecb450fb18 fix bug: loop does not work properly 2021-02-27 16:01:48 +08:00