歌曲管理
批量设置电台播放模式
Changed on按 ID 列表批量设置电台播放模式。radio_mode 支持空字符串(自动)、hls、flv、audio_only;is_video 省略时保留各电台原值,仅音频模式始终清除视频内容。不存在的 ID 静默跳过,非电台歌曲或无效模式会拒绝整批更新。
post/songs/batch-radio-mode
Request
- Base URLhttps://localhost:58091/api/v1
- AuthAPI key in header Authorization
Request body
Example request
{
"ids": [
1
],
"is_video": true,
"radio_mode": "hls"
}Response
更新成功
Example response
{
"updated": 2
}Changes
- info
endpoint added
- info