Initial upload

This commit is contained in:
2024-11-30 15:14:13 -07:00
parent 3875651b0e
commit 5597843630
119 changed files with 1222 additions and 1 deletions

25
download.sh Normal file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
DATE=$(date '+%m-%d-%Y %H:%M:%S')
# #
# Run Download
# #
echo -e
echo -e " Start : Downloading latest ${FILE_NAME} m3u + xml"
# Download .xml
wget -q -O /config/www/${FILE_NAME}.xml ${URL_XML}
echo -e " Getting ${FILE_NAME}.xml ${URL_XML}"
# Download .xml.gz
wget -q -O /config/www/${FILE_NAME}.xml.gz ${URL_XML_GZ}
echo -e " Getting ${FILE_NAME}.xml.gz ${URL_XML_GZ}"
# Download .m3u8
wget -q -O /config/www/${FILE_NAME}.m3u8 ${URL_M3U}
echo -e " Getting ${FILE_NAME}.m3u8 ${URL_M3U}"
echo -e " End : Finished update at ${DATE}"