Class and members to get name of actual Template hour

Hi everybody and thank you Torben for this great app, mAirList is just amazing !

I decided to improve link between player’s website and mAirList automation.
I’m looking for the class and members to get the name of template hour in database section (“Manage Hour Templates”, “Templates Hour Assigments”) in the mini-scheduler.

For example, i know how to get item information currently playing :

IPlaylistItem <-> Item.GetArtists | Item.GetTitle | Item.GetAttributes …

  • Class <-> +member | +member | +member…

Does someone know the same things for my search? I didn’t find it in mAirListScript.chm

ITemplateHour <-> Item.GetLabelName or something like that :slight_smile:

I could get it for my website and changed it by a nice image of the show currently on air (hour by hour)

Thank you and sorry for my bad english and a so simple question !

Which mAirList version are you using? Can you please enter your license serial number into the forum profile.

Hi Torben,

I forgot to do it, it’s done. I use mAirList 3.1.9 build 996 (and want to upgrade to mAirList 5 Home Studio).

Thank you.

Thanks.

In v3 it is almost impossible to retrieve the reqeusted information.

In v5 you can quite easily fetch the list of templates, and the template assignments, as JSON documents from the database and pass it to the web server to create a schedule.

But please note that the item currently playing does NOT carry any information about which template was used to create the playlist. All you can do is retrieve the Template Assignments data.

OK, thank you, I will export XML templates (from v3 version) and use it on webserver and time server as well. I have to buy quickly the new version of mAirList, new mini-scheduler add-on seems to be amazing !