You probably get the ratings from https://www.themoviedb.org/ not from imdb
I would suggest using IPTV for live tv and use a different program (kodi/plex/etc) that is tailored for prior aired movie/tv shows. These programs will give tons of sorting options and MUCH better quality.
Since around 2017 when Xtream Codes developers changed from IMDB to TMDB, since all major IPTV cms softwares are running on XC core, they use TMDB. Far as I know IMDB blocks the repetitive queries over API and thus IPTV cms cant use it.
Where or how can I apply an imdb rating?
I use smarters Pro full on shield.