A few noob questions

I have DL the program and I am using the version with 30 min limitation while I am trying to learn the basics. So far I have gotten the bases on making plalists, but I do have a few specific questions:

  1. How can I make sure that the items in the hourly template and the music templates are in fixed positions? There is reference for V 3.0 that mentioned fixed toggle but I cant find it in version 5.
  2. The hook container script - I assume I write the code in notepad and save it with the correct extension? How do I load it? How to I import the script into the playlist?
  3. I have created the playlist for the next 7 days. I have scheduled an event at the end of each hour to imort and load playlist. I assume it will import and load the ones that have been generated from the database? Or it will create brand new ones?
  4. How can I make a track optional in the playlist?.
  5. Can I schedule VT in the playlist in any way other than adding a dummy object saying its a VT?
  6. What is the best way to schedule adds? The whole Campaing thing is a bit confusing… and I cant find relevant info in the forum.
  7. TOH jingle - do you add it as a specific file in the playlist or do you insert event?
  8. Promos - do you do specific file in playlist or insert event? What I am trying to figure out is if it better to schedule all promos and TOH with mini scheduler or inster events with soft timing.
  9. The back timing is a bit confusing, so I always do soft set times.

Thanks
Peter

Hi, my answer is a bit delayed, but I hope this helps:

  1. In v5, all template elements are always fixed. There is no “floating” anymore. (Floating was meant to shuffle the rotation positions inside the hour, if you only care for the rotations to be used, but not their exact order. In v5, you would use the “randomly pick from the selected folders” mode in the music template to achieve the same thing.)

  2. Not quite shure which script you refer to. Best to ask the author of that script (which is not me).

  3. Use a single event, at the top of each hour, with the “load and play database playlist” action - it will load the scheduled playlist. Also covered here: https://www.mairlist.com/dokuwiki/doku.php?id=tutorials:mairlistdb:setting_up_music_scheduling#set_up_an_hourly_event_for_automation

  4. The “Optional” flag doesn’t exist anymore in the v5 hour templates. In v3/v4 it was used to leave out tracks when the hour is already full (because the scheduler picked some very long tracks for the earlier songs). In v5, this is achived with music templates and “fill with music”, which will pick exactly the required number of songs to fill the gap.

  5. If you only want a placeholder, that’s the way you do it.

  6. mAirList 5 is still in beta, and documentation hasn’t been updated. There will be a tutorial in the wiki soon, please be patient. To schedule an ad, add a new “campaign”, possibly entering the start/end dates, or leave them blank for “permanent”. Then check the hours/blocks in which the ad is to be played. (Hint: click the column/row headers and/or hold down Shift to change multiple blocks at a time.) In the hour template, add a new element of type “Advertising” and adjust the block number as required. The scheduler will place all ads into the container that have the hour/block checkmarks set for that block.

  7. Specific item in the template, whenever possible!

  8. In the template!

Peter,

I suppose I can help you answering question 2 (Hook Container script). Runs perfect twice each hour for me!

Note: all your songs must have Hook Points. Assume that you load a playlist each hour via event.

Steps:

[ol][li]Leave script as it is. No need for changes[/li]
[li]Save script in main directory mAirList. Change extension to .mls . Name script “coming up.mls”[/li]
[li]Make 3 jingles named “Opener.mp3”, "Middle.mp3"and “Closer.mp3”. Save them in jingle directory.[/li]
[li]Set “Start Next” Points in these 3 jingles[/li]
[li]Make an event “load script coming up” (pointing to where your script is saved). This script should execute after event “load playlist”[/li]
[li]Done![/li][/ol]

The script will grab the hooks of the 3 upcoming songs, put the jingles in between and play accordingly. Works great :slight_smile:

[size=8pt]credits to Lukeman[/size]

[quote=“Adriaan, post:3, topic:9431”]Peter,

I suppose I can help you answering question 2 (Hook Container script). Runs perfect twice each hour for me!

Note: all your songs must have Hook Points. Assume that you load a playlist each hour via event.

Steps:

[ol][li]Leave script as it is. No need for changes[/li]
[li]Save script in main directory mAirList. Change extension to .mls . Name script “coming up.mls”[/li]
[li]Make 3 jingles named “Opener.mp3”, "Middle.mp3"and “Closer.mp3”. Save them in jingle directory.[/li]
[li]Set “Start Next” Points in these 3 jingles[/li]
[li]Make an event “load script coming up” (pointing to where your script is saved). This script should execute after event “load playlist”[/li]
[li]Done![/li][/ol]

The script will grab the hooks of the 3 upcoming songs, put the jingles in between and play accordingly. Works great :slight_smile:

[size=8pt]credits to Lukeman[/size][/quote]

I am bad at programming… So i take the script, paste it into wordpad and save it and than transfer it to the main directory? I assume we are talking about the same script found at https://www.mairlist.com/forum/index.php/topic,6602.msg46910.html#msg46910

Thanks

I am bad at programming.. So i take the script, paste it into wordpad and save it and than transfer it to the main directory? I assume we are talking about the same script found at https://www.mairlist.com/forum/index.php/topic,6602.msg46910.html#msg46910

Right!

Back to this topic again… I have been using the script container for a while and it works great. However, very often the hook container is played before a jingle/sweeper/promo message and it just doesn’t sound good. I would like to modify the script container so it checks the first item that should be played after the hook container and if the item length is under 30, to delete the item.

I have no idea how to code, so if anyone can add that line I would appreciate it!. I am attaching the script.

Thanks!


Script voor hookcontainer.mls (3.67 KB)