-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Sat, 5 May 2012 16:24:55 -0500 Romain Beauxis <[email protected]> wrote: > > Sorry for the late response... >
No worries... Thanks for a response! > > This should go easy. You can add id3v2 tags to mp3 encoded files since... > > This should work fine. I discovered a minor bug recently with id3v2... > The files will be flac or vorbis, so the id3v2 issue should not be a problem. > You can also name the resulting files according to tags: > output.file( %mp3(id3v2=true), reopen_of_metadata=true, (.. other > parameters ..), "/path/to/directory/$(title) - $(artist).mp3", source) > This will create a new file each time new metadata are seen and use > title and artist metadata to name that file. It is also possible to > use time markers for the title, for instance: > output.file( %mp3(id3v2=true), reopen_of_metadata=true, (.. other > parameters ..), "/path/to/directory/$(title) - $(artist) - %m-%d-%Y, > %H:%M:%S.mp3", source) > Didn't know this one... That's great! > > As for scheduling archiving. there are many, many solutions but I'd > like to ask a very simple question before diving into more complex > one: > Since archiving is done on the server that outputs content from the > studio, could you just use output.file on this source? > output.file is what we use now for the hourly based files and is what I had planned to use. What I have not been able to figure out is how to get it to open new files at the appropriate times, and not write files at all during syndicated content. The syndicated content comes through the studio consoles along with the rest of the audio content. > Something like: > > live = (.. live source definition ..) > > # Save stream, splitting into files according to metadata: > output.file( %mp3(id3v2=true), reopen_of_metadata=true, > faillible=true, > (.. other parameters ..), > "/path/to/directory/$(title) - $(artist) - %m-%d-%Y, > %H:%M:%S.mp3", > live) > > (... Do something else with live.. ) > > This way, output.file would stop when the live source stops and start > when it starts. It would also reopen a new archive file when new > metadata are passed and use those metadata and the current time to > name the file. Thus, if there are new metadata passed only at the > beginning of each show, for instance "My awesome show on Radio Cool" > followed by "The sunday news show on Radio Cool" then it would create > an archive for each show.. > So do I pass the metadata using the telnet/socket interface? I haven't played with this feature yet. In my liq script I would use $artist, $title, and $date etc. in the output.file section, and then pass: artist.insert key1="Name of Artist" using the telnet interface, yes? If that is the case I can create a shell script that passes the data... As I said, all of the audio is coming in through the analog alsa device so there is not yet a metadata source. Then the question is how do I not write out a file during syndicated content? I like the idea of using the metadata in this way as I can then pass the show title, etc. to the icecast servers in the output.icecast sections. That could even get the metadata to the FM transmitter for RBDS! Thanks again for the help, Todd -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCgAGBQJPqSevAAoJEIysJ0Fz/F9+gPUP/0FgtP4N0Fi8aGa3OsoyNsIv BFQ7xW367QDyQcmwblTFk3OT7wg0Hj+5HvJalfpTyENoSZmKaMZF9sbseY/DaOhI VF2U7Q9j5LyNRdKidosJkvNY6yN78FGqDkz90tNPGAk0g7LF1pXuk3eGEDAf3wS8 TVujnZwvQjIMccsQsQl/J5mUTFAPFhyIvi/zd8WbF8/ctNbaLo0DjaNT5uuKUUpY k1enh/SXE6d1RsEb+hKZwuZTPzbEwlK0+6mafYNfKfQ+/4HAXbL9MDYygIcHnXqk yKhQlNZSQ5gFXQMbY7648lJ/DSNKaMjtinQs2wyhiziezBzj1fOCJjXjHNyyzUBI ZXXzAwy0YRZ34Matrf0zgtvyNCjtqGJ5QycC8hZBSFg23aNZv0RbG0hgiXYR+MIM 2v73V4m2qwQDUITBDKvip+he7L67eOcC/I2QBF67JeJkZwPRdQs+zVJ5lun/xTTu WYT3gMUAOLs4rxdmrz4eshNovGkHP+HRoBnqtQ/XaMWhGMbXBSnAoPxw+wHtwHZa rw3p2HAPVllV/eEoB3oIdDe5ycPUHnDy5KxTktP1WcuyYCw3ILc04xfj8AY/2+Gb /txQgmgQLzTbeQV1rIDUAON2ERTbeQReLDb+gwTwyQXCOH3tRpnN6uA/KS0QwXjG tCIUFu3Yww//Riel1Ki6 =XTrZ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
