How to save stream url so it shows in the file explorer?
Hi, I have a stream url that I would like to save as a file, so that Strawberry can view it from its file explorer and I can just double-click to listen to it. However, I tried saving it as '.url' but it is not shown in the explorer, I think because Strawberry only accepts music files. When I tried saving the link as '.mp3' it shows in the explorer, and I am able to add it to the playlist, but when I try to play it it gives me the following error:
Could not determine type of stream. ../gstreamer/subprojects/gstreamer/plugins/elements/gsttypefindelement.c(1186): gst_type_find_element_loop (): /GstPlayBin3:pipeline-13-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin51/GstTypeFindElement:typefindelement56
jonas last edited by
Chances are that it's not supported by gstreamer.
Does the stream play in other players, or the web browser?
The stream is supported by Strawberry. I can play if I enter the URL. But I don't know how to make a file to make it discoverable in the in-built file explorer of Strawberry that only sees audio files.
gst-discoverer-1.0 http://live-radio01.mediahubaustralia.com/6FMW/mp3/ Analyzing http://live-radio01.mediahubaustralia.com/6FMW/mp3/ Done discovering http://live-radio01.mediahubaustralia.com/6FMW/mp3/ Properties: Duration: 99:99:99.999999999 Seekable: no Live: no unknown #0: ICY internet radio audio #1: MPEG-1 Layer 3 (MP3) Stream ID: db92c8346abf94ee043a27139bd685df9c148b042368ba2b080890140266f8f4 Language: <unknown> Channels: 2 (front-left, front-right) Sample rate: 44100 Depth: 16 Bitrate: 96000 Max bitrate: 0
Try saving the stream as a playlist.
-- Make a new playlist.
-- Open the stream URL in the new playlist and test it to see if it plays. Sounds like you have already done this.
-- Save the playlist. In the "Save playlist" dialog you can choose to save it as a XSPF file. You can also name the playlist whatever you want. Navigate to the location you wish to save the file and click "Save".
-- Now you will be able to use Strawberry's "file explorer" to find the playlist file and open it from there.
-- To have the stream play by double clicking, make sure you have it set to do that in Settings > Behavior > Double clicking a song will...
I tested your stream with the above method and everything worked.
I actually have created a playlist with several of my favorite radio stations, which I leave open in a playlist tab. Gets the job done.
I am on Linux, but I would imagine the same principles would apply to any OS.
@silver-sun That is smart! Solved my question. Thank you!