Along with others, I notice Iheart no longer works - seems they have
removed the AKAMI feeds?
Previously, although not supported, there was a page where all the
streaming URL's were and it is these streams that have been pulled.
So I went onto the web and opened up Iheart, and of course you can
stream to your browser.  A bit more digging, and the streams appear to
be in HLS format, which LMS supports with the right plugin.  So can
someone explain how to extract the stream url when plating in a
browser.

The link to iheart z100 is this 
https://www.iheart.com/live/z100-1469/

This actually just brings up the web page, and to see what is happening
you need to right click, and select inspect (using Chrome).
If you select the 'NETWORK' tab then you see (I presume) what is
happening between the browser and Iheart.
I then tried to press 'play' (and then stop) to see if I could get the
stream info.
It seems they use JWPLAYER

https://ssl.p.jwpcdn.com/player/v/7.12.8/provider.hlsjs.js

It seems to then load thie following (I do not have an iheart id and do
not log in so none of the attached is specific to me)

Request
URL:https://c5.prod.playlists.ihrhls.com/1469/playlist.m3u8?at=0&clientType=web&fb_broadcast=0&init_id=8169&modTime=1512069369379&pname=OrganicWeb&profileid=447113446&birthYear=null&territory=US&host=webapp.US&listenerId=1511874206743_99956&uid=1511874206277&age=null&gender=null&amsparams=playerid%3AiHeartRadioWebPlayer%3Bskey%3A1512069369&terminalid=159&awparams=g%3Anull%3Bn%3Anull%3BcompanionAds%3Atrue&playedFrom=324&devicename=web-desktop

Request Method:GET
Status Code:200 OK
Remote Address:52.72.174.216:443
Referrer Policy:no-referrer-when-downgrade

RESPONSE HEADERS
view source
Accept-Ranges:bytes
Access-Control-Allow-Credentials:true
Access-Control-Allow-Origin:https://www.iheart.com
Cache-Control:no-cache
Content-Length:596
Content-Type:application/vnd.apple.mpegurl
Expires:Mon, 26 Jul 1997 05:00:00 GMT
Instance-id:c4582eb25f0bf69c5d7bb4ff0e0438ef
Pragma:no-cache
Server:iHM AIS Streaming Server 7.7.8
Set-Cookie:ListenerInfo=reset; Path=/;
Domain=c5.prod.playlists.ihrhls.com; Expires=Thu, 30 Nov 2017 18:28:06
GMT

REQUEST HEADERS
view source
Accept:*/*
Accept-Encoding:gzip, deflate, br
Accept-Language:en-US,en;q=0.9
Connection:keep-alive
Host:c5.prod.playlists.ihrhls.com
Origin:https://www.iheart.com
Referer:https://www.iheart.com/live/z100-1469/
User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36

QUERY STRING PARAMETERS
view source
view URL encoded
at:0
clientType:web
fb_broadcast:0
init_id:8169
modTime:1512069369379
pname:OrganicWeb
profileid:447113446
birthYear:null
territory:US
host:webapp.US
listenerId:1511874206743_99956
uid:1511874206277
age:null
gender:null
amsparams:playerid:iHeartRadioWebPlayer;skey:1512069369
terminalid:159
awparams:g:null;n:null;companionAds:true
playedFrom:324
devicename:web-desktop


I tried popping the above url into LMS on the off-chance - it kinda gets
there, and indicates starting to play an HLS stream, but then fails
after 4 seconds.  
Any smart people out there who can explain if this is crackable?  i
would have thought that the URl with the right parameters for a radio
instead of a web-desktop player would work?  If UE works, I would have
thought LMS can also..


------------------------------------------------------------------------
yeomanspc's Profile: http://forums.slimdevices.com/member.php?userid=249
View this thread: http://forums.slimdevices.com/showthread.php?t=78911

_______________________________________________
Radio mailing list
Radio@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/radio

Reply via email to