You can fix this by putting the duplicate channels stream links under one channel ID name starting with the best quality link, for example   #EXTINF:-1,  AMC  http://iptvserver4k:80/54776/hrthrfdf/10243 http://iptvserverUHD:80/54776/hrthrfdf/10243 http://iptvserver2HD:80/54776/hrthrfdf/10243 http://iptvserver3SD:80/54776/hrthrfdf/10243 #EXTINF:-1, ANIMAL PLANET http://iptvserverUHD:80/54776/hrthrfdf/10243 http://iptvserver2HD:80/54776/hrthrfdf/10243 http://iptvserver