Currently this script generates weather forecast, news and channel currently offline filler for ErsatzTV or similar programs.
Check back regularly for updates.
Discord chat: https://discord.gg/x4Nk4sfgSg
Donations are welcome: https://www.paypal.me/liam200333
ErsatzTV-Filler uses theme files to adjust the look of the ouput video files. These themes can be found at https://github.com/liam8888999/ErsatzTV-Filler-Themes
Linux operating system with ffmpeg, xsltproc, jq, xmltv-utils and curl installed.
https://hub.docker.com/r/liam2003/ersatztv-filler
git clone https://github.com/liam8888999/ErsatzTV-Filler.git
cd ErsatzTV-Filler
chmod +x generator.sh
cp sample-config.conf config.conf
Update the 'output', 'city', 'state' and other variables to your required locations, replace nano with your favorite text editor.
nano config.conf
for this to work you need to run the script once which will generate placeholder videos titled with the channel number you will need to add each of these to its own collection and schedule that collection during planned channel offline times.
Make sure your in the ErsatzTV-Filler directory and run the following command:
git pull
It is recommended to copy the configuration sample again in order to ensure all new variables are included
You may also want to add it as a cron job to run at your desired interval
sudo crontab -e
0 * * * * /home/xxx/ErsatzTV-Filler/generator.sh
docker build -t liam8888999/ersatztv-filler .
docker run --rm -it -v $(pwd):/config -v /media/audio/whatever:/audio -v /media/whatever:/output -v /media/audio/whatever:/tmp/ErsatzTV-Filler liam8888999/ersatztv-filler /config/config.conf
For more information on how to use this with ErsatzTV please visit https://ersatztv.org/user-guide/filler/
I am interested in making different kinds of filler so if you have any suggestions, bugs, improvements, etc. just open a issue and i will get back as soon as i can