forked from hanxi/xiaomusic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-example.json
More file actions
135 lines (135 loc) · 4.19 KB
/
config-example.json
File metadata and controls
135 lines (135 loc) · 4.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"account": "",
"password": "",
"mi_did": "",
"cookie": "",
"verbose": false,
"music_path": "music",
"temp_path": "music/tmp",
"download_path": "music/download",
"conf_path": "conf",
"cache_dir": "music/cache",
"hostname": "http://192.168.2.5",
"port": 8090,
"public_port": 58090,
"proxy": null,
"loudnorm": null,
"search_prefix": "bilisearch:",
"ffmpeg_location": "./ffmpeg/bin",
"get_duration_type": "ffprobe",
"active_cmd": "play,set_play_type_rnd,playlocal,play_music_list,play_music_list_index,stop_after_minute,stop,play_next,play_prev,set_play_type_one,set_play_type_all,set_play_type_sin,set_play_type_seq,gen_music_list,add_to_favorites,del_from_favorites,cmd_del_music,online_play,singer_play",
"exclude_dirs": "@eaDir,tmp",
"ignore_tag_dirs": "",
"music_path_depth": 10,
"disable_httpauth": true,
"httpauth_username": "",
"httpauth_password": "",
"music_list_url": "",
"music_list_json": "",
"custom_play_list_json": "",
"disable_download": false,
"key_word_dict": {
"下一首": "play_next",
"上一首": "play_prev",
"单曲循环": "set_play_type_one",
"全部循环": "set_play_type_all",
"随机播放": "set_play_type_rnd",
"单曲播放": "set_play_type_sin",
"顺序播放": "set_play_type_seq",
"分钟后关机": "stop_after_minute",
"刷新列表": "gen_music_list",
"加入收藏": "add_to_favorites",
"收藏歌曲": "add_to_favorites",
"取消收藏": "del_from_favorites",
"播放列表第": "play_music_list_index",
"删除歌曲": "cmd_del_music",
"播放本地歌曲": "playlocal",
"本地播放歌曲": "playlocal",
"播放歌曲": "play",
"放歌曲": "play",
"在线播放": "online_play",
"播放歌手": "singer_play",
"关机": "stop",
"暂停": "stop",
"停止": "stop",
"停止播放": "stop",
"播放列表": "play_music_list",
"播放歌单": "play_music_list",
"测试自定义口令": "exec#code1(\"hello\")",
"测试链接": "exec#httpget(\"https://github.com/hanxi/xiaomusic\")"
},
"key_match_order": [
"分钟后关机",
"下一首",
"上一首",
"单曲循环",
"全部循环",
"随机播放",
"单曲播放",
"顺序播放",
"关机",
"刷新列表",
"播放列表第",
"播放列表",
"加入收藏",
"收藏歌曲",
"取消收藏",
"删除歌曲",
"播放本地歌曲",
"本地播放歌曲",
"播放歌曲",
"放歌曲",
"在线播放",
"播放歌手",
"暂停",
"停止",
"停止播放",
"播放歌单",
"测试自定义口令",
"测试链接"
],
"use_music_api": false,
"use_music_audio_id": "1582971365183456177",
"use_music_id": "355454500",
"log_file": "xiaomusic.log.txt",
"fuzzy_match_cutoff": 0.6,
"enable_fuzzy_match": true,
"stop_tts_msg": "收到,再见",
"enable_config_example": true,
"keywords_playlocal": "播放本地歌曲,本地播放歌曲",
"keywords_play": "播放歌曲,放歌曲",
"keywords_online_play": "在线播放",
"keywords_singer_play": "播放歌手",
"keywords_stop": "关机,暂停,停止,停止播放",
"keywords_playlist": "播放列表,播放歌单",
"user_key_word_dict": {
"测试自定义口令": "exec#code1(\"hello\")",
"测试链接": "exec#httpget(\"https://github.com/hanxi/xiaomusic\")"
},
"enable_force_stop": false,
"devices": {},
"group_list": "",
"remove_id3tag": false,
"convert_to_mp3": false,
"delay_sec": 0,
"continue_play": false,
"enable_file_watch": false,
"file_watch_debounce": 10,
"pull_ask_sec": 1,
"enable_pull_ask": false,
"crontab_json": "",
"enable_yt_dlp_cookies": false,
"enable_save_tag": false,
"enable_analytics": true,
"get_ask_by_mina": false,
"play_type_one_tts_msg": "已经设置为单曲循环",
"play_type_all_tts_msg": "已经设置为全部循环",
"play_type_rnd_tts_msg": "已经设置为随机播放",
"play_type_sin_tts_msg": "已经设置为单曲播放",
"play_type_seq_tts_msg": "已经设置为顺序播放",
"recently_added_playlist_len": 50,
"enable_cmd_del_music": false,
"web_music_proxy": true,
"edge_tts_voice": "zh-CN-XiaoyiNeural",
"enable_auto_clean_temp": true
}