Hi Torben, be handy if a container actually displayed what was inside it without resorting to a right click open properties and then click the container tab.
Perhaps when creating the container it writes to the comments what is inside. You can then either set this to expand automatically or require a click on the arrow that appears.
… which would only work if you do HAVE a Comments column in your Playlist. I removed that column because it’s a feature we have no use for.
I don’t see why this shouldn’t be left as it is: it’s no different from (say) checking the Year or Album for a normal single item, so I feel it should be done the same way.
Unless Torben’s changed it recently (I haven’t checked ;D), auto-expand Comments yes/no is also one of the GUI Options for a Playlist (as in: right-click Playlist, GUI Options >).
But my (slightly cheeky) point was that you can’t assume everyone else sets up mAirList like you do yourself. I do use skin.ini to remove ‘redundant for me’ columns from Playlists, so I genuinely don’t have that ‘expand Comments’ column in any of my Playlists, so I literally would not see whether or not any Item contains any Comments.
But my (slightly cheeky) point was that you can’t assume everyone else sets up mAirList like you do yourself. I do use skin.ini to remove ‘redundant for me’ columns from Playlists, so I genuinely don’t have that ‘expand Comments’ column in any of my Playlists, so I literally would not see whether or not any Item contains any Comments.
BFN
CAD[/quote]
Sorry as you say I had assumed everyone worked with comments “On”. Any information they will contain should come in useful in the News room. But herein is the beauty of mAirList - its user configuration options.
Hi Cad, the answer was staring at me all the time in the script section (add advertisements and news).
With a little help from Torbens’ script example we can label the contents of the container.
The example:
Code:
// … and pi to access the ordinary item properties and to add that item to a playlist
pi.SetTitle(‘Container with two files’);
The change:
Code:
// … and pi to access the ordinary item properties and to add that item to a playlist
pi.SetTitle(‘Container with Ad Break and News’);
This then becomes a basic description for the container, with no need to look inside.
edit
Without a script you would write the description as the item title with a right click.
Kind Regards Tony