Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Audio stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=5)
-   -  

Need help to get audio url of this radio station

(http://stream-recorder.com/forum/showthread.php?t=23769)

jimdays 11-19-2017 04:05 PM

Need help to get audio url of this radio station


 
I often listen to wsmc
https://wsmc.streamon.fm/
I used to be able to click this m3u8 text file:
http://wsmc.streamon.fm:8000/WSMC-32k.aac
and vlc would immediately play the stream, but starting yesterday, that stopped working.
Of course, I can still go to
https://wsmc.streamon.fm/
and press the arrow on the website to listen, but it is much better if I can just click on a m3u8 (or pls, xspf, etc) file and get vlc to start the stream.
I used Goggle Chrome network analyzer when playing the web stream, but couldn't find anything that would work to play in vlc.
Any help I would appreciate.

j_cool 04-05-2018 05:05 PM

Re: Need help to get audio url of this radio station


 
I find different m3u8 url than yours:

Code:

https://wsmc.streamon.fm/hls/WSMC.m3u8?version=3&_r=1a49lngufke
WSMC.m3u8 :

Code:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=32000
https://wsmc.streamon.fm/hls/stream/WSMC-32k.aac.m3u8?uid=a3ec4zsyf4&starttime=1522968360&version=3

None of those play with my vlc-3.0.1-win32, and both of those play with:

mpv-i686-20180331-git-e3e2c79 or ffmpeg-latest-win32-static (ffplay).

WSMC.m3u8 file lasts for one song only, WSMC.m3u8 url lasts longer.

j_cool 04-07-2018 01:15 AM

Re: Need help to get audio url of this radio station


 
If you want to play this stream with VLC, you can create a batch file and double click on it
the same as you do with .m3u8 file.

Code:


C:\>streamlink.exe --http-header "User-Agent=Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0" --http-no-ssl-verify hlsvariant://"https://wsmc.streamon.fm/hls/WSMC.m3u8?version=3&_r=1a49lngufke" best
[cli][info] Found matching plugin hls for URL hlsvariant://https://wsmc.streamon.fm/hls/WSMC.m3u8?version=3&_r=1a49lngufke
[cli][info] Available streams: 32k (worst, best)
[cli][info] Opening stream: 32k (hls)
[stream.hls][error] Failed to open segment 1: Unable to open URL: https://wsmc.streamon.fm/hls/stream/streamon-perm/WSMC-32k-93943452.937597-93943453.aac (403 Client Error: Forbidden for url: https://wsmc.streamon.fm/hls/stream/streamon-perm/WSMC-32k-93943452.937597-93943453.aac)
[cli][info] Starting player: C:\P\VLC\vlc.exe

Plays dispite "Forbidden" error message.


All times are GMT -6. The time now is 08:21 AM.