I’m beginning to get the hang of this software now - changing layouts using combination of layout designer and text editing the .ini files. I now have some “next stage” questions. Tony wasn’t sure on a few and suggested Torben - but he’s too busy at the moment. so suggested going public. Anyone got any ideas/suggestions?
1/ Is there a reference guide anywhere of all possible command lines in the .ini files?
2/ I’d like to get the player to default to auto mode when it opens, rather than assist mode - is this possible? If it’s not possible using normal functions is it possible using command line arguments, or even scripts that I’ve seen mentioned (but know NOTHING about yet!)
3/ I’ve managed to stop it flashing when in Auto mode, but I’d like it to flash when in assist mode! I tried guessing with a line of “AssistFlash=on” in mAirlist.ini but that didn’t work!
4/ Is it possible to swap the colours of Assist and Auto buttons? We’ll be mainly using it in Auto, so I want Auto to be green and Assist mode to be flashing red!
5/ Is it possible to make Assist and Auto mode buttons bigger? Reason being we have a touch-screen, so it will make things more ergonomic to use, but I also want to make such an important function blindingly obvious on the screen!
6/ I can change font colour in things like text boxes, time, date etc, but the background colour seems to steadfastly stay light grey no matter what I try to set it to in skin.ini. Presumably it is being over-ridden by a global setting somewhere? Any hints?
8/ Also is it possible to turn-off right mouse button menus? If so, is there another way to make it easy for someone to delete something that may have dragged into the playlist in error? (As they won’t have right click delete option). The reason I want to do this is because we have some presenters who like meddling - and so if it is possible then they will meddle making things difficult for the next presenter when things don’t work like they normally do!
Not that I’m aware of. Incidentally, the entries in an INI file are techinically known as keys (just like the Registry).
Yes, but it’s the PLAYLIST which you need to put into AUTO mode (there’s no such thing as putting a single PLAYER into AUTO/ASSIST mode). This is easily done by writing a Notification Script which when ‘notified’ of mAirList Startup, places a Playlist into AUTO. I use this technique myself to put my second Playlist into AUTO. Let me know which Playlist you want to force into AUTO at Startup and I’ll post you a script. You may need to go into Config to set up the script once it’s written.
Not possible. Post a new topic in Feature Requests and Torben should be able to implement it.
Not possible AFAIK? Post a new topic in Feature Requests and Torben should be able to implement it.
I think it’s ToolbarSize in the Playlist section of skin.ini, but don’t quote me yet! CORRECTION: No, I don’t think this is possible after all.
If you mean the application window background colour (underneath and between Playlists, Players, etc.), this is inherited from your Windows Display Properties (right-click Desktop, then Properties, Appearance tab, Advanced button). I think the one to change is Application Background but not 100% sure.
BTW, what happened to #7?!!
It’s not possible to turn off the context menus. But if you could turn them off, you would use the Delete button in the main toolbar usually displayed at the top of the mAirList window to delete items (if your layout doesn’t display the main toolbar, you would be stuffed in this case!).
Hi Cad #7 & #9 were already answered. The remaining questions I had already answered too in a pm and expanding on some of them here. #1, #2 and that part of #5 had been a sticking point, the other part in #5 was the button size of players.
Kind regards tony
Just tried this, its 3d Objects to change the background colour of applications. Remember though it will be all applications.
I don’t have a complete list, because the objects just “pick” their settings as needed from skin.ini rather than choosing them from a pre-defined list. I will have to manually scan through the source code in order to create such a list. There are two articles in the German Wiki, but they’re also not complete yet:
In the “scripts” folder, there’s a file named “AutomationAtStartup.mls”. You need to register this as a notification script in mAirListConfig. From mAirList 3.0, it will also be possible to enable the automation from the “actions at startup” mechanism.
3+4. Not possible yet.
For the screen objects like date, time etc. you just need to put a “Color=” line into the respective “ScreenObject” section of skin.ini. (The section name in skin.ini needs to be the same as in screenobjects.ini.) For the standard GUI components like buttons, toolbars etc. mAirList uses the default Windows theme as described above.
Not possible. I also doubt that I will make disabling of specific menu items possible. Too much work. However, we could establish further categories in the “enabled features” list in mAirListConfig. For example a new option “Change options in runtime” - when it’s disabled, the “Options” and “GUI options” items will disappear from the context menu.
Thanks and vielen danke for all the hints. I was a bit slow replying because my e-mail notification of posts seems to have stopped working.
I’ll give those ideas a try over the next day or two if I can get a slot on the PC in between the kids!
The background color issue is definitely on inserted text, time etc fields, not windows - so maybe Torben’s hints about making sure the section headings in the ini files are the same is the answer - if not expect to see my ini files pasted here soon!!
No luck on the background colour issue. I tried adding a “Colour =#000000” field as Torben suggested and checked the section names were same between .ini files, but that didn’t seem to change anything either ;-(
I think some of my terminology is not perfect, thus I might be causing confusion. Thus I attach a screengrab showing what it looks like so far and what I want to do!! (you will see I have ripped-off one of the layouts from the forum!). I also attach the layout.ini, screenobjects.ini and skin.ini files so you can check if I have set the “Backgroundcolour” fields correctly. It seems to be difficult to identify which screen objects are which number, so just for reference the big “Thornbury FM” banner accross the top of the screen is Screen Object 7.
If I can get the background colour set correctly I think I’m nearly there. I know this is “only” a visual thing, but I think it will help the overall impression of simplicity that I’m trying to achieve (also our studio is pretty dark and red/green on black seems to work better on the eye for some reason!).
My next and probably final problem is getting database search to work. Even with small directories I can’t get “on the fly” working - the search bar appears in the layout, but when I search for a known song, it just gives an error sound and finds nothing! I tried creating a Itunes library, but that does not get the search bar to appear on the layout. And Media Monkey I don’t “get” how to link it’s capabilities to mAirlist (do you have to export its library to somewhere?) I tried creating an XML database but it did not like that either - itcomplained it was the wrong format or something! Any hints or pointers to other posts on the subject appreciated!
The playlist button size/colour/flashing/automation on issues area “nice to have” but non-essential. But I’m very interested to hear it might be possible to set automation on when it starts-up…
Hi Glyn, you can also rename the browser tabs to something more friendly. Right click on the tab name in the top of the browser and rename. It also hides in the hard drive where things are from prying eyes.
Don’t forget to save the desktop in its new state.
What Charlie said: and also, in skin.ini [ScreenObjectn] sections, it’s definitely Color and not BackgroundColor or Colour.
Generally speaking, skin.ini uses Color to mean ‘background colour of this object.’ I use this in my own mAirList [ScreenObjectn] sections and it definitely works!
TIP: You can create a coloured ‘tile’ by creating a StaticText ScreenObject with no text in it. (If you hadn’t already worked that out!) Again, I use that here: for my 07:20 to top of hour display. The first bit is an HourCountdown and the rest is a StaticText. Why not put the text in the HourCountdown? To prevent the whole thing flickering every second! Which it does at the fairly large point size I use for it.
BUT to space it all out properly, I use three blank StaticTexts with the same skin.ini Color as HourCountdown and the ‘to top of hour’ StaticText to space them out horizontally.
From left to right: blank-countdown-blank-‘to top of hour’-blank.
It’s hardly a big effort, especially with Charlie’s excellent Layout Designer to tweak size/position of everything afterwards ;D, to do this.
Oops! sorry Glyn, just noticed that bit! Assuming you only have one Playlist (your layout.ini has settings for two Playlists?), look in mairlist\scripts\notification (or mairlist\scripts) for a script named AutomationAtStartup.mls. If you accepted the mAirList installer defaults, this is one of the Example Scripts which should already be there.
Edit this script to look like this:
AutomationAtStartup.mls - Notification Script for mAirList
Author: Torben Weibert <email@example.com>
AMENDED BY CAD DELWORTH
Enables Automation mode on the first Playlist after startup.
See http://www.mAirList.com for further information.
SystemLog('Enabling Automation ...');
// un-comment the line below to START Automated Play as well
SystemLog('Welcome to mAirList!');
Obviously you can remove or amend the SystemLog messages if you like.
When it’s saved, start mAirList Config and click Scripts, Notification Scripts, Add…, then select your amended mls script file to add it to the list box, then click Save.
Every time you start mAirList, the script will run and put your first (only?) Playlist into AUTO.
Wow thanks for all the help guys - that “Color” vs “Colour” hint has got me much closer to where I wanted to be! I attach a latest screen grab of my “simply player”. When I’m totally happy I’ll post the .ini files in case anyone else has similar requirements.
The next two problems for me:
1/ I’ve set that script to run so taht it starts in Auto ratehr than assist mode. This works a treat EXCEPT it insist in automatically playing the first item I drag into the playlist before even pressing Play. It didn’t do this before. Hopefully tehre is a simple way of getting it to start in Auto mode, but without playing things like that?
2/ Database - no matetr which method I try it does not seem to work. I get the search window, but anything I type (even artists I know are in the library) it does not seem to even try to search. It just immediately comes back with a windows erros sound (“donk”!). I checked in teh database section of the Config application, and when you test the link to the database it says it is OK.
Any hints appreciated as always. I’m nearly there now!
Have you got this line PlaybackControl(0).AutomationPlay; in your Automation on Start script ? If so, delete it or //coment it out (Cad’s example has it commented out). That command is useful if you want mAirList to startup and begin playing after a reboot/power-failure. It’ll also explain why the Playlist is “armed” when you drop your item into it
Thanks for the autoplay hint - one day I’ll ask you lot a question that you don’t know the answer to!
Attached is my non-functioning database.ini file.
One (possibly last) question - is it possible to change the clock format to 12 hour? I tried HH and hh but it did not seem to change things. If it is, is it also possible to change it in the LED clock as well, or is that fixed?
The database works for me (using my own folder). Remember though that you’ll probably want the AutoReScan=true aswell, but depends how big your folder is. At Phoenix FM, we had 4 OnTheFly databases (A, B Lists, Library, All) totalling about 10,000 tracks - the original cache took about 100 minutes, but subsequent loads only took about 20sec.
When you load mAirList, you should be able to add a Database Search in the Browser, click in the search bar and press “enter” - this’ll load every file in the database. You should at least find something, because even if you didn’t have Artist fields set correctly, the search uses both Artist+Title fields.
12/24hr Clocks: The DateTimeFormat should allow you to specify h(12) and H(24) but I suppose it depends how Torben has implemented it.
For database searches, do you have a dropdown immediately BELOW the search text box? This only appears if you have more than one on-the-fly ‘database.’ If so, make sure ‘All Databases’ is selected.
Remember that you do need a separate DB per directory tree. For example, if ALL your files are under subdirectories of C:\audio, you only need one DB. BUT if you also have files under subdirectories of, say, C:\NewStuff, you need a SECOND DB connection for that ‘tree.’
On-the-fly DBs always recurse any subdirectories, so you only need a DB entry for each top-level directory (e.g. C:\audio) and NOT for any subdirectories.