Skip to content

Stoxis/ErsatzTV-Filler

 
 

Repository files navigation

ErsatzTV-Filler

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

ko-fi

Themes

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

Requirements

Linux operating system with ffmpeg, xsltproc, jq, xmltv-utils and curl installed.

Installation Instructions

Docker image available at:

https://hub.docker.com/r/liam2003/ersatztv-filler

Clone the latest version of the repo.

  1. git clone https://github.com/liam8888999/ErsatzTV-Filler.git

Move into the required folder.

  1. cd ErsatzTV-Filler

Allow the script to be executed

  1. chmod +x generator.sh

Copy the configuration sample

  1. 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.

  1. nano config.conf

For Channel currently offline Filler

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.

Update Instructions

Make sure your in the ErsatzTV-Filler directory and run the following command:

  1. git pull

Automatic updates are now supported by default

It is recommended to copy the configuration sample again in order to ensure all new variables are included

Follow step 4 and 5 above

Setting the script to run automatically

You may also want to add it as a cron job to run at your desired interval

Edit the crontab file - requires sudo password...

  1. sudo crontab -e

Append the following line to the bottom of the file to make it run every hour.

Make sure to replace the path with your local one!
  1. 0 * * * * /home/xxx/ErsatzTV-Filler/generator.sh

Docker

Build

docker build -t liam8888999/ersatztv-filler .

Run

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

About

filler for ErsatzTV channels

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 99.2%
  • Dockerfile 0.8%