2 private links
A Flask API For https://github.com/gitbobobo/StreamMusic 二进制文件 上传至运行目录,./lrcapi --port 8080 --auth DbG91ZEZbBgNVBAs Python源文件 拉取本项目;或者下载后上传至运行目录,解压tar.gz 安装依赖:pip install -r requirements.txt 启动服务:python3 app.py --port 8080 --auth DbG91ZEZbBgNVBAs [...] 示例JSON {"path": "/path/to/your/audio/file.mp3", "title": "The Music", "artist": "The Artist", "album": "Greatest Hits", "genre": "Rock", "year": "2022", "track_number": "3", "disc_number": "1", "composer": "Talented Composer"} Python Demo import requests api_url = 'https://api.example.com/tag' auth_token = 'your_auth_token' json_data = {"path": "/path/to/your/audio/file.mp3", "title": "New Title", "artist": "Awesome Artist"} headers = {"Content-Type": "application/json", "Authentication": auth_token } response = requests.post(api_url, json=json_data, headers=headers) # 解析响应 if response.status_code == 200: print("Tags updated successfully.") else: print("Error:", response.text)