Commit Graph

408 Commits

Author SHA1 Message Date
memorydream
f5ab5ea754
feat: updates (#1462)
* fix: IconButton disable

* feat(components/Player): heart图标跟随用户喜欢的歌曲变化

* fix(pages/Artist): 对最新发行和EP判断是否存在数据

* fix(utils/player): 音频加载完成后检查id

避免切歌太快,导致已经被切歌音频覆盖当前音频

* update

* fix(utils/player): update

* fix(components/Player): 删掉多余的!!

* _initFM() private

* Update player.ts

Co-authored-by: qier222 <qier222@outlook.com>
2022-04-02 23:26:33 +08:00
qier222
744247143b
feat: updates 2022-04-02 18:46:08 +08:00
qier222
3ef7675696
feat: updates 2022-04-02 16:54:37 +08:00
qier222
86f088e5c9
feat: updates 2022-04-02 02:17:45 +08:00
memorydream
719a3a60d4
feat: 实现私人FM (#1453)
* feat: 实现私人FM

* 根据建议修改

* fix: APP启动时FMCard无法加载数据

* fix: coverUrl使用useMemo

* fix: 在私人FM模式下禁用单曲循环

* fix: 私人FM模式下禁用部分按钮

* fix: 限制FMCard的歌手长度

* fix: 移除ArtistsInline的clamp参数,并将其作为隐式Fallback
2022-04-02 02:13:48 +08:00
qier222
e99c4833f7
feat: 解决build bug 2022-04-02 00:45:20 +08:00
qier222
46fe2d734e
feat: 增加初始化sqlite的逻辑和其他更新 2022-03-30 16:54:11 +08:00
qier222
1b86cbbee1
feat: 使用sqlite3替换realm 2022-03-30 00:53:05 +08:00
qier222
c4219afd3d
chore: 用esbuild代替vite来打包main 2022-03-29 16:52:53 +08:00
qier222
950f72d4e8
refactor: version 2.0 (React) 2022-03-16 18:46:08 +08:00
memorydream
7dad7d810a
fix: 修复部分按钮失效的问题 (#1380) 2022-03-06 11:55:57 +08:00
pan93412
3d5d40c476
feat(components/Navbar): 自訂和微調各系統的 titlebar (#1343)
* feat: linux custom titlebar
* add settings init
* Update zh-TW.js
* fix: color

Co-authored-by: memorydream <34763046+memorydream@users.noreply.github.com>
2022-02-25 07:36:56 +08:00
pan93412
3e1dc62fa0
chore: 更新依賴、更換為 prettier 新規則 (#1340)
* chore: upgrade dependencies
* style: prettier
2022-02-25 07:36:13 +08:00
memorydream
80b19192c3
fix(views/lyrics): don't open empty artist link (#1286) 2022-02-03 20:37:18 +08:00
CNawalol
d15b58d805
feat: mpris support (#1279)
* feat: mpris support

* fix: 修复网页版无法播放

* fix: 修复在 Player.js 里 ipcRenderer 为空时引发的错误

* docs: update README

* docs: update README

Co-authored-by: memorydream <34763046+memorydream@users.noreply.github.com>
2022-01-30 00:37:12 +08:00
memorydream
c8b9c0dae8
fix(utils/lyrics): format 2022-01-28 15:17:34 +08:00
memorydream
769ba47a1d
fix(utils/lyrics): [min:sec] timestamp lyrics parse (#1277)
* fix(utils/lyrics): [min:sec] timestamp lyrics parse

* refactor(utils/lyrics): simplify time expression

* style(utils/lyrics): remove duplicate space

Co-authored-by: pan93412 <pan93412@gmail.com>
2022-01-28 14:54:40 +08:00
pan93412
8a6c13e62f
refactor(utils/lyrics): support multi-timestamp lyrics (#1268)
* refactor(utils/lyrics): support multi-timestamp lyrics

Fully rewrited and improved the performance.

* refactor(utils/lyrics): remove useless .map

* fix(utils/lyrics): enhance the extraction logic
2022-01-27 16:25:45 +08:00
memorydream
171f4708d8
remove comment 2022-01-27 01:49:18 +08:00
pan93412
9ae5e4f059
fix(utils/lyrics): do not preserve the empty lyric 2022-01-27 00:07:09 +08:00
pan93412
3ddfe9c3bb
refactor(utils/lyrics): better parsing logic 2022-01-26 23:41:53 +08:00
pan93412
ebd863f5b6
refactor(ncmapi): manage NCMAPI with submodule
also:
  - docs: tells user to clone repo recursively
  - feat(ci): clone recursively
  - feat(ncmapi): backport my change
    https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1453
  - refactor: rewrite startNeteaseMusicApi()
2022-01-26 18:13:55 +08:00
Wenqi Huang
4b22651a07
fix: set "onend" callback for howler properly (#1249)
Fix #1090
2022-01-22 20:39:26 +08:00
memorydream
75fed70c38
fix: retry when personalFM not found data (#1231)
* fix: retry when personalFM not found data

* fix

* fix: retry count
2022-01-17 23:23:39 +08:00
memorydream
d716bb8cde
feat: refactor tray (#1227)
* feat: support set tray icon tooltip info

* fix: name

* refactor tray impl and add tray playing state change

* fix: linux impl

* add pause icon

* add tray like state

* fix

* fix: linux impl

* better pause icon
2022-01-17 23:23:21 +08:00
memorydream
3cbb8d9b25
fix: wrong trim all white space lyric (#1233) 2022-01-17 21:12:40 +08:00
chen310
585691aa0f
fix: 云盘加载歌曲数增加至1000 (#1242)
FIXME: 超过 1000 的部分仍无法显示 

Fix #940
Fix #1024
Fix #1240
2022-01-17 20:38:09 +08:00
GalvinGao
42f3da9b37
feat: add reversed mode & improvements to lyrics animation (#1226)
* feat(reversed-mode): add reversed mode & improvements to lyrics animation

* feat(lyrics-animation): improve `:active` style

* fix: extra white space after artist in lyrics view

* refactor: remove unused function

* feat: slightly add duration of transition to improve replication from Apple Music style
2022-01-14 15:30:19 +08:00
memorydream
3ea5446fcc
fix : PersonalFM can not found next track (#1217)
* fix : PersonalFM can not found next track

* do not call _loadPersonalFMNextTrack() when reload personal FM

* fix: revert

* fix: separate playNextTrack

* fix: moveToFMTrash

* fix

* fix: shortcut and _loadPersonalFMNextTrack()

* show toast when personal timeout

* fix: name
2022-01-12 01:04:40 +08:00
chen310
d4ca9d6dcf
fix: 解决云盘和听歌排行歌曲变灰的问题 (#1215) 2022-01-11 19:07:35 +08:00
memorydream
76a8742d61
feat: better lyrics filter (#1210)
* feat: better filter lyrics

* change

* replace filter text with RegExp

* more change

* add try catch

* better author filter
2022-01-11 19:06:47 +08:00
memorydream
73df7f28f4
feat: 当只有一句歌词且内容为'纯音乐,请欣赏'时,隐藏歌词面板 (#1205) 2022-01-09 18:34:30 +08:00
Rick
a87686098c
feat: 增加心动模式/智能播放 (#323) (#1206) 2022-01-09 18:33:42 +08:00
memorydream
b501214c02
fix: context menu position (#1207)
* fix: context menu position

* fix: context menu position with player disabled
2022-01-09 18:12:30 +08:00
memorydream
14566b20b2
fix: library extract lyric part (#1201) 2022-01-08 17:33:41 +08:00
memorydream
07b5d4de3d
fix: lyrics sort (#1199) 2022-01-08 01:12:16 +08:00
Rick
3d71e9fc00
feat: 增加我的听歌排行 (#274) (#1197) 2022-01-07 21:32:00 +08:00
chen310
98ac9fd1ac
fix: 解决某些歌曲(如已购专辑)能播放但仍然变灰的问题 (#1173) 2022-01-04 18:35:31 +08:00
是虹川飴
cbeb64a65c
fix #1152 (#1157) 2021-12-31 18:56:16 +08:00
pan93412
d153810205
fix(views/library): better lyric-picking logic (#1143)
* fix(views/library): better lyric-picking logic

* feat(views/library): filter out lines with "作詞" and "作曲" included
2021-12-29 07:37:58 +08:00
pan93412
f5cdbea379
refactor(views/library): 修改取词逻辑 (#1135)
* refactor(views/library): 修改取词逻辑

* refactor(views/library): clean up long-winded code

Co-authored-by: 是虹川飴 <r0akg9yxh@relay.firefox.com>
Closed: #1133
Fixed: #1019 #1127 #1067 #1064 #1058 #1022
2021-12-28 17:58:31 +08:00
Vidocq
e838f1d6d4
fix: toast covered by modal (#1137) 2021-12-28 01:04:33 +08:00
pan93412
83b78bab34
feat: allow customizing UNM's sources (#1134)
* feat(ipcMain/unm): allow passing customized source

* feat(utils/Player): pass settings.unmSource

According to c280221a44,
we can let users customize their desired source now.

* feat(views/settings): allow configuring sources

We haven't supported specifying the environment variable in YPM yet.
2021-12-28 00:49:31 +08:00
memorydream
c73da5c5ad
fix: firefox lyrics scrollbar (#1128) 2021-12-25 13:08:01 +08:00
pan93412
836b7d0ce9
fix(player): release object urls (#1121) 2021-12-24 17:19:16 +08:00
pan93412
d049eb4903
fix(settings): update URL to our UNM fork's (#1120) 2021-12-24 15:22:27 +08:00
是虹川飴
4a99f31aed
fix: 修复 issues #1019 的跟进问题 (#1113)
* issues #1019 的迫真修复

* 修复 issues #1019

* 修复 issues #1019

* 改回 pickedLyric() 逻辑

* 更进一步的避免取词卡死问题

* 更新网易云 api 到 4.2.0

* Update README.md

* Revert "Update README.md"

This reverts commit b862ef7d4d.

* Update lyrics.vue

* 过滤歌词
2021-12-21 10:20:04 +08:00
memorydream
47862d6710
fix: disc color (#1114) 2021-12-21 10:12:06 +08:00
是虹川飴
e9d9c3aee8
fix: issues #1076 (#1080)
* issues #1019 的迫真修复

* 修复 issues #1019

* 修复 issues #1019

* 改回 pickedLyric() 逻辑

* 更进一步的避免取词卡死问题

* 更新网易云 api 到 4.2.0

* Update README.md

* Revert "Update README.md"

This reverts commit b862ef7d4d.

* Update lyrics.vue
2021-12-20 19:00:59 +08:00
Chiro
d322a29b72
fix: #1063 #1010 (#1083) 2021-12-20 19:00:33 +08:00