PHP Get Radio Stream Type Version

Live Audio Streaming, Internet Radio Player Shoutcast1 Stream: http://shoutcast-server:port/;audio.mp3 Shoutcast2 Stream: http://shoutcast-server:port/streamname;audio.mp3 Icecast2 Stream: http://icecast-server:port/streamname Shoutcast server stream need “;” OR “;audio.mp3” at end of stream URL, so change accordingly   <?php function radioStreamType($stream) { $pp = parse_url($stream); $type = strstr($pp[‘path’], ‘;audio.mp3’); if($type==’;audio.mp3′) { if($pp[‘path’]==”/;audio.mp3″ || $pp[‘path’]==”;audio.mp3″) return “shoutcast1”; return “shoutcast2”; } else { return … Read more

Radio Stream Playlist

  HTML5 MP3 Player with Playlist Windows Playlist: playlist.asx <asx version = “3.0”> <Title>Radio Title</Title> <Author>https://www.svnlabs.com</Author> <Copyright>SVN Labs</Copyright> <PARAM name=”HTMLView” value=”https://www.svnlabs.com” /> <MoreInfo href=”https://www.svnlabs.com” /> <entry> <ref href=”http://stream-ip:port/stream” /> <Title>Radio Title</Title> <Author>https://www.svnlabs.com</Author> </entry> </asx>   Quicktime Playlist: playlist.qtl <?xmlversion=”1.0″?> <?quicktime type=”application/x-quicktime-media-link”?> <embed src=”icy://stream-ip:port/stream” autoplay=”true” />   Winamp Playlist: playlist.pls numberofentries=1 File1=http://stream-ip:port/stream Title1=Radio Title Length1=-1 version=2 … Read more