QUOTE(YoungMan @ Jan 5 2019, 04:36 PM)
Hi all, are there ways to get direct streaming links for stations like BFM, LiteFm, etc that uses token link?
Even TuneIn app on Android and iOS doesn't work for those stations, and keep playing the loop asking to install official app. Reason is that I prefer to create my own playlist and play directly from media player on PC rather than using browser.
Thank you in advance for all the would be answer.
Well.....LiteFM kah? Sorry for the late reply, uncle is very busy recently.
You gonna need HTTP Live Streaming capable players such as VLC media player or MPC-HC
1) Open blank Firefox (don't ask me chrome)
2) Press F12, go to Console.
3) Paste
https://listen.lite.my/ at firefox address bar and press enter.
4) Notice the Console output.
5) Find the one with
CODE
https://astro1.rastream.com/lite.web.hls/playlist.m3u8?awparams=companionads:true;tags:radioactive;stationid:lite&playerid=Lite_web&authtoken=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&lan=["en"]&setLanguage=true
6) Expand and copy all of that Request URL.
Now, that XXXXXXXXXXXXXX is your token code stuff. The code only valid for few minute or few hour (I have no idea), quickly open up MPC-HC, press CTRL+O, paste entire
CODE
https://astro1.rastream.com/lite.web.hls/playlist.m3u8?awparams=companionads:true;tags:radioactive;stationid:lite&playerid=Lite_web&authtoken=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&lan=["en"]&setLanguage=true
to MPC-HC's Open section and click OK. Voila, now you can close the web version and use your own software player until you close it?
Any pro wanna create a script to extract the custom ( token code seem to based time, date and IP address that requesting the music service) token out?