#!/bin/bash
 
#vars

#The channel bug that displays while the channel is playing episodes
buglocation="/media/zella/anime/aaeachannelbug.png"
#The playlist location
playlist="/media/zella/anime/playlist.m3u"
#the python script location
pyscript="/media/zella/anime/fakeTV.py"
 
while(true); do

python $pyscript

clear
DISPLAY=:0 cvlc -q --fullscreen --play-and-exit --sub-source logo --logo-position 10 --logo-opacity=128 --logo-file $buglocation --no-osd $playlist 2> /dev/null

done