This repository has been archived by the owner on Apr 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
station.json
103 lines (96 loc) · 3 KB
/
station.json
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
{
"station": {
"name": "Demo",
"description": "Demo station",
"url": "http://example.com/",
"genre": "Rock",
"public": true,
"notice": [],
"metadata": true,
"metaint": 8192,
"format": "mp3",
"bitrate": 128,
"samplerate": 44100,
"channels": 2,
"headers": [
"X-Accel-Buffering: no",
"Content-Type: audio/mpeg",
"Content-Type: text/plain",
"Cache-Control: no-cache",
"Pragma: no-cache",
"Expires: Mon, 26 Jul 1997 05:00:00 GMT",
"Connection: Keep-Alive"
]
},
"graph": {
"type": "player",
"backend": "ffmpeg",
"playlist": ["random", "plain"],
"metadata": ["backend", "filename", "defaults"],
"sink": "client"
},
"filters": {
"backend": {
"ffmpeg": {
"command": "ffmpeg -loglevel info -threads 1 -i {{filename}} -map a -ab {{bitrate}}k -ar {{samplerate}} -ac {{channels}} -f {{format}} -map_metadata -2 -y -"
},
"avconv": {
"command": "avconv -loglevel info -threads 1 -i {{filename}} -map a -ab {{bitrate}}k -ar {{samplerate}} -ac {{channels}} -f {{format}} -map_metadata -2 -y -"
},
"sox": {
"command": "sox -q --single-threaded {{filename}} -C {{bitrate}} -r {{samplerate}} -c {{channels}} --comment \"\" -t {{format}} -",
"metadata": "sox -i {{filename}}"
},
"external": {
"command": "cat {{filename}}"
}
},
"playlist": {
"plain": {
"items": [
{
"loader": "inline",
"enabled": false,
"items": [
"/media/spirit/DATA/Torrents/Blutengel/Blutengel - Discography/Albums/2015 - Omen/CD3 - Dark & Pure Vol. 2/3.04. Wir Sind Was Wir Sind (Acoustic Version).mp3",
"/media/spirit/DATA/Torrents/Blutengel/Blutengel - Discography/Albums/2009 - Soultaker/CD1 - Soultaker/1.05. Engelsblut (Fallen Angel Remix).mp3",
"/media/spirit/DATA/Torrents/Blutengel/Blutengel - Discography/Singles & EPs/2013 - Kinder Dieser Stadt/01. Kinder Dieser Stadt.mp3",
"/media/spirit/DATA/Torrents/Blutengel/Blutengel - Discography/Singles & EPs/2011 - Uber Den Horizont/05. Uber Den Horizont (Piano Version).mp3"
]
},
{
"loader": "json",
"enabled": false,
"filename": "./playlist.json"
},
{
"loader": "m3u",
"enabled": true,
"filename": "/home/spirit/Desktop/Blutengel_Favorite.m3u"
},
{
"loader": "path",
"enabled": false,
"path": ["/media/spirit/DATA/Torrents/Blutengel/Blutengel - Discography/Albums/"],
"pattern": ["*.mp3"],
"recursive": true
}
]
}
},
"sink": {
"client": {
"speed_limit": 150000
},
"file": {
"filename": "./output.mp3"
}
},
"metadata": {
"defaults": {
"artist": "Unknown artist",
"title": "Unknown track"
}
}
}
}