Added fix for taking advantage of the daily time blocks in the xml - i.e. <saturdays> or <mondays>

This commit is contained in:
Justin Emter
2017-08-28 11:16:08 -07:00
parent 1527ba6147
commit 0e5949ec7f
2 changed files with 14 additions and 75 deletions

View File

@@ -76,7 +76,7 @@ if [ "${#CHANNEL_DIR_ARR[@]}" -gt 1 ]; then
NEXT_CHANNEL_NUM=$i
if [[ ${i} == *"$PREV_CHANNEL"* ]]; then
echo "+++++ Found previous channel, decreasing by 1."
echo "+++++ Found previous channel, incrementing by 1."
PREV_CHANNEL_FOUND=true
PREV_CHANNEL_DIR=${CHANNEL_DIR_ARR[i-1]}
continue