INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Get the count of how many playlists a track is in as an expression field  (Read 2705 times)

djfalstaff

  • Recent member
  • *
  • Posts: 43

I'd like to get the count of how many playlists a track is in as an expression field.
Is it possible?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42444
  • Shoes gone again!
Re: Get the count of how many playlists a track is in as an expression field
« Reply #1 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.
Logged
Matt Ashland, JRiver Media Center

djfalstaff

  • Recent member
  • *
  • Posts: 43
Re: Get the count of how many playlists a track is in as an expression field
« Reply #2 on: January 07, 2017, 01:29:15 pm »

No problem. At least I know now.
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Get the count of how many playlists a track is in as an expression field
« Reply #3 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.
Logged

djfalstaff

  • Recent member
  • *
  • Posts: 43
Re: Get the count of how many playlists a track is in as an expression field
« Reply #4 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.
Logged

Dawgincontrol

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 679
  • We have met the enemy and he is us.
Re: Get the count of how many playlists a track is in as an expression field
« Reply #5 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.
Logged

djfalstaff

  • Recent member
  • *
  • Posts: 43
Re: Get the count of how many playlists a track is in as an expression field
« Reply #6 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.
Logged
Pages: [1]   Go Up