Automatically Repeating Hours From Your Log

Liam Burke • Jun 29, 2020

You can do all sorts of Log copy trickery using Commands!

Sometimes you want to repeat complete Log hours in your schedule. Under normal circumstances, Myriad Schedule (or AutoTrack) will generate a new Log Hour for every hour of the week.

But once you have edited and Voice Tracked an hour, it is sometimes good to be able to re-use that Log Hour elsewhere in your schedule or maybe even on another Station (if you are running more than one.

This can be done using the Log.CopyHour Command.

The Basic Idea

We can create a Command Media Item that will perform the following tasks:


  1. Delete any existing Log from the target hour that you want to copy into.
  2. Copy a previous Log Hour to the gap you created in step 1.


You can expand this to have a single Command that could copy multiple Log Hours, to multiple destinations, but for now we will simply create a Command Media Item that will copy the content of the previous Log Hour paste it into the Log tomorrow evening.

The Process

The first step is to create a new Command Media Item to perform the task.


  • Find an suitable and empty Media ID.
  • Click on the Edit button on the Media Wall ribbon.
  • Give it a suitable Title.
  • Click on the Command option on the Editor tab.
  • Expand the Command Examples tree node and select Log > Copy the previous hour to tomorrow option.
  • This example includes the code needed to copy the previous Log Hour into the Log tomorrow, later in the day.





Let's take a closer look at that code:


REM First delete the destination hour to make sure it's empty

REM The first parameter being set to -1 means 'in the current open station'

Log.DeleteHour(-1,NowDay+1TNowHour+7)


REM Now copy from the previous hour (NowDayTNowHour-1) to tomorrow, 7 hours forward (NowDay+1TNowHour+7)

REM The first and third parameters being set to -1 means 'FROM the current open station, TO the current open station'

Log.CopyHour(-1,NowDayTNowHour-1,-1,NowDay+1TNowHour+7,true)


Any lines that start with REM are only there as documentation so the only active code in this Command are the two lines that start with Log.DeleteHour & Log.CopyHour.


First lets look at Log.DeleteHour. As you would expect, this Command is used to delete an hour from the Log

  1. This is the Station Database ID. -1 Means the Station that is open when the Command runs!
  2. NowDay allows a relative date to the current day when the Command runs. In this case NowDay+1 means tomorrow.
  3. After the 'T' is the section where you set the time. In this example it is NowHour (when Command is run) + 7 so if the Command runs at 1pm, this time would be 8pm! You can also specify an exact time like 20:00:00.

The Log.CopyHour Command is very similar.

  1. Database ID for hour to copy from. Again, -1 means current open Station DB.
  2. Set the Log Hour you want to copy. In this case the NowDayTNowHour-1 means the previous Log hour to the time/date when the Command is run.
  3. The next setting is for the Station Database ID you want to copy to. In this example, -1 means the current open Station.
  4. Set the target date / time to copy the hour to. In this example we are using NowDay+1 (tomorrow)TNowHour+7 (whatever the current hour plus seven). So if we ran this today at 1pm it would copy the Log Hour to 8pm tomorrow. As before, a specific date and time can be used.
  5. ResetAdvert Breaks - True / False. If set to True then advert breaks will be removed as part of copy.

As you can see, you can create Commands to copy hours relative to when the Commands are run or with very specific dates and times built into the Commands.


Remember that you can also have multiple 'lines' in Commands that will be executed in sequence so you could create a single Command Media Item that you run once a day that copies all the desired Log Hours into your future schedule.

You can learn more about Commands and what the attributes mean by clicking on the Display Available Commands button at the bottom of the Commands window.



CAUTION: Triggering Commands

Now that you have a Command that copies the previous hour in the Log to tomorrow (7 hours ahead) you can simply schedule it to to be included in the Log hour after the one you want to copy.


Caution - Why not put in the end of the Log Hour being copied? Well if think about it, the complete Log Hour would be copied to tomorrow including the Command to copy the Hour so you would end up with a cycle of the same hour being copied across your schedule. By running the Command in the following Hour you can avoid this.


Other Options - This works ok as long as you don't need to copy any of the Hours that include this Command. In practice you may be better creating a Media Command (or several) that do all the copying you need, that can be ran once a day in an hour that is not being copied. Commands also act like any other Media Item which means you can trigger them by double clicking them on the MediaWall, add them to Favourites or even drag them into the Log.

Commands are a very powerful tool that can be used for a wide range of applications. It is well worth taking the time to explore the Command documentation to see what is possible.

by Liam Burke 28 Mar, 2024
In anticipation of the release of SmartSign 3, we are looking back at the history of our screen studio signage system as well as a quick look at what the future holds. SmartSign 1 (well just SmartSign) was originally conceived as a simple ‘tally’ indicator to how real world events such as when microphones are active or a phone is ringing. At the time, we were working on the BR Hardware Service as part of the general Myriad 5 development cycle, and wanted a way to showcase the virtual hardware events the BR Hardware Service introduced. One of the aims was to make the system as cost effective as possible so work began on building an application that would run on Windows IOT on a Raspberry Pi. The Pi was ideal as it included physical hardware I/O built in meaning that SmartSign could use both physical and virtual GPIO and even convert physical inputs to virtual inputs for use in other BR software such as Myriad Logging or other SmartSigns.  We soon started to add other ‘tiles’ to the system to allow clocks, date / time, text, images, RSS feeds and more. SmartSign was released in 2016 and was an instant hit with our customers.
Artists Group Management
by Liam Burke 27 Mar, 2024
Learn how to use Artist Groups to prevent Songs from associated Artists from scheduling close together.
by Peter Jarrett 08 Dec, 2023
The latest feature from Broadcast Radio can really make your station stand out from the competition
by Peter Jarrett 12 May, 2023
Myriad v6 Public Beta testing has been going well... REALLY well!
by Liam Burke 19 Apr, 2022
This smart microphone may be ideal for Myriad Anywhere users.
by Blanca Jonathan 28 Jun, 2021
Image Source: Pexels
by Liam Burke 26 Feb, 2021
We are often asked for recommendations for smaller, low cost mixers for stations that are launching on a tight budget or looking to add additional studio capacity as cost effectively as possible. Type 'stereo mixer' into Google and literally hundreds of options will come up but the vast majority of them are not really suitable for use with Myriad because they do not have enough stereo inputs, are designed for sound mixing or do not offer the basic facilities needed to present a radio show. But there are a few that could be considered as a possible alternative to a full broadcast mixer. The Behringer DX2000USB may be the ideal mixer for smaller stations, as long as they are willing to live the compromises it brings when used in a broadcast radio environment.
by Arran Hodges 04 Dec, 2020
This post was originally posted on Arran's blog https://thisisarran.me/index.php/2020/12/04/the-technical-side-of-a-radio-station/ and is reproduced here by his kind permission. If you have a post you'd like share, please contact us and let us know!
Home Studio Mixer Review For Myriad Anywhere
by Liam Burke 28 Jul, 2020
With the World still struggling to adapt to the 'new normal' of working from home and minimising social contact, more and more stations are using Myriad Anywhere to enable presenters to record Remote Voice Tracks or even prevent live shows from their own home studios. Generally, all you need is a good microphone and a pair of headphones (we recommend a headset if possible) but we are hearing from a number of customers who are looking to create a home studio setup to allow them to get more creative and emulate their studio experience. So we thought we would take a quick look at a couple of home mixer options that work well with both Myriad Anywhere and fully installed Myriad Playout.
Myriad RVT & Anywhere Cloud
by Liam Burke 22 Apr, 2020
We ran the numbers and stations are using Myriad Remote Voice Tracking, a lot! Let's take a closer look.
Show More
Share by: