http://OWN-DNS/get.php?username=XXX&password=XXX&type=m3u_plus&output=ts
(Simply replace your “OWN-DNS” and the “XXX” with your m3u username and password)
Then your EPG link looks like this, based on above m3u link:
http://OWN-DNS/xmltv.php?username=XXX&password=XXX
(Simply replace “get” with “xmltv” and remove the text behind the password)