summaryrefslogtreecommitdiff
path: root/iptv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'iptv.sh')
-rwxr-xr-xiptv.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/iptv.sh b/iptv.sh
index 400bed3..c768ebc 100755
--- a/iptv.sh
+++ b/iptv.sh
@@ -70,9 +70,10 @@ ensure_openssl_is_installed () {
}
categorize_by_channel_name () {
+ local name="${1^^}"
result="720P"
- case "$1" in
+ case "$name" in
*4K*) result="4K" ;;
*"超清"*|*"高清"*) result="1080P" ;;
esac