Commit Graph

675 Commits

Author SHA1 Message Date
memorydream
08abf8229f
feat: updates (#1419)
* feat: TrackList 高亮播放中Track & Track 子标题(歌名翻译)

* fix: 不对id为0的歌手应用下划线

* feat: TrackList的Track支持深色模式

* fix: typo

* feat: 专辑页面的subtitle支持深色模式

* fix: typo

* feat: 在TrackList中高亮播放Track里的歌手信息
2022-03-18 14:13:56 +08:00
qier222
e3486ab550
feat: updates 2022-03-17 19:30:43 +08:00
pan93412
d96bd2a547
chore: Migrate to PNPM (#1418)
* refactor: migrate to PNPM

* refactor: remove unused import

* chore: update lock

* refactor!: remove yarn.lock

* fix(config/electron-builder): ignore pnpm-lock.yaml

* chore: upgrade dependencies
2022-03-17 15:33:29 +08:00
qier222
f54d2ded5c
feat: updates 2022-03-17 14:45:04 +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
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
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
Rick
66f9b4f526
chore: 支持 Docker 部署 (#1195) (#1200) 2022-01-08 19:26:11 +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
pan93412
5071e82e1c
build: degrade electron to 13.0.1
Seems like Electron 13.6 breaks the Windows 7 support.
We degrade Electron's version to what 0.4.2 uses.

Related: #1179
2022-01-05 21:27:46 +08:00