Hi Taras! 2013/1/19 Тарас Артюшенко <[email protected]>: > Hello again ) > It is possible to dynamicly create totally custom output (not defined > previously like out = output.icecast(%ogg ...) ? > I'm creating some gui and trying to add on the fly encoder with custom > parameters server (icecast or shoutcast or harbor ), encoder (mp3, ogg, > flac, aac+) etc. > Do i need to define this all in script or i can define this parameters via > telnet?
It is definitely possible. Dynamic sources has some limitations tho, un particular it is not easy to change a source currently being streamed. However, if what you want is either to create both source -----> output or to plug a new output to an existing source, then that should be possible. In order to have a telnet command to achieve this, you will need to write the corresponding handler in your liquidsoap script. There is quite convoluted example here: http://liquidsoap.fm/doc-svn/dynamic_sources.html It was written long time ago and it's not the most simple piece of code you could show on this topic. I'll try to rewrite this soon but I hope you'll get the idea. For a more detailed example, you can have a look at the robinet-lq project, which aims at providing several dynamic output for liquidsoap controlled through python: http://robinet-lq.svn.sourceforge.net/viewvc/robinet-lq/ Good luck! Romain ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912 _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
