feat: support xmltv trim flag (#68)

* feat: support xmltv trim flag

* fix: fix conditional
This commit is contained in:
taylorbourne
2021-10-30 21:09:34 -07:00
committed by GitHub
parent 22557a8d41
commit bddf03327c
5 changed files with 26 additions and 12 deletions

View File

@@ -15,6 +15,8 @@ echo "Running scripts..."
if [ "$use_lazystream" = "yes" ]; then
args=()
if [ "$trim_xmltv" = "yes" ]; then args+=("--trim"); fi
if [ ! -z ${quality} ]; then args+=("--quality" "$quality"); fi
if [ "$cdn" = "l3c" ]; then args+=("--cdn" "l3c"); fi