The app whmcsmarter is an android player that works only with xstream code server.
It uses the api for xstream code. reference : [login to view URL]
The whmcsmarters app calls the xstream code api with this function: [login to view URL]
What this those it gives a stream list in a json format. I need that php api to fetch a normal m3u list and convert it to a xstreamcode list. and send it to the whmcsmarter app and changing the ip or url to the host of that php.
Then onces the android app request a channel with the xstream code format [login to view URL]
We want to have a php doing a url redirect with the htaccess. Redirecting to another url [login to view URL]:p=password
So its 2 PHP script with an apache htacess.
Or any better suggestion.