In a previous article I presented OMTAC which will load a cut into the iMediaTouch On-Air database. This update adds a couple of new features, plus fixes one known bug.
The main new feature is the ability to use PODGrabber style replacement strings in the ID parameter. For example, to get the current day name, one could use {WWW}. At WUMD our weather cuts are inserted into the database in the UTL category with the tag Wddd where ddd is the day name. Using /ID:W{WWW} will set the ID as needed.
Also added, the option to use the token ‘today’ when setting the expire date.
The updated parameters are:
| Parameter | Value | Description | |
| /CAT:xxx | Category ID | Required | Specifies which category the cut is added to. |
| /ID:xxxx | Cut ID | Required | The cut ID number to be assigned. Old cut is replaced if already there. Can now use PODGrabber replacement macros, like {WWW} |
| /FILE:path | Path to audio file | Required | The path to the mp3 or wav file. |
| /STARTTIME:mm:ss | Minute:Second | Optional | Sets the activate date to the current date at the given time. |
| /EXPIREDATE:yyyy/mm/dd | Date | Optional | Sets the expire date to the end of the given day |
| /EXPIREDATE:today | Date | Optional | Sets the expire date to 11:59PM of the current date |
The bug fix is simply detecting the time zone and adjusting the expire date appropriately.
Got an idea for an enhancement? I’d love to hear it!

