fe80Grau / ytdlp2STRM

A little script to serve Youtube / Twitch / Crunchyroll videos without storage it. Uses yt-dlp HTTP data throught Flask and dynamic URLs. We can use this dynamic URLs to set STRM files.
https://github.com/fe80Grau/ytdlp2STRM
MIT License
228 stars 21 forks source link

Add timezone field to configure in cron #39

Closed Sarin-jacob closed 7 months ago

Sarin-jacob commented 8 months ago

I have used the docker method and configured the channels and configs. But when i went into the output directory(bind to /media) there were no files. So I added a cron job to run it for the first time. After trying a few more times. I ran the cli.py from the container, this time the strm files were properly created. I had tried to look for cron logs but couldn't find it. Can u tell me how to switch the logging to debug? Should i edit the main.py? Thanks in advance..

Sarin-jacob commented 8 months ago

I think its fixed now.. I had restarted the container once.. And the job seem to start(as shown in logs) 10 mins after the specied time. Is there anyway to change the time zone?

fe80Grau commented 7 months ago

Added, pull the last commit and updated ./config/crons.json file with time zone (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If you still the time zone to blank, it gets the machine's default time zone