Closed anoo2niem closed 1 year ago
Did you build a Docker container?
Did you build a Docker container?
No installed on debian container on proxmox host, ended up using cronjob & bash script to automate the refresh. Why?
Thought you might have a Docker file that I can use instead of me trying to start from scratch
To automate the updating? I can share the simple bash script & cron entries if u want
Thanks got that covered but if you can share worth seeimg how you set it up.
start_server.sh
#!/bin/bash
cd ~/epg
/usr/bin/npm run serve
update_epg.sh
cd ~/epg
SITE=ziggogo.tv /usr/bin/npm run grab
SITE=telenet.tv /usr/bin/npm run grab
now=$(/usr/bin/date)
/usr/bin/echo 'EPG updated on ' $now >> ~/epg.log
cron: (update each monday & thursday in my case at 03:00, epg config set to download 5 days)
@reboot /usr/bin/bash ~/start_server.sh
0 3 * * 1 /usr/bin/bash ~/update_epg.sh
0 3 * * 4 /usr/bin/bash ~/update_epg.sh
great so you went into the ziggogo.tv.conf and changed to days: 5 same with telenet.tv.conf
Yes
Description
Hi guys, i came across this project and i want to start using it to implement epg into my jellyfin iptv.
My goal is to run this on a container on my proxmox host, so it then can serve the epg xml into my jellyfin. I see u can adjust the amount of days in config.js, which is wonderful.
My question is, for explamle the default days is 2, do i have to manually (or cronjob) every 2 days to update the list? Or does it do this automatically?
Thanks!