Jump to content

SAM does not send Title Streaming (Caption Template) with V2


JohnnyBeGood
 Share

Recommended Posts

Hi all,

 

With ShoutCast DNAS v1 linux server when I would add text in the encoder next to $combine$

https://www.dropbox.com/s/6shs6w1oxaccscd/encoder.JPG?dl=0

it would get outputted to the server and displayed on the ShoutCast server as:

Artist Name - Song DJ JOHNNY

 

Now with ShoutCast v2 (SHOUTcast Sever v2.4.7.256) it does not display that text after $combine$ only artist name and song. Does anyone knows how to fix it? because I'm using it to display DJ name on the website html5 player. Same is displayed on Shoutcast server web interface so the issue is not with the player

I'm using it with Centova Cast v3.2.7 if it matters.

 

Thanks

Link to comment
Share on other sites

Have you tried quotes around the text? "DJ JOHNNY" If that fails you could always override the $combine$ with PAL.

{ PAL Script created by DJCassio 12/28/2016}
{==================================================}
Pal.Loop := true;

var Song : TSongInfo;
var I : Integer;

Pal.lockExecution;
Song := TSongInfo.Create;
Song['artist'] := ActivePlayer.GetSongInfo['artist'] + ' - ' + ActivePlayer.GetSongInfo['title'];
Song['title'] := 'DJ JOHNNY';
for I := 0 to Encoders.Count-1 do
 Encoders[i].SongChange(Song);
Pal.UnLockExecution;

Song.Free;
PAL.WaitForPlayCount(1);

  • Thanks 1

http://5280jazz.com/nowplaying_image/5280jazz.png

Rob Oyler

5280 Jazz

Link to comment
Share on other sites

Wow, thank you! That's exactly what I was looking for!

 

Neither double or single quotes around the text worked.

I've tried to make a small tweak with no luck.

Output is now displayed as follows: Artist Name - Song - DJ JOHNNY and I wanted to be Artist Name - Song >>DJ JOHNNY

Tried to replace ' - ' but I got this Artist Name >> Song - DJ JOHNNYs?

Any suggestion?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...