File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -819,7 +819,7 @@ function MediaUnlockTest_Netflix() {
819819 echo -n -e " \r Netflix:\t\t\t\t${Font_Yellow} Originals Only${Font_Suffix} \n"
820820 return
821821 fi
822-
822+
823823 if [ -z " ${result1} " ] || [ -z " ${result2} " ]; then
824824 local region=$( echo " $tmpresult1 " | grep -o ' data-country="[A-Z]*"' | sed ' s/.*="\([A-Z]*\)"/\1/' | head -n1)
825825 echo -n -e " \r Netflix:\t\t\t\t${Font_Green} Yes (Region: ${region} )${Font_Suffix} \n"
@@ -2008,6 +2008,10 @@ function MediaUnlockTest_HotStar() {
20082008 echo -n -e " \r HotStar:\t\t\t\t${Font_Yellow} No (Discontinued in the US)${Font_Suffix} \n"
20092009 return
20102010 fi
2011+ if [ -z " $siteRegion " ]; then
2012+ echo -n -e " \r HotStar:\t\t\t\t${Font_Red} No${Font_Suffix} \n"
2013+ return
2014+ fi
20112015 if [ " $region " == " $siteRegion " ]; then
20122016 echo -n -e " \r HotStar:\t\t\t\t${Font_Green} Yes (Region: ${region} )${Font_Suffix} \n"
20132017 return
You can’t perform that action at this time.
0 commit comments