Audio-item type

Hi,

In mAirlist v3, I see that I could tagg audio-item with title, artiste and “type”, which allow me to take “music”, “jingles”…etc…

With thoses types, is it possible to define a specific color into an .ini file ? For example, I want all the “music” audio item to be displayed in blue, and all the “jingles” audio item to be displayed in yellow… Does I have to tag them one-by-one to set up the color or .ini file could say “MusicTypeColorBackground=” color ?

Moreover, if it’s possible, is it possible too for screening a specific icon (like a CD for music item and a musical note for jingles) ?

Thanks all.

I’m not aware of any way to specify a colour for a specific audio type, nor am I aware of any way to specify an icon by audio type either.

Unless Torben knows of one?

BFN
CAD

Hi, one of Charlies scripts should help.

http://forum.mairlist.com/index.php/topic,2558.0.html

Kind Regards Tony

Thanks Tony. I already have some scripts for tagging color and icon to my audio-item… ;D

The aim of my question is to know specifically if mAirlist do some things automatically, without needs of scripts or manuel set-up. With Scripts, I create all what I need, but like I don’t know very well the v3 version, I ask some questions about it. I try to have an overall of all things that can be done natively with mAirlist…

But, I thank you for the link :slight_smile:

Regards,


Theo

To answer your question, nothing like that is done autotmatically by mAirList.

BFN
CAD

Thank you Cad.

v3.1 supports item types in skin.ini in the same way (and in addition to) the other criteria:

MusicRowColor=#ff0000

Great !!!

I will try it tonight ;D

Ah. I sit corrected! :smiley:

So … does that mean one could have (for example) MusicRowStopColor, MusicRowStartColor, etc. as well?

BFN
CAD

Yes, but its rather “StoppedMusicRowColor” and “PlayingMusicRowColor”.

You can even combine the item type and the item class (file, stream, etc.): “StoppedMusicFileRowColor” or “PlayingAdvertisementContainerRowColor”.

General syntax is:

[Alternate][History]RowColor

Any part of the mask can be omitted, which works like a wildcard then. For example, “PlayingRowColor” applies to all playing items regardless of their type and class, and “HistoryRowColor” applies to all items with their history flag set (regardless of their other properties).

The same applies to …FontName, …FontSize, …FontColor, …FontStyle

Conflicts are handled top-to-bottom, so the last matching row “wins”.

Remind me to copy those excellent examples when I come to write the ‘skinl.ini’ part of the manual. :wink:
(Still working on the Cartwall tutorial, then Events and Actions tutorial, tagging/item properties’ tutorial, then other ‘reference’ stuff. >sigh<)

Skin.ini has changed one heck of a lot ‘… since I were a lad.’ :smiley:

BFN
CAD

Hi all,

Although I understand very well the “logic” syntax, I would ask you if there is a “PlayerState” for the ramp ?

Indeed, in player, I display the remaining time and the Ramp remaining time. I want to customize the font color when remaining time displays the ramp countdown and to give another font color when remaining time is for the whole song…

I tried “PlayingRampFontColor” but it doesn’t work. Neither do “RampFontColor”.
Ramp is not a real player state, but is there any way to do that with skin.ini ?

Thank you all.


Theo

Nope.

Thanks.