修复快速切换音乐,线程混乱问题,增加快速跳转快捷键 - #842
Conversation
[Release] 0.2.3.8
新版本应为0.2.3.8
仅当窗口大小改变的时候调整terminal的大小
Adjust osdlyrics, fix window position and lyrics translation
捕获通知命令无法找到的异常,避免 RaspberryPI 一类的系统无法找到通知 命令,报错影响程序界面。 同时为方便异常捕获,改为使用 subprocess 调用命令。
[fix]捕获通知命令无法找到的异常
add config for osdlyrics background area size
* Create python-package.yml * fix * py 3.9 * fix
* fix get version * fix
contrycode="86"属性应该在手机登录判断下,之前被错误放置到其余登录方式判断下
* fix(api): 修复登录报错 code=250 当前登录失败,请稍后再试 * fix(api): 修复 python 3 cookies.save 报错 Co-authored-by: weak_ptr <liuweiqing@donview.cn>
* Support Qt5 And fix NSXPCSharedListener endpointForReply:withListenerName error on OS X according to NOAA-PMEL/PyFerret#33 * playlist length > 1000
There is a small typo in NEMbox/ui.py. Should read `scroll` rather than `scoll`.
Time string from lyric_line is invalid in some case For example, '99:00.00' which does not match format '%M:%S.%f' fix #936 Signed-off-by: hoyho <luohaihao@gmail.com>
使用 MozillaCookieJar 代替 LWPCookieJar
* add search for djchannels * fix empty song name in djprogram 1. 增大电台歌曲数至100 2. 修复#894导致的主播电台歌名大部分为空的情况 * change song info when playing djprogram 电台节目没必要显示空的艺术家和专辑名 * fix KeyError in Parse.songs * fix space key event in djchannels * fix songs_url sometimes return empty list (when sids list len>=400) * add function to get all djprograms * format with black * fix songs_url return empty list in "refresh_urls" * simplify code 以350个为一组,使用了一段时间djprogram未见报错,故精简 * replace djchannels to djRadios
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
升级 Python 至 ^3.10,替换 fuzzywuzzy 为 rapidfuzz,引入 Ruff 统一 lint/format, 迁移 requests-cache 至 CachedSession,更新 CI 与 pre-commit,并完成代码现代化改造。 Co-authored-by: Cursor <cursoragent@cursor.com>
新增 QR 扫码登录:login_qr_key / login_qr_check / get_account_info, 基于 weapi qrcode 接口轮询扫码状态,成功后取得 MUSIC_U 与账号信息。 encrypt 补充 eapi 加密与匿名设备 username 编码;api 注入匿名设备 cookie 与随机中国 IP 以规避风控;menu/ui 登录交互改为终端二维码展示。 新增 tools/login_cli.py 扫码登录测试入口,新增 qrcode 依赖。 README 区分 uv/pipx 全局安装与 Poetry 开发调试流程。 BREAKING CHANGE: 不再支持账号密码登录,仅支持扫码登录 Co-authored-by: Cursor <cursoragent@cursor.com>
补充 pyright 配置并修复 Python 类型诊断与 README Markdown lint 问题,保持可选依赖和动态数据结构的现有运行行为。 Co-authored-by: Cursor <cursoragent@cursor.com>
延迟 Player 类型注解求值,避免 list property 影响 CLI 导入。 标注 NetEase eapi 协议要求的 AES-ECB 用法,并关闭 matrix fail-fast 便于排查。 Co-authored-by: Cursor <cursoragent@cursor.com>
将 AES-ECB 的 CodeQL suppression 放到告警语句上一行,匹配 Python CodeQL 的识别规则。 Co-authored-by: Cursor <cursoragent@cursor.com>
Modernize MusicBox and restore QR login
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| python-version: ["3.10", "3.11", "3.12", "3.13"] | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up Python ${{ matrix.python-version }} | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| - uses: snok/install-poetry@v1 | ||
| with: | ||
| version: 2.1.3 | ||
| virtualenvs-create: true | ||
| virtualenvs-in-project: true | ||
| - uses: actions/cache@v4 | ||
| with: | ||
| path: | | ||
| .venv | ||
| key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }} | ||
| - name: Install dependencies | ||
| run: | | ||
| poetry install | ||
| poetry build | ||
| - name: Lint with ruff | ||
| run: | | ||
| poetry run ruff check | ||
| poetry run ruff format --check | ||
| - name: Test with pytest | ||
| run: poetry run pytest -s | ||
| - name: Run cli | ||
| run: poetry run musicbox -v | ||
| env: | ||
| TERM: xterm |
重排安装、使用、快捷键和排错章节,减少重复说明并提升阅读路径清晰度。 Co-authored-by: Cursor <cursoragent@cursor.com>
|
Closing PR due to merge conflicts. |
修复快速切换音乐,线程混乱问题,增加快速跳转快捷键