Jainja !
This commit is contained in:
		| @@ -14,22 +14,15 @@ | ||||
|     </limits> | ||||
| 
 | ||||
|     <authentication> | ||||
|         <!-- Sources log in with username 'source' --> | ||||
|         <source-password>hackme</source-password> | ||||
|         <!-- Relays log in with username 'relay' --> | ||||
|         <relay-password>hackme</relay-password> | ||||
| 
 | ||||
| 	<relay-user>bro</relay-user> | ||||
| 
 | ||||
|         <!-- Admin logs in with the username given below --> | ||||
|         <admin-user>admin</admin-user> | ||||
|         <admin-password>hackme</admin-password> | ||||
|         <admin-user>{{ admin_user }}</admin-user> | ||||
|         <admin-password>{{ admin_password }}</admin-password> | ||||
|     </authentication> | ||||
| 
 | ||||
|     <hostname>localhost</hostname> | ||||
|     <hostname>{{ hostname }}</hostname> | ||||
| 
 | ||||
|     <listen-socket> | ||||
|         <port>8000</port> | ||||
|         <port>{{ port }}</port> | ||||
|     </listen-socket> | ||||
|     <http-headers> | ||||
|         <header name="Access-Control-Allow-Origin" value="*" /> | ||||
| @@ -39,10 +32,10 @@ | ||||
|     <mount type="normal"> | ||||
|         <mount-name>/radio-bullshit.ogg</mount-name> | ||||
| 
 | ||||
|         <username>othersource</username> | ||||
|         <password>hackmemore</password> | ||||
|         <username>{{ source_username }}</username> | ||||
|         <password>{{ source_password }}</password> | ||||
| 
 | ||||
|         <max-listeners>1</max-listeners> | ||||
|         <max-listeners>{{ max_listeners }}</max-listeners> | ||||
|         <dump-file>/tmp/dump-example1.ogg</dump-file> | ||||
|         <burst-size>65536</burst-size> | ||||
|         <fallback-mount>/example2.ogg</fallback-mount> | ||||
| @@ -5,15 +5,15 @@ | ||||
|        <name>Radio Bullshit</name> | ||||
|        <genre>Bullshit</genre> | ||||
|        <description>J'ai une superbe opportunité de travail</description> | ||||
|        <url>localhost</url> | ||||
|        <url>{{ hostname }}</url> | ||||
|      </metadata> | ||||
|      <input> | ||||
|        <param name="type">script</param> | ||||
|        <param name="program">next_song.py</param> | ||||
|      </input> | ||||
|      <instance> | ||||
|        <username>othersource</username> | ||||
|        <password>hackmemore</password> | ||||
|        <username>{{ source_username }}</username> | ||||
|        <password>{{ source_password }}</password> | ||||
|        <mount>/radio-bullshit.ogg</mount> | ||||
|      </instance> | ||||
|    </stream> | ||||
		Reference in New Issue
	
	Block a user