INTERACT FORUM

Please login or register.

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

Author Topic: How many Artists are in my Playlist?  (Read 701 times)

MusicBringer

  • Galactic Citizen
  • ****
  • Posts: 438
  • MC33.0.30 x64bit
How many Artists are in my Playlist?
« on: March 28, 2022, 02:26:01 pm »

Hello,
I have a playlist of 1000+ tracks.
How can I tell how many Artists are in there ❓
thanks,
Logged
Caesar adsum jam forte. Brutus aderat. Caesar sic in omnibus. Brutus sic inat.

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2620
Re: How many Artists are in my Playlist?
« Reply #1 on: March 28, 2022, 02:48:53 pm »

Services & Plugins -> Reporter
Logged

MusicBringer

  • Galactic Citizen
  • ****
  • Posts: 438
  • MC33.0.30 x64bit
Re: How many Artists are in my Playlist?
« Reply #2 on: March 28, 2022, 02:53:25 pm »

Thanks zybex,
Yes I know that Reporter is  there.
My question is How many Artists are in my Playlist?
Logged
Caesar adsum jam forte. Brutus aderat. Caesar sic in omnibus. Brutus sic inat.

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2620
Re: How many Artists are in my Playlist?
« Reply #3 on: March 28, 2022, 03:11:17 pm »

Sorry, I misread and thought you wanted the total count for your entire library.
For a single playlist... hmm...

> SELECT COUNT(distinct Artist) from files F where F.Playlists like '%my playlist%'
error: non-relational DB

Damn. This probably requires some global variable magic, I'll leave this for someone else  ::)

Well, actually you may get a quick answer with this on the Search box:
Code: [Select]
~nodup=Artist
This will pickup one file per Artist, so the number of files on the resulting list is your answer.
Note that 'ArtistA; ArtistB' counts as 1, and 'ArtistB; ArtistA' also counts as 1 and is different from the first.
Logged

MusicBringer

  • Galactic Citizen
  • ****
  • Posts: 438
  • MC33.0.30 x64bit
Re: How many Artists are in my Playlist?
« Reply #4 on: March 28, 2022, 03:22:01 pm »

~nodup=Artist

Whoopee! By George, I think he’s got it!
For example it has found I have J.J. Cale and J.J.Cale.
Many thanks zybex, just what I wanted 🙂👍
Logged
Caesar adsum jam forte. Brutus aderat. Caesar sic in omnibus. Brutus sic inat.

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: How many Artists are in my Playlist?
« Reply #5 on: March 29, 2022, 09:21:42 am »

An alternative solution:

Build a new Panes view.  Add the following panes to it:

Playlist group: Root of all playlists
Artist
Album

Now to use it, just scroll through the playlists pane and click on a playlist name.  You'll see that the Artist and Album columns now have a count in (parenthesis) that shows the total in the playlist you have selected.  Count of artists, count of albums.  You can add more columns if it's interesting to you like Genre, etc.  This is a nice way of working with playlists in general.

Brian.
Logged

MusicBringer

  • Galactic Citizen
  • ****
  • Posts: 438
  • MC33.0.30 x64bit
Re: How many Artists are in my Playlist?
« Reply #6 on: March 29, 2022, 10:11:23 am »

This is a nice way of working with playlists Brian.
Brian, nice. Very nice thank you.
Logged
Caesar adsum jam forte. Brutus aderat. Caesar sic in omnibus. Brutus sic inat.
Pages: [1]   Go Up