• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to save stream url so it shows in the file explorer?

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 3 Posters 2.3k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      br_shadow
      last edited by

      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
      
      jonasJ 1 Reply Last reply
      Reply Quote 0
      • jonasJ
        jonas @br_shadow
        last edited by

        @br_shadow
        Chances are that it's not supported by gstreamer.

        Try: gst-discoverer-1.0 <URL>

        Does the stream play in other players, or the web browser?

        B 1 Reply Last reply
        Reply Quote 0
        • B
          br_shadow @jonas
          last edited by br_shadow

          @jonas

          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
          
          
          S 1 Reply Last reply
          Reply Quote 0
          • S
            silver-sun @br_shadow
            last edited by

            @br_shadow
            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.

            Good luck!

            B 1 Reply Last reply
            Reply Quote 0
            • B
              br_shadow @silver-sun
              last edited by

              @silver-sun That is smart! Solved my question. Thank you!

              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Powered by NodeBB | Contributors