mAirList 3.0

Hi.

I have just uploaded mAirList 3.0.0 to the server. There are some significant changes in that release, so I’m starting this thread to inform you about the changes. Feel free to reply to this post if you have any questions. Bug reports should be posted to the new “Bugs - mAirList 3.0” forum though.

Community Edition and Professional Edition

The free-for-personal-use license of mAirList is now known as “mAirList Community Edition”. This is what you get when you download mAirList from the homepage. A license file is included with the release (your old one won’t work!) so you don’t need to request a license anymore if you only use mAirList at home without making any money from it.

For the commercial users, there will be mAirList Professional Edition. This paid version will be licensed on a per-machine basis and may be used in any commercial environment. Some pro features for which I had to buy a third-party library (namely the SOAP/RPC interface and ASIO output) are now only available in Professional Edition.

What about mAirListDB?

mAirListDB is probably the most exciting new features about mAirList 3.0 but, unfortunately, it is not yet finished, so it is not included in v3.0.0. Nevertheless, there are other new features in v3.0 which are already done, so I thought it was time for a release anyway.

Any questions?

Feel free to ask.

Torben

Hi Torben,

…and thanks for the new 3.0 :slight_smile:

but when i want to start mairlist, it says to me, that the bass_fx.dll is missing. (i use the zip-file)

greetings, michi

Oops. Yes, it was missing (and also bassmix.dll, bassenc.dll and bassasio.dll). I have updated the zip file.

The setup.exe should be ok.

Hi Torben,

I’ve just downloaded the Setup.exe and installed V3.0.

When attempting to open mAirList, I get the message:

“License not valid for this program version”

I’ve had a look at the license and it is a community License as i am using this at home. Do i have to apply fora new community license?

Thanks, Ryan.

You probably installed mAirList 3 on top of your existing v2.2 installation. The installer will never overwrite an existing license.ini file, so most likely, it’s still your old one.

Solution: Delete license.ini and re-run the mAirList 3.0 setup. Alternatively, download the mAirList 3.0 zip file and extract the license file from it.

Ah right OK…

I’ve deleted it and then reinstalled with Setup.exe…it still doesn;t work.

Just deleted it again and then used the ZIP and copied and pasted the license, which still did not work :-\

Thanks, Ryan.

That’s really odd. Anyone else encountering this problem?

Is it worth downloading a new free license from the site?

For me, I had to remove manually the old licence.ini. I actually just renammed it to keep a backup.

Then, you install it again, and the community licence for V3.0 is in.

Cheers,
Alex.

Torben…

All sorted!

Turns out with Vista…When looking in the config folder, i needed to click “show compatibility files”. Without clicking that, only “license” and “mairlist” ini files show, not all the other ones such as skins etc. When i clicked it, another license file appeared strangely, so I’d imagine some conflict had arisen.

Seems to be working fine now.

Thanks, Ryan.

Ah…maybe I spoke too soon.

Attached is an error shown when i opened mAirList.

The file it is on about is the following-

[code]// Intelligent Now Playing Script v2
// by Charlie Davy
// last modified 16th January 2009

// This script examines each audio item played via a Player and performs a task based upon the track’s length.
// The 3 settings below work for most situations, however you can fine-tune them if you wish.

// The last.fm links work for most artist/groups - it adds a nice touch, I think.

// Update: The OnAir switch is considered within this script, if you are “Off Air”, this script does nothing.
// If you are “On Air”, the script runs as normal. Useful in a multi-studio environment where pre-recorded
// shows may interfer with your live “now playing” display!

// IMPORTANT!! You MUST rename this file to .mls when adding it to mAirListConfig

const
IDENT = 900000000; // 90 seconds
MUSIC = 900000000; // 90 seconds
PRE_REC = 4200000000; // 7 minutes

procedure OnPlayerStart(PlayerControl: IPlayerControl; Item: IPlaylistItem);
var sl: TStringList;

begin
if Engine.GetOnAir = False then begin
SystemLog(‘mAirList is in production mode, so no action taken…’);
sl := TStringList.Create;
sl.Add(‘LiveWire Radio’);
sl.SaveToFile(‘C:\Users\Ryan\Documents\nowplaying\nowplaying.php’);
sl.Free;

// If the track is over 7 minutes, assume it’s a pre-recorded programme

end else if (Item.GetDuration > PRE_REC) then begin

sl := TStringList.Create;
sl.Add(‘More music soon’);
sl.SaveToFile(‘C:\Users\Ryan\Documents\nowplaying\nowplaying.php’);
sl.Free;
SystemLog(‘This item is a pre-record or longer than 7 minutes…’);

// If the track is more than 90 seconds, assume it’s a song

end else if (Item.GetDuration > MUSIC) then begin

sl := TStringList.Create;
sl.Add(+ Item.GetArtist + ’ - ’ + Item.GetTitle);
sl.SaveToFile(‘C:\Users\Ryan\Documents\nowplaying\nowplaying.php’);
sl.Free;
SystemLog('Now Playing… ’ + Item.GetArtist + ’ - ’ + Item.GetTitle);

// If the track is under 90 seconds, assume it’s an advert or jingle
// You may wish to comment this section out as sending this info for such a short time may seem pointless!

end else if (Item.GetDuration < IDENT) then begin

sl := TStringList.Create;
sl.Add(‘More music soon’);
sl.SaveToFile(‘C:\Users\Ryan\Documents\nowplaying\nowplaying.php’);
sl.Free;
SystemLog(‘Playing Adverts or Jingles…’);

end;
end;
begin
end.[/code]

Thanks, Ryan.


mair_error.jpg

Scripting has been “iffy” in v3 beta for some time :slight_smile: I can’t get Cad’s “Set Overlay Items” script to work, either.

Disable Notification scripts in your v3 config - it helps to have a different folder for this version… I’ve been using C:\mAirListBETA :wink:

Ah right,

Also, the OnAirSwitch button when in mAirList doesn’t switch!

So will there be any documentation as regards to new features and changes etc?

Will there (or is there?) be a segue editor?

I spend most of my time for programming, so there is very little documentation at the moment. I rely on the community to step in here :wink: This has worked pretty well in the past.

A visual segue editor has been on my personal wish list for a long time. But at the moment, the most important feature to finish is the database.

By the way, can you please post the bugs you found in the Bugs forum? It’s easier for me to keep track of them then. A separate thread for each bug you find would be perfect.

Here’s two more important notes:

Scripting

Many of your old scripts won’t work out of the box in mAirList 3.0 because of changes in the internal structure of the software. You need to rewrite your scripts accordingly. The scripting help is no longer included in the distribution but can be downloaded from here: http://www.mairlist.com/download/mAirList/v3.0/scriptinghelp/ (I’ll update the file periodically.)

MMD files etc.

MMD files, ID3 tags, playlists etc. written by mAirList 3.0 might not be recognized properly by v2.2. You should not touch any of your files needed for production use in v2.2 with mAirList 3.0.

I second this. Best thing would be to download the zip version of v3.0 and extract it in a separate folder far away from all your production v2.2 stuff.

Congratulations to the Config - the “Audio” section is easier to handle.

A simple question - is this now the new standard to show “Artist - Title” in one line in Playlist and Player?
Some long artist names are not very attractive to this feature. Is there no possibility for the display “Artist” (line 1) - “Title” (line 2)?

Not very important, but new to me.

Regards, Uli

As far as I know, there haven’t been any changes. You can still choose between simple (one line) and extended (two line) mode in the playlist, and the players still use two lines, one for the title and one for the artist.

Can you please post a screenshot to illustrate what you mean?

Also make sure that artist and title is correctly (and separately!) set on each item. Perhaps there’s a problem with the file tag import or so.

From now on, the usual snapshots will be available from http://www.mairlist.com/download/mAirList/v3.0/snapshot/

Another note:

The file formerly known as “mAirList.map” is now called “mAirList.jdbg”. It serves the same purpose - when you copy that file (which must match your current mAirList.exe file) into your mAirList folder, every fatal error will display additional information in its call stack error dialog which is very useful for me when trying to find out the reason for the error.

So if you’re reporting bugs along with a call stack info, please download the mAirList.jdbg file first. It can be found here: