Help using Directv with Kodi

Hello.
I have searched everywhere and have been unable to find an answer. I have a Raspberry pi 3 model b. Im running newest version of Kodi on it.I have access to a legit paid Directv account. If I go to Directv website i can watch shows there no problem. I am trying to find out if there is anyway i can add maybe the url that i watch Directv with on my desktop, to Kodi so i can watch the shows in my bedroom on my Raspberry pi. If this is not possible, maybe some help with another pvr. I set up the easy pvr and downloaded an m3u playlist, pu tit on a flash drive and pu tin my Raspberry pi. It loaded all the channels but im not getting any picture or sound. Is this because its a Raspberry pi? I am having the hardest time getting the tv function to work.