Commit Graph

631 Commits

Author SHA1 Message Date
qier222
e5d1af49bf
revert: "fix(ci/build): 暫時不要登入 (#1452)"
This reverts commit fe660cf1a9.
2022-04-03 16:10:24 +08:00
pan93412
fe660cf1a9
fix(ci/build): 暫時不要登入 (#1452)
目前 YPM 的 snapcraft_token 似乎失效了?
2022-03-28 17:57:17 +08:00
pan93412
5ff8868d3e
fix(utils/request): token 過期 (301) 時重新導向至登入頁面 (#1448) 2022-03-27 15:16:55 +08:00
HengYi Wei
1c25f11821
Update README.md: 添加了 Scoop 安装方式介绍 (#1445) 2022-03-26 21:52:35 +08:00
Jiang Menghao
626786a008
fix(components/DailyTracksCard): 修复了每日推荐在 Safari 不显示圆角的bug (#1444) 2022-03-26 18:55:42 +08:00
memorydream
b1c5873bd6
fix: firefox scrollbar (#1425) 2022-03-20 18:05:35 +08:00
memorydream
748db54f52 fix(utils/platform): isCreateTray 在瀏覽器環境應永遠為應永遠為 false 2022-03-16 15:50:20 +08:00
pan93412
fbf695eb16 feat(utils/player): 播放、暫停時淡入淡出 2022-03-16 15:50:20 +08:00
pan93412
98068f55cb
chore: upgrade dependencies (#1390)
- UnblockNeteaseMusic@0.27.0-rc.6
- dayjs@1.10.8
- electron-builder@23.0.2
- music-metadata@7.12.2
- NeteaseCloudMusicApi@4.5.8
- eslint-config-prettier@8.5.0
2022-03-10 15:37:57 +08:00
memorydream
ef7f51ecf0
feat(library): i18n & l10n (#1386)
* Update library translations

* Update zh-TW.js
2022-03-08 12:22:27 +08:00
pan93412
be35a8ded4
feat(ci): 允許手動觸發執行檔編譯流程 [skip ci] 2022-03-07 20:52:17 +08:00
memorydream
7dad7d810a
fix: 修复部分按钮失效的问题 (#1380) 2022-03-06 11:55:57 +08:00
pan93412
596204dc58
build(ci): 加上 dependencies 快取
順帶將 setup-node 升級至 v3。
2022-02-26 16:05:18 +08:00
pan93412
6ed5f274e6
build(ci): 將 Node.js 的版本切換至 v16 2022-02-26 16:04:57 +08:00
pan93412
b65a8b9da0
chore: 更新 lockfile
使用 yarn upgrade 更新部分 dependencies。
2022-02-26 16:04:00 +08:00
郭桓桓
8e68d7e796
chore(license): update copyright year (#1354) 2022-02-26 12:29:18 +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
Chuwen
76b358445e
build: 优化打包体积 (#1323)
* 移除生产环境不必要的 map 文件
* webpack 添加 LimitChunkCountPlugin 用以解决 chunk 包太多的问题
2022-02-23 23:26:37 +08:00
qier222
91b4e08449
build: release v0.4.4-beta.1 2022-02-03 22:29:38 +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
pan93412
5a5fb1f191
refactor(ncmapi): use upstream version (#1278)
* refactor(ncmapi): use upstream version

FIXME: After #1457 released,
switch to the NPM version.

* fix(docker): install NeteaseCloudMusicApi early

* fix: remove useless submodule entry

* fix(ncmapi): update to 4.5.2
2022-01-30 00:19:55 +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
7b7b8745b6
fix: netease_api install and prettier (#1267) 2022-01-27 11:17:15 +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
1c7344beaf
fix(build): try to fix up the ARM64 build issue
https://github.com/qier222/YesPlayMusic/runs/4950356054
2022-01-26 20:38:21 +08:00
pan93412
240c1560db
feat(ci): also build on "ci/" branch 2022-01-26 18:35:26 +08:00
pan93412
6af6b86e87
build: add arm64 support for Linux 2022-01-26 18:27:38 +08:00
pan93412
50171911f9
chore: upgrade electron to 13.6.7 2022-01-26 18:15:28 +08:00
pan93412
e6abbe244b
refactor(babel): use corejs 2022-01-26 18:15:28 +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
pan93412
d5ffacae3a
fix(npm): forcibly resolve 'icon-gen' to v3
Seems like no any API breaking changes in icon-gen v3.
Besides, we can throw phantomjs away.

Fix #1265
Fix #1260
2022-01-26 09:41:01 +08:00
Rick
a870dc3185
fix: docker build failed (#1259)
* fix: docker build failed #1258

* refactor(docker): maximum the usage of cache

* fix(docker): "RUN" repeats two times

Fix #1258

Co-authored-by: pan93412 <pan93412@gmail.com>
2022-01-22 21:07:33 +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
Rick
c7c6583523
fix: docker build image error (#1212) (#1216) 2022-01-11 19:07:48 +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