INTERACT FORUM

More => Old Versions => JRiver Media Center 22 for Windows => Topic started by: djfalstaff on January 07, 2017, 01:52:01 am

Title: Get the count of how many playlists a track is in as an expression field
Post by: djfalstaff on January 07, 2017, 01:52:01 am
I'd like to get the count of how many playlists a track is in as an expression field.
Is it possible?
Title: Re: Get the count of how many playlists a track is in as an expression field
Post by: Matt on January 07, 2017, 12:29:20 pm
I'm not aware of any way to do this.

Honestly checking if a file is in any playlist is pretty expensive, so I'm not sure it's a good candidate for addition.
Title: Re: Get the count of how many playlists a track is in as an expression field
Post by: djfalstaff on January 07, 2017, 01:29:15 pm
No problem. At least I know now.
Title: Re: Get the count of how many playlists a track is in as an expression field
Post by: blgentry on January 07, 2017, 03:46:28 pm
Hmm, maybe I'm missing something but...

[Playlists] is a field you can show in any view.  It gives a semicolon delimited list of the playlists that a file is in.

I'm having no success getting ListCount() to operate on it, but the field itself certainly seems to be accessible.

Brian.
Title: Re: Get the count of how many playlists a track is in as an expression field
Post by: djfalstaff on January 07, 2017, 04:07:21 pm
It's not a field I can use in a smartlist expression column. I just don't see it.
Title: Re: Get the count of how many playlists a track is in as an expression field
Post by: Dawgincontrol on January 07, 2017, 08:41:45 pm
In standard view, if I hover over the track with the pointer, it lists all the playlists the track is in.
Title: Re: Get the count of how many playlists a track is in as an expression field
Post by: djfalstaff on January 07, 2017, 09:45:51 pm
Right, but I'm not trying just look up the info.
There's a couple of places to look at it.
I'm trying to add it to an expression column in a smartlist and use the value for some calculations.