I'm pretty sure there's an official legal plutotv addon for pvr... I'm not home at the moment but I use it. I will say it's a little wonky and the streams needs restarted once and awhile.
https://kodi.tv/addons/matrix/pvr.plutotv/
As for more links, check out
https://kodi.wiki/view/Add-on:PVR_IPTV_Simple_Client
https://github.com/iptv-org/iptv#legal (seems legal)
I use to cut down the amount of channels as over 2k seems to crash Kodi for me: https://m3u4u.com/