Hello Jeff,

On Tue, Mar 21, 2017 at 8:11 PM Jeff Garvas <[email protected]> wrote:

> Bill,
>
> Yep - I knew about that and its how I'm connecting to them but thanks for
> reminding me about this because i was starting to wonder if the
> StreamTitle= i saw in a packet capture was Shoutcast and I forgot this
> example was out there confirming they're icecast.   The thing that example
> never solved for was putting titles into the stream.
>
> The difference is also I'm not sourcing audio from a physical scanner.
> I'm using USB dongles (RTL-SDR) to capture digital radio off an antenna via
> USB, track the data channel to determine where each digital talk-group will
> appear on any number of voice radio frequencies, capture that specific
> transmission, and write it to a .wav file   (it's pretty darn impressive
> how well it works).
>

Right. I posted the example code to give others an idea of how you were
streaming even though the way you're feeding the stream differs.

>
> Since the output is .wav I'm converting them to .mp3 with lame, where I
> can easily inject the alpha tag of the transmission into the ID.   The
> problem with the example you found is his solution isn't doing alpha
> tagging.  His stream doesn't include names.
>

Right.

>
> Alpha tagging (in broadcastify terms) is when you take the name of a given
> scanner channel and display it during the stream just like a song title,
> but instead of a song title its the channel name to give the listener
> context to what they're hearing.   So say one moment it may be "Police Disp
> 1" but maybe 10 seconds later its the "Fire Disp 1" - the more elaborate
> solutions sneak the word "Scanning" in when there is nothing playing.
>

That should be doable. Have you seen the page
http://liquidsoap.fm/doc-1.2.1/metadata.html? The rewrite_metadata()
function supports conditional logic so you could insert "Scanning" when the
title is blank. Also note at the end of that page, there are a couple of
ways metadata is being sent externally to liquidsoap.

However, given that you are setting the ID3 title tag for each mp3 with the
Alpha tag, the following might work:

artist = 'Twinsburg, Hudson and Reminderville Police, Fire / EMS'
title = '$(if $(title),"$(artist) - $(title)","$(artist) - Scanning")'
radio = rewrite_metadata([("title", title)], radio)
output.icecast(%mp3(...), ..., radio)

There may be a better way to do the above but hopefully, this will help.

-Bill


> Jeff
>
> On Tue, Mar 21, 2017 at 7:27 PM, Bill Burton <[email protected]> wrote:
>
> Hello Jeff,
>
> I was able to locate the Broadcastify documentation for Alternative
> Broadcasting Software and Clients at
> https://broadcastify.zendesk.com/hc/en-us/articles/204740015-Alternative-Broadcasting-Software-and-Clients
>  and
> the liquidsoap integration instructions at
> http://wiki.radioreference.com/index.php/Liquidsoap.
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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

Reply via email to