From a9b4198f9343e8f8af306a8f645397f09076d290 Mon Sep 17 00:00:00 2001 From: klmp200 Date: Fri, 11 Jun 2021 17:33:42 +0200 Subject: [PATCH] Jainja ! --- icecast.xml => icecast.xml.jinja | 21 +++++++-------------- ices.xml => ices.xml.jinja | 6 +++--- 2 files changed, 10 insertions(+), 17 deletions(-) rename icecast.xml => icecast.xml.jinja (80%) rename ices.xml => ices.xml.jinja (76%) diff --git a/icecast.xml b/icecast.xml.jinja similarity index 80% rename from icecast.xml rename to icecast.xml.jinja index 9495909..765b7d3 100644 --- a/icecast.xml +++ b/icecast.xml.jinja @@ -14,22 +14,15 @@ - - hackme - - hackme - - bro - - admin - hackme + {{ admin_user }} + {{ admin_password }} - localhost + {{ hostname }} - 8000 + {{ port }}
@@ -39,10 +32,10 @@ /radio-bullshit.ogg - othersource - hackmemore + {{ source_username }} + {{ source_password }} - 1 + {{ max_listeners }} /tmp/dump-example1.ogg 65536 /example2.ogg diff --git a/ices.xml b/ices.xml.jinja similarity index 76% rename from ices.xml rename to ices.xml.jinja index 0c8e6b6..955bf13 100644 --- a/ices.xml +++ b/ices.xml.jinja @@ -5,15 +5,15 @@ Radio Bullshit Bullshit J'ai une superbe opportunité de travail - localhost + {{ hostname }} script next_song.py - othersource - hackmemore + {{ source_username }} + {{ source_password }} /radio-bullshit.ogg