The best app to use on Android & Amazon FireTV is Perfect Player:
Install Perfect Player from the Playstore or from here http://niklabs.com/
Open Perfect Player
Open Perfect Player Settings Menu (cog icon)
Select General
Select Playlist 1
Enter this url
http://ourdns:port/get.php?username=xxxx&password=xxxx&type=m3u_plus&output=mpegts
Delete the xxxx after username= in the url at the top and enter your username ( CHECK FOR TYPOS )
Delete the xxxx after password= in the url and enter your password ( CHECK FOR TYPOS )
Give the playlist a name
Select OK
Select EPG 1
Enter this url
http://ourdns:port/xmltv.php?username=xxxx&password=xxxx
Delete the xxxx after username= in the url at the top and enter your username ( CHECK FOR TYPOS )
Delete the xxxx after password= in the url and enter your password ( CHECK FOR TYPOS )
Change download if no data on current date to Download once a day (drop down menu click on little triangle)
Select OK
Press Back Twice
Press the 3 line button on remote/c on keyboard/touch screen touch little square icon top left
Change Epg Show Epg to Epg Hide Epg
If all steps have been done correctly and there are no typos you should have a Channel List and EPG
If it doesn’t load a Channel List or EPG the corresponding url has a typo you have done it wrong.