Jump to content

Displaying more metadata as well as song info


Recommended Posts

Hi all,

 

I run a small automated dance music internet radio station and am looking for some help. It's relatively new, and managed by myself. This is my first post so if I make any mistakes please tell me.

 

My station runs on a vps server via Sam Broadcaster streaming to Shoutcast V1. It runs fine on that and I am happy with it.

But what I have noticed with some other stations, is that as well as sending song metadata they also

send other metadata in players like upcoming shows and times etc for about 20 seconds and it would

change back to show you what was playing.

 

Is this easy to do does anyone know?

 

Cheers

Graham

Link to comment
Share on other sites

I made my own PAL to do this

It works ... and that's important

 

Copy and paste this text into a new PAL

Pal.Loop:=True;

var Song : TSongInfo;

Song := TSongInfo.Create;

Song['artist'] := 'Your Message A ...';

Song['title'] := 'Your Message B ...';

Encoders.SongChange(Song);

PAL.WaitForTime(T['+00:27:15']);

 

The WaitForTime can be changed to any time that you prefer

e.g. = every 10 minutes ... write +00:10:00 etc etc

Add the PAL to the PAL scripts section ...

its that easy ...

 

You can add even more of these scripts

- make a TitleStream01, TitleStream02 etc

- write into each an other message

- adjust the time whenever needed

 

Good luck !

Link to comment
Share on other sites

Ok, it seems to work slightly. I did as you said, but the title of the song doesn't show after so many seconds?

 

I ran the PAL to test it and set it to change every 30 seconds. But it doesn't change back to show you what song is playing.

 

Am i doing something wrong?

Link to comment
Share on other sites

Ok, it seems to work slightly. I did as you said, but the title of the song doesn't show after so many seconds?

 

I ran the PAL to test it and set it to change every 30 seconds. But it doesn't change back to show you what song is playing.

 

Am i doing something wrong?

That's because GKIye's script does not do that. The Spacial developed script I posted will do that. Not only that, I suspect his has a memory leak since he does not free up the song object.

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

Rob Oyler

5280 Jazz

Link to comment
Share on other sites

I was kind of thinking that too. I'm a newbie when it comes to all this pal script stuff so sorry if i sound a bit dumb.

 

How do I edit what I want to display every 30 seconds or so and then make it switch back to whats playing and repeat it etc. The script says there is a banner.txt file. Is that where I put what I want to display?

Link to comment
Share on other sites

You make a separate file called BannerText.txt and you can place as many messages in it as you care to. Eaach one on a separate line. Just be sure to edit the PAL to point to the location of the file where you saved it to in the configuration section of the pal. Set the change_interval to the number of seconds or minutes you want to display the changed info.

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

Rob Oyler

5280 Jazz

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...