That looks useful. What if a user doesn't follow the correct dir/file structure format? What advantage does this have over using a cronjob? Just wondering. :-)
Damien On 09/27/11 18:03, Peter Retep wrote: > Hi, > > I am trying to use the pulseaudio mix channel as input for liquidsoap. > > Do you know how I can find out the names of available pulseaudio devices? > I played around with the names I see at audacity but unfortunately I did not > succeed. > > e.g. the following line will not work, since 'mix' is not the right device > name. > > liquidsoap 'output.file(%mp3, "/tmp/test.mp3" ,input.pulseaudio(device="mix") > )' > > Background: > > As you might remember we always wanted to have some dynamic scheduler to > start a show (a single audio file) at a certain date & time. > I have written now a small scheduler which frequently scans all > subdirectories below a storage /mnt/storage/ where start date and time is > mapped to the path by convention. > e.g. if file /mnt/storage/2011/09/27/20-00/show.mp3 exists, show.mp3 will be > started at 2011-09-27T20:00:00. > Starting a file means starting a cvlc for playout. (At our studio we put the > playout audio directly on the sound mixer). > > Directories are automatically created from our program schedule, so user just > has to drop a file in the right folder. > To delete or move a show, user can still delete or move the file. > The scheduler takes care of file changes, even for shows that are in the past > (like a show is inserted to be started a half hour before now). > This works good for now and has a very small cpu and memory footprint. > > Now I would like to build a continous stream with help of liquidsoap to make > the scheduler useful for other people, too. > > Best regards, Peter > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
