JohnnyBeGood Posted December 28, 2016 Share Posted December 28, 2016 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 More sharing options...
SmoothJazz Posted December 28, 2016 Share Posted December 28, 2016 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); 1 http://5280jazz.com/nowplaying_image/5280jazz.png Rob Oyler 5280 Jazz Link to comment Share on other sites More sharing options...
JohnnyBeGood Posted December 29, 2016 Author Share Posted December 29, 2016 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 More sharing options...
SmoothJazz Posted December 29, 2016 Share Posted December 29, 2016 (edited) Easy, replace Song['title'] := 'DJ JOHNNY'; with Song['title'] := '>>DJ JOHNNY Edited December 29, 2016 by SmoothJazz added ending << http://5280jazz.com/nowplaying_image/5280jazz.png Rob Oyler 5280 Jazz Link to comment Share on other sites More sharing options...
JohnnyBeGood Posted December 29, 2016 Author Share Posted December 29, 2016 Easy, replace Song['title'] := 'DJ JOHNNY'; with Song['title'] := '>>DJ JOHNNY If I do that than I get extra dash (-) before >> ie. Artist Name - Song - >>DJ JOHNNY Link to comment Share on other sites More sharing options...
SmoothJazz Posted December 29, 2016 Share Posted December 29, 2016 Did you remove everything in Caption template except $combine$? http://5280jazz.com/nowplaying_image/5280jazz.png Rob Oyler 5280 Jazz Link to comment Share on other sites More sharing options...
JohnnyBeGood Posted December 29, 2016 Author Share Posted December 29, 2016 Did you remove everything in Caption template except $combine$? Yes, all I have there is $combine$ Link to comment Share on other sites More sharing options...
SmoothJazz Posted December 29, 2016 Share Posted December 29, 2016 Then remove $combine$ and replace with $artist$ $title$ You may able to get away with no space between the 2 $, try it if you don't want a space. http://5280jazz.com/nowplaying_image/5280jazz.png Rob Oyler 5280 Jazz Link to comment Share on other sites More sharing options...
JohnnyBeGood Posted December 30, 2016 Author Share Posted December 30, 2016 Thanks for suggestion but nothing seems to work. It seems like what ever is put in there its being ignored. Tried replacing $combine$ with $artist$ $title$, tried leaving it blank. Still no joy. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now