Hi, there!
I see you are going to an Android application runs on Android TV Box with remote play list M3U format.
Surprisingly I've done a very similar project recently.
It plays videos on Android TV Box.
It refers to a url to fetch play list.(.m3u8)
If this is what you want, I can customize it with your requirements right now.
I'd love to discuss more on chat.
I look forward to our chat.
Best regards.
John David.