Для включения музыкального зала необходимо внести изменения в конфигурацию темы. Здесь можно указать свой плейлист, а остальные параметры можно настроить по своему усмотрению.
_config.solitude.yml
# примерно на 883-й строке
# --------------------------- start ---------------------------
# Music Page
# Музыкальный зал
music:
enable: true
# ID плейлиста / ID песни
id: 5144842535
# Сервис: netease / qq / xiami / kugou / baidu
server: netease
# Тип: playlist / song
type: playlist
# По умолчанию: 0.8
volume: 0.8
# Включить ли автоматическое воспроизведение
mutex: true
# Способ воспроизведения: list / random
order: list
# --------------------------- end ---------------------------
Обычное использование можно не менять, если API не работает, замените на самодельный или другой Meting API
_config.solitude.yml
# примерно на 584-й строке
# --------------------------- start ---------------------------
# Meting API
# This part of the content uses metingjs,
# can only use NetEase Cloud Music, QQ Music and other music platforms supported by the mainland China region,
# the subsequent consideration of the use of JSON files to store music information and customize the implementation of the third-party API does not depend on the page.
# Music Page
meting_api: "https://meting.qjqq.cn/?server=:server&type=:type&id=:id&auth=:auth&r=:r" # Custom API
# --------------------------- end ---------------------------