Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7724471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:41:52+00:00 2026-06-01T04:41:52+00:00

Has anyone come across a software that can dynamically stream an arbitrary source identified

  • 0

Has anyone come across a software that can dynamically stream an arbitrary source identified by an HTTP URL.

I am looking for a server based software that can expose a RESTful interface to take in the definition of the playlist and respond back with a stream URL, that would playback the playlist. The sound files in the playlist are located on a different system accessible via HTTP.

I did take a look at liquidsoap project, but couldnt figure out how to wrap that into a RESTful webservice.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T04:41:53+00:00Added an answer on June 1, 2026 at 4:41 am

    It would be quite a hassle to implement a RESTful server in liquidsoap. I would build the RESTful webservice in whatever “ordinary” web programming language, like PHP, and then let liquidsoap call the same service to get the tracks/files. In this example, a GET request to http://127.0.0.1/next should return one http url to a mp3/ogg/whatever.

    (Example code for liquidsoap version 1.0 – this example will not run on earlier 0.x-something versions)

    def autopilot() =
      def result()
        result =
          list.hd(
            get_process_lines('curl http://127.0.0.1/next')
          )
        request.create(result)
      end
      audio_to_stereo(request.dynamic(result))
    end
    
    radio =
      mksafe(
        autopilot()
      );
    
    output.icecast(%mp3(samplerate=44100, stereo=true, bitrate=128),
      host="127.0.0.1",
      port=8000,
      password="secretpassword",
      mount="radio.mp3",
      radio
    );
    

    In this example, you would need an icecast2 server to send the stream to.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anyone come across any good tools (preferably but not necessarily FOSS) that can
Has anyone come across any open-source projects that take RSS feeds and display then
I'm wondering if anyone has ever come across a plug-in for mootools that will
Has anyone come across a script / cl app written in any language that
Has anyone come across a Perl module that will parse (and write) kerberos configuration
Has anyone come across an SVN pre-commit hook that works with the following logic?
Has anyone come across the need to have a constraint that is only applied
Has anyone come across an effective way to mimic Webkit's -webkit-mask-box-image: url(filename.png) functionality? I'm
Has anyone come across an OS X menu bar app that when clicked, drops
Has anyone come across this issue before?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.