1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2026-03-23 09:29:44 +08:00
Commit Graph

108 Commits

Author SHA1 Message Date
涵曦
fe948e87bc refactor: 清理 httpserver.py 中的无效代码 2026-01-05 15:37:30 +08:00
涵曦
d00e8a2cbc feat: 移除第三方设备播放功能 2026-01-05 13:16:16 +08:00
Formatter [BOT]
dd97299de3 Auto-format code 🧹🌟🤖 2025-12-25 13:47:21 +00:00
Boluofan
67d93feec5 feat: 增加musicfree插件集成功能 2025-12-25 21:46:40 +08:00
TAnsz
dcb9724c45 增加音乐文件上传按钮 (#624) 2025-12-22 17:16:08 +08:00
涵曦
a36709e838 feat: 新增 websocket 接口获取当前播放状态 2025-09-09 19:55:45 +08:00
涵曦
fcfff7c090 fix: 修复本地播放失败问题 2025-09-09 09:34:10 +08:00
涵曦
7167670a14 feat: LX音源支持http_proxy 2025-09-08 23:39:51 +08:00
涵曦
01d8584fe0 feat: 网络歌曲支持使用代理的方式播放 2025-08-17 22:07:11 +08:00
涵曦
6a37e1ec70 feat: 新增代理播放链接功能 see: #525 2025-08-15 20:58:49 +08:00
涵曦
956a4af3c9 fix: 修复安全问题 2025-06-10 18:46:15 +08:00
涵曦
2eb6e8035b fix: 修复安全问题 2025-06-10 16:43:43 +08:00
Formatter [BOT]
a62061f4ae Auto-format code 🧹🌟🤖 2025-06-09 14:57:17 +00:00
nfzsh
c72b19ffc0 feat: 支持b站合集和收藏下载 (#487)
* feat:支持收藏夹和合集下载

* feat:支持收藏夹和合集下载

* feat:支持收藏夹和合集下载
2025-06-09 00:37:26 +08:00
涵曦
1eeaa793a1 fix: 修复下载后不自动播放的问题 2025-03-09 16:56:42 +08:00
涵曦
7209b03a12 feat: 整理第三方播放设备的代码 2025-03-07 09:42:40 +08:00
Formatter [BOT]
2e756ddad9 Auto-format code 🧹🌟🤖 2025-03-04 10:35:34 +00:00
jhcj.z
61bf233704 Fixes #399 (#415) 修复tailwind主题
* 引入tailwindcss, 更新默认主题ui

* 引入tailwindcss, 添加新的主题ui

* 引入tailwindcss, 添加新的主题ui

* 更新tailwind主题

* fix merge error

* fix merge error

* feat: Enhance song metadata display and API fetching

- Add more detailed song metadata in frontend (title, artist, album, year, genre, lyrics)
- Update API call to include music tags
- Replace default music icon with song cover image
- Improve type hinting in httpserver.py

* feat: Add keyboard shortcuts for music playback control

- Implement keyboard shortcuts for play/pause (Space), previous/next track (Left/Right arrows)
- Add volume control via Up/Down arrow keys
- Prevent default browser actions for shortcut keys
- Add event listener for keydown and remove on component unmount
- Enhance user interaction with music player

* feat: Improve song metadata handling and error resilience

- Enhance current song information retrieval with more robust error handling
- Add fallback values for song metadata when API calls fail
- Update current song state with additional properties like cover image
- Optimize song loading process with better error management
- Ensure consistent song information display even with incomplete data

* fix bugs

* tailwind fix bugs

* Merge branch 'main' of github.com:xiaomusic

* Merge branch 'main' of github.com:xiaomusic

* 修复刮削歌曲的歌曲名称和文件名称不一致,播放失败的问题
2025-03-04 18:35:05 +08:00
涵曦
8f388f94e4 style: 清理代码 2025-02-18 21:45:45 +08:00
wjcroom
108dabd1d6 feat: 加入了遥控网页播放,用于实现电视上使用 (#395)
* Create httppost.py

for 3thplay,提交json到网页播放接口,参数地址和json

* Update httppost.py

* Update utils.py 用于3thplay.html的提交socketio,消息的函数

包含post主体,

* Update httppost.py 将不再使用,移动到util

* Update xiaomusic.py 加入新设备的播放功能

有3方设备打开 /static/3thplay.html 通过socketio连接返回true 忽律小爱音箱的播放,设备可以是手机平板笔记本等的浏览器

* Update utils.py

* Update xiaomusic.py  int_config thdplay -加入三方播放参数

* 主网页,用于其他设备播放

里面在按钮是特殊字符,无法在线编辑

* 手机浏览器初始化时,页面需要手工点击播放,必须有一段音频-结合3thplay使用

* Delete xiaomusic/static/(示例音乐)一剪梅.mp3

* 启动音频初始化窗口,手工点击播放

* Update 3thplay.html

* Update 3thplay.html

* Update utils.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update xiaomusic.py 设置3thplay.html播放器的音量

* Update pyproject.toml 加入socketio

* Update httpserver.py for  socketio

* Update cli.py  change  app to sockeio_app

* Update xiaomusic.py   set  3thd  target to  hostname:public

参数跳转到本机.socket 接收请求的地址

* Update 3thplay.html  io   "/"
2025-02-18 16:15:36 +08:00
Formatter [BOT]
8fbff212cc Auto-format code 🧹🌟🤖 2025-02-05 14:08:53 +00:00
jhcj.z
d122ba9545 feat: 添加正在播放页面 (#386)
* 引入tailwindcss, 更新默认主题ui

* 引入tailwindcss, 添加新的主题ui

* 引入tailwindcss, 添加新的主题ui

* 更新tailwind主题

* fix merge error

* fix merge error

* feat: Enhance song metadata display and API fetching

- Add more detailed song metadata in frontend (title, artist, album, year, genre, lyrics)
- Update API call to include music tags
- Replace default music icon with song cover image
- Improve type hinting in httpserver.py

* feat: Add keyboard shortcuts for music playback control

- Implement keyboard shortcuts for play/pause (Space), previous/next track (Left/Right arrows)
- Add volume control via Up/Down arrow keys
- Prevent default browser actions for shortcut keys
- Add event listener for keydown and remove on component unmount
- Enhance user interaction with music player

* feat: Improve song metadata handling and error resilience

- Enhance current song information retrieval with more robust error handling
- Add fallback values for song metadata when API calls fail
- Update current song state with additional properties like cover image
- Optimize song loading process with better error management
- Ensure consistent song information display even with incomplete data
2025-02-05 22:08:24 +08:00
涵曦
1ca8955b94 feat: 新增播放文字功能 2025-01-08 12:56:52 +08:00
涵曦
59e9191f70 style: 清理无效代码 2024-12-25 16:57:21 +08:00
涵曦
c09baaac15 fix: 修复获取自定义歌单接口报错 2024-12-22 13:15:35 +08:00
涵曦
94921eb12a feat: 新增更多的歌单编辑相关接口 2024-12-19 06:15:09 +08:00
涵曦
b0dfb37d98 build: 调试 2024-12-18 21:51:21 +08:00
涵曦
c5ec98a527 refactor: 更新接口修改 2024-12-17 01:21:51 +08:00
Formatter [BOT]
8c021e5889 Auto-format code 🧹🌟🤖 2024-12-16 12:21:40 +00:00
涵曦
d30cb67bc1 feat: 下载完成之后修改文件权限为755 close #316 2024-12-16 20:20:42 +08:00
涵曦
14e7a151a3 fix: 尝试解决七牛设备问题 2024-12-15 08:05:30 +08:00
涵曦
46168315d0 feat: 开启gzip压缩 2024-12-05 21:18:51 +08:00
涵曦
87fb34e5c9 feat: 新增修改tag缓存信息的接口 close #266 2024-12-02 12:27:09 +08:00
涵曦
df3c4b7fa9 feat: 新增专用的播放歌曲和播放歌单接口,解决默认口令提示词被修改了导致后台失效的问题 2024-12-02 11:40:26 +08:00
涵曦
0c99f4d537 feat: 新增自定义个歌单接口 #242 2024-11-20 00:09:54 +08:00
涵曦
bd6dd43737 refactor: 依赖库已经支持分段获取静态文件,重构代码 2024-11-08 21:19:38 +08:00
Gao, Ruiyuan
becfdbf338 fix: bug in del_music (#237) 2024-10-17 10:25:25 +08:00
Gao, Ruiyuan
cc5facdf4f fix: static和doc添加basic auth (#231)
* bug: static和doc添加basic auth

* Auto-format code 🧹🌟🤖

---------

Co-authored-by: Formatter [BOT] <runner@fv-az1114-199.rwkmm4horakexguyojjdchjroh.cx.internal.cloudapp.net>
2024-10-14 14:00:55 +08:00
徒言
5c095b2395 feat: 播放状态接口返回当前播放列表 (#229) 2024-10-14 04:50:32 +08:00
Gao, Ruiyuan
e60dc12a12 bug: fix redirect (#223) 2024-10-09 15:05:27 +08:00
涵曦
c9384aac08 refactor: 修复告警 2024-10-09 07:02:58 +08:00
涵曦
9d9939be9f feat: 文件转换逻辑延迟到读取文件的时候 see #218 2024-10-09 01:40:59 +08:00
涵曦
01ed21f83d feat: 新增接口 /cmdstatus 用于查询异步任务是否执行完毕 2024-10-07 04:19:45 +08:00
涵曦
86110a2e65 feat: 新增 yt-dlp cookies 文件参数支持 2024-09-29 10:19:50 +08:00
涵曦
4330f61888 feat: 新增批量下载歌曲工具 2024-09-27 19:03:49 +08:00
Gao, Ruiyuan
410d4452d1 drop request.url.path (#204) 2024-09-25 23:56:33 +08:00
涵曦
2b6619b4da Fix code scanning alert no. 32: Use of a broken or weak cryptographic hashing algorithm on sensitive data (#203)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-09-25 22:26:48 +08:00
Gao, Ruiyuan
db8b90487f feat: 加密音乐和图片访问链接 (#200)
* use basic auth, cannot work

* Revert "use basic auth, cannot work"

This reverts commit 16a9683855.

* use access key/code control

* Auto-format code 🧹🌟🤖

---------

Co-authored-by: Formatter [BOT] <runner@fv-az1766-921.lyuwioyq51hutffh0ei52p4blg.dx.internal.cloudapp.net>
2024-09-25 18:41:28 +08:00
涵曦
baf9a83e50 feat: 歌曲信息中的图片改为url #190 2024-09-25 03:11:29 +08:00
涵曦
6e8830c4e6 feat: 新增更新提醒 2024-09-24 09:26:39 +08:00