hustlergraham Posted May 3, 2014 Share Posted May 3, 2014 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 More sharing options...
SmoothJazz Posted May 4, 2014 Share Posted May 4, 2014 Check out the TitleStreamBanners.PAL script in your SAM>>PAL directory. http://5280jazz.com/nowplaying_image/5280jazz.png Rob Oyler 5280 Jazz Link to comment Share on other sites More sharing options...
GKIye Posted May 4, 2014 Share Posted May 4, 2014 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 ! Visit and listen @ BW ! Link to comment Share on other sites More sharing options...
hustlergraham Posted May 4, 2014 Author Share Posted May 4, 2014 Cheers for the reply guys. I didn't think it would be as simple as a PAL script. I'll give it a try and see how I get on. Link to comment Share on other sites More sharing options...
GKIye Posted May 4, 2014 Share Posted May 4, 2014 Don't worry Graham ... it all works out very good Cheers for the reply guys. I didn't think it would be as simple as a PAL script. I'll give it a try and see how I get on. Visit and listen @ BW ! Link to comment Share on other sites More sharing options...
hustlergraham Posted May 4, 2014 Author Share Posted May 4, 2014 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 More sharing options...
SmoothJazz Posted May 4, 2014 Share Posted May 4, 2014 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 More sharing options...
hustlergraham Posted May 4, 2014 Author Share Posted May 4, 2014 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 More sharing options...
SmoothJazz Posted May 4, 2014 Share Posted May 4, 2014 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 More sharing options...
hustlergraham Posted May 4, 2014 Author Share Posted May 4, 2014 Ok cool, thanks. I'll give it a shot and let you know how I get on. Link to comment Share on other sites More sharing options...
hustlergraham Posted May 5, 2014 Author Share Posted May 5, 2014 Finally got it working after playing around and changing alot of things in the script. Thanks again for your help! Link to comment Share on other sites More sharing options...
GKIye Posted May 5, 2014 Share Posted May 5, 2014 Appreciated Thanks for the feedback ! Visit and listen @ BW ! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.