I register an http harbor that listens on a specific port for an http GET request that contains the metadata id like to update.
You can see a complete example of how this works here: https://www.dlnetworks.net/tools/how-to-liquidsoap/ Let me know if you have any questions. Cheers =] -Alex > On Jan 28, 2017, at 8:33 27PM, Jeff Garvas <[email protected]> wrote: > > > I have a relatively simple setup - Thanks DreamStreamKicker for the silence > advice: > > silence = blank(duration=1.) > stream = fallback([ request.queue(), silence]) > output.icecast(%mp3(stereo=false), > url="http://foobar.com", host="192.168.1.24", port = 8000, > user = "me", password = "hackme", mount = "/test", > stream) > > This is not a continuous music stream, but a stream of a scanner that > generates .mp3 files when there are transmissions. > > I've setup a socket so I can push mp3 files into the queue externally, and at > all other times the stream is silent by design. But now I'm challenged with > (and keep hitting dead ends) trying to figure out how to deal with the > metadata. I'm pretty confident that "StreamTitle" can be streamed in the > mp3 stream itself towards Icecast and doesn't need to use external HTTP. > When I'm streaming silence I want "StreamTitle" embedded in the mp3 stream to > be defined as "Scanning" > > However, each time I do a queue.push <path/to/file> I want to be able to > define the StreamTitle either manually via the socket, or by embedding the > text into the mp3 and if necessary re-writing it in liquidsoap. Does anyone > have a firm grasp on metadata that can point me in the right direction? > Everything I've tried either permanently sets the title (so it keeps saying > the name during silent periods) or I get stuck in a loop setting it to > "Scanning" and never override it on actual audio tracks. > > I've also not figured out how to get a value in the title to event appear. > I'm testing by pointing liquidsoap at a test icecast2 server and then > connecting to it with VLC but the end game is to point it at > broadcastify.com's streaming. > > Thanks! > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! > http://sdm.link/slashdot_______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
