|
|
#1 |
|
Junior Member
Join Date: Sep 2003
Posts: 16
|
Quick Question
IS thre a wya to play like a radio promo inbetween songs?
A friend of mine made me an awsoume radio promo and i want it played every xxxx minutes or inbetween songs. is that possible? |
|
|
|
|
|
#2 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
Check out the results from a SHOUTcast forum search on 'scheduling'.
Look for a post by arti titled: scheduling jingles Note: Other search criteria may yield more results. You can also accomplish rotation with pre-constructed playlists and Windows Scheduler. For linux, see this thread. |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2003
Posts: 16
|
i have Same2 but where is that at? are u tlakign aobut jsut adding it to my playlist?
|
|
|
|
|
|
#4 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
If you use SAM2 just create a PAL script that plays every xxxx minutes or inbetween songs.
For a sample, check out my festerhead radio ditty PAL that plays a promo once every 2 hours 12 minutes and 47 seconds. For SAM2 PAL assistance, please use the SAM2 forums. |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Sep 2003
Posts: 16
|
hmmm where do i point it to my promo file at?
|
|
|
|
|
|
#6 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
Wherever the promo file is located.
|
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Sep 2003
Posts: 16
|
i mean where at in the .pal
|
|
|
|
|
|
#8 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
It's difficult to debug your PAL code without providing it.
|
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Sep 2003
Posts: 16
|
/ Don't be a dick. Leave this here.
// FesterHead Radio Promo script by FesterHead (removed) // Version 1.2 07/15/2003 // // WARNING! // IF YOU DON'T CONFIGURE THE SCRIPT, DON'T EXPECT IT TO WORK PROPERLY! // // 1.2 changes // * Expanded verbosity from a boolean to three levels // 0 = log time stamp only // 1 = log time stamp and information // 2 = log time stamp, information, and sql statements // // 1.1 changes // * Added logging // // Plays FesterHead Radio promos // Declare variables var timeToWait : String; var palName, palHistory : String; var usePalHistory, doHistory : Boolean; var verbose : Integer; // START OF CONFIGURABLES // How long to wait? timeToWait := '+01:00:15'; // Write a log of this pal to MySQL? // Note: Setting to true will create the necessary tables // if they don't already exist // Table name = palhistory // Table columns = id (pk and auto-number), date, name, history usePalHistory := false; // 0 = log time stamp only // 1 = log time stamp and information // 2 = log time stamp, information, and sql statements verbose := 0; // END OF CONFIGURABLES // Keep da bugger goin! PAL.Loop := true; // Reset PAL log palHistory := ''; doHistory := false; // Add a FesterHead Radio promo to the bottom of the queue CAT['FHR Ditty'].QueueTop(smRandom, prNoRules); palName := 'festerhead radio ditty'; // Construct PAL log if (usePalHistory and (verbose >= 1)) then begin palHistory := palHistory + 'Added ditty\n'; end; doHistory := true; // Write PAL log if (usePalHistory and doHistory) then begin // Create the table if it doesn't already exist ExecSQL('CREATE TABLE IF NOT EXISTS palhistory ' + '(id MEDIUMINT(9) AUTO_INCREMENT PRIMARY KEY, ' + 'date DATETIME, ' + 'name VARCHAR(255),' + 'history TEXT)', []); ExecSQL('INSERT INTO palhistory (date, name, history) VALUES (''' + FormatDateTime('yyyy-mm-dd hh:mm:ss', Now) + ''', ' + QuotedStr(palName) + ', ' + QuotedStr(palHistory) + ')', []); doHistory := false; end; // Wait PAL.WaitForTime(T[timeToWait]); |
|
|
|
|
|
#10 | |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
Quote:
The line above will pick a random entry from there to play. If you want to point it to a file directly, change the line above to: Queue.AddFile(your-promo-path, ipTop); // Add to the queue top **OR** Queue.AddFile(your-promo-path, ipBottom); // Add to the queue bottom Example: If your promo is located at c:\promos\promo.mp3 and you want to add it to the queue top, then use: Queue.AddFile('c:\promos\promo.mp3', ipTop); For further PAL assistance, please use the SAM2 forums. [edit] Please remove my email address from the post above. [/edit] |
|
|
|
|
|
|
#11 |
|
Junior Member
Join Date: Sep 2003
Posts: 16
|
it wont let me edit my own post=\
|
|
|
|
|
|
#12 |
|
Junior Member
Join Date: Sep 2003
Location: New Zealand
Posts: 5
|
What did your friend use to make the promos?
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|