mirror of
https://github.com/hanxi/xiaomusic.git
synced 2025-12-06 14:52:50 +08:00
Compare commits
6 Commits
da9fc15e08
...
d13a5a2600
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d13a5a2600 | ||
|
|
cc5d5a4d2c | ||
|
|
c3d9a876fd | ||
|
|
c0a0571094 | ||
|
|
474a29caf0 | ||
|
|
7e95e966e2 |
@@ -1,3 +1,12 @@
|
||||
## v0.3.101 (2025-12-01)
|
||||
|
||||
### Fix
|
||||
|
||||
- hostname 不允许填 127.0.0.1 和 localhost
|
||||
- 修复自动填端口为0的问题
|
||||
- SoundSpace随机播放模式失效 #578 (#585)
|
||||
- 下线失效的统计服务 close #579
|
||||
|
||||
## v0.3.100 (2025-11-09)
|
||||
|
||||
### Feat
|
||||
|
||||
@@ -4,7 +4,8 @@ title: 微信交流群二维码
|
||||
|
||||
# 微信交流群二维码
|
||||
|
||||
<img width="1031" height="1440" alt="Image" src="https://gproxy.hanxi.cc/proxy/user-attachments/assets/af72fdee-fc26-4988-8ce6-754d902c2fc6" />
|
||||
# 群里可能比较吵,请开免打扰!可以自己主动退出,请不要举报!
|
||||
<img width="1031" height="1440" alt="Image" src="https://gproxy.hanxi.cc/proxy/user-attachments/assets/d22cb74a-3646-45bb-acbe-044aa04b22ac" />
|
||||
|
||||
## 评论
|
||||
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# 版本日志
|
||||
|
||||
## v0.3.101 (2025-12-01)
|
||||
|
||||
### Fix
|
||||
|
||||
- hostname 不允许填 127.0.0.1 和 localhost
|
||||
- 修复自动填端口为0的问题
|
||||
- SoundSpace随机播放模式失效 #578 (#585)
|
||||
- 下线失效的统计服务 close #579
|
||||
|
||||
## v0.3.100 (2025-11-09)
|
||||
|
||||
### Feat
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "xiaomusic"
|
||||
version = "0.3.100"
|
||||
version = "0.3.101"
|
||||
description = "Play Music with xiaomi AI speaker"
|
||||
authors = [
|
||||
{name = "涵曦", email = "im.hanxi@gmail.com"},
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = "0.3.100"
|
||||
__version__ = "0.3.101"
|
||||
|
||||
4
xiaomusic/static/default/debug.html
vendored
4
xiaomusic/static/default/debug.html
vendored
@@ -6,9 +6,9 @@
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>Debug For XiaoMusic</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="./main.css?version=1762671468">
|
||||
<link rel="stylesheet" type="text/css" href="./main.css?version=1764602141">
|
||||
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
|
||||
<script src="./jquery-3.7.1.min.js?version=1762671468"></script>
|
||||
<script src="./jquery-3.7.1.min.js?version=1764602141"></script>
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z09NC1K7ZW"></script>
|
||||
|
||||
4
xiaomusic/static/default/downloadtool.html
vendored
4
xiaomusic/static/default/downloadtool.html
vendored
@@ -4,8 +4,8 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>歌曲下载工具</title>
|
||||
<link rel="stylesheet" type="text/css" href="./main.css?version=1762671468">
|
||||
<script src="./jquery-3.7.1.min.js?version=1762671468"></script>
|
||||
<link rel="stylesheet" type="text/css" href="./main.css?version=1764602141">
|
||||
<script src="./jquery-3.7.1.min.js?version=1764602141"></script>
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z09NC1K7ZW"></script>
|
||||
|
||||
6
xiaomusic/static/default/index.html
vendored
6
xiaomusic/static/default/index.html
vendored
@@ -5,8 +5,8 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>小爱音箱操控面板</title>
|
||||
<script src="./jquery-3.7.1.min.js?version=1762671468"></script>
|
||||
<link rel="stylesheet" href="./main.css?version=1762671468">
|
||||
<script src="./jquery-3.7.1.min.js?version=1764602141"></script>
|
||||
<link rel="stylesheet" href="./main.css?version=1764602141">
|
||||
<link rel="icon" href="./favicon.ico">
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
@@ -196,7 +196,7 @@
|
||||
Powered by XiaoMusic
|
||||
</div>
|
||||
|
||||
<script src="./md.js?version=1762671468">
|
||||
<script src="./md.js?version=1764602141">
|
||||
</script>
|
||||
</body>
|
||||
|
||||
|
||||
2
xiaomusic/static/default/m3u.html
vendored
2
xiaomusic/static/default/m3u.html
vendored
@@ -5,7 +5,7 @@
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>M3U to JSON Converter</title>
|
||||
<link rel="stylesheet" type="text/css" href="./main.css?version=1762671468">
|
||||
<link rel="stylesheet" type="text/css" href="./main.css?version=1764602141">
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z09NC1K7ZW"></script>
|
||||
|
||||
6
xiaomusic/static/default/setting.html
vendored
6
xiaomusic/static/default/setting.html
vendored
@@ -4,9 +4,9 @@
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>小爱音箱操控面板</title>
|
||||
<script src="./jquery-3.7.1.min.js?version=1762671468"></script>
|
||||
<script src="./setting.js?version=1762671468"></script>
|
||||
<link rel="stylesheet" type="text/css" href="./main.css?version=1762671468">
|
||||
<script src="./jquery-3.7.1.min.js?version=1764602141"></script>
|
||||
<script src="./setting.js?version=1764602141"></script>
|
||||
<link rel="stylesheet" type="text/css" href="./main.css?version=1764602141">
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z09NC1K7ZW"></script>
|
||||
|
||||
11
xiaomusic/static/default/setting.js
vendored
11
xiaomusic/static/default/setting.js
vendored
@@ -205,6 +205,9 @@ $(function () {
|
||||
$("#auto-hostname").on("click", () => {
|
||||
const protocol = window.location.protocol;
|
||||
const hostname = window.location.hostname;
|
||||
if (hostname == '127.0.0.1' || hostname == 'localhost') {
|
||||
alert("hostname 不能是 127.0.0.1 或者 localhost");
|
||||
}
|
||||
const baseUrl = `${protocol}//${hostname}`;
|
||||
console.log(baseUrl);
|
||||
$("#hostname").val(baseUrl);
|
||||
@@ -212,6 +215,14 @@ $(function () {
|
||||
|
||||
$("#auto-port").on("click", () => {
|
||||
const port = window.location.port;
|
||||
if (port == 0) {
|
||||
const protocol = window.location.protocol;
|
||||
if (protocol == 'https:') {
|
||||
port = 443;
|
||||
} else {
|
||||
port = 80;
|
||||
}
|
||||
}
|
||||
console.log(port);
|
||||
$("#public_port").val(port);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user