INTERACT FORUM

Please login or register.

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

Author Topic: add Total Number of Albums per Artist  (Read 5164 times)

drc

  • World Citizen
  • ***
  • Posts: 115
add Total Number of Albums per Artist
« on: June 19, 2016, 11:06:56 am »

Is it possible to add total number of albums per artists.  Trivial put would like to add it if possible to create / calculate total as it changes.


Thanks
see attached
Logged

AlanDistro

  • World Citizen
  • ***
  • Posts: 138
Re: add Total Number of Albums per Artist
« Reply #1 on: June 19, 2016, 07:58:41 pm »

That would be cool, especially if we could sort by album totals, so I could see the most popular/prolific artists in my library, etc.
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9119
Re: add Total Number of Albums per Artist
« Reply #2 on: June 19, 2016, 10:10:29 pm »

I'm sure that's possible. I currently do it with movie box sets, where I have the number of movies within the set shown after the set name.

I'll post details when I get home later.

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9119
Re: add Total Number of Albums per Artist
« Reply #3 on: June 20, 2016, 12:41:29 am »

Here you go, this seems to work for me, using [album artist (auto)], just substitute with [album artist] if you prefer that...
With a little font colouring...


Build your category like so:


You can copy the expression below and substitute your preferred field if [album artist (auto)] is not your preferred field
Code: [Select]
[album artist (auto),1] <font color="0xaeafce">if(isequal(groupcount(album),1,5),/(groupcount(album) Albums/),/(groupcount(album) Album/))<//font>
-marko

~OHM~

  • Citizen of the Universe
  • *****
  • Posts: 1825
  • "I Don't Play The Music The Music Plays Me"
Re: add Total Number of Albums per Artist
« Reply #4 on: June 20, 2016, 09:05:28 am »

marko, this is a great idea but I can't get it to work. am I missing something?

opps never mind...I got it...thanks

I was expecting to see it in the tab window....
Logged
“I've Reached A Turning Point In My Life. I Now Realize I Have More Yesterdays Then Tomorrows”

~OHM~

  • Citizen of the Universe
  • *****
  • Posts: 1825
  • "I Don't Play The Music The Music Plays Me"
Re: add Total Number of Albums per Artist
« Reply #5 on: June 20, 2016, 09:52:46 am »

Wow...didn't know there was so many ways to spell Various Artists.....lol....finding lots of mistakes....thanks for this!
Logged
“I've Reached A Turning Point In My Life. I Now Realize I Have More Yesterdays Then Tomorrows”

phalanthus

  • Galactic Citizen
  • ****
  • Posts: 461
Re: add Total Number of Albums per Artist
« Reply #6 on: June 20, 2016, 11:23:27 am »

 ;D

can we sort by number of albums?

found it

 ;D ;D
Logged

~OHM~

  • Citizen of the Universe
  • *****
  • Posts: 1825
  • "I Don't Play The Music The Music Plays Me"
Re: add Total Number of Albums per Artist
« Reply #7 on: June 20, 2016, 01:03:43 pm »

;D

can we sort by number of albums?

found it

 ;D ;D

do tell
Logged
“I've Reached A Turning Point In My Life. I Now Realize I Have More Yesterdays Then Tomorrows”

phalanthus

  • Galactic Citizen
  • ****
  • Posts: 461
Re: add Total Number of Albums per Artist
« Reply #8 on: June 20, 2016, 11:41:50 pm »

 ?

maybe i didn't
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9119
Re: add Total Number of Albums per Artist
« Reply #9 on: June 21, 2016, 12:34:16 am »

I tried a few things here just now but none of them worked. I'm thinking it's not possible this way as sorting is derived from the "Expression to group by", then we use that grouping to generate the stats in "Expression to display"

drc

  • World Citizen
  • ***
  • Posts: 115
Re: add Total Number of Albums per Artist
« Reply #10 on: June 26, 2016, 06:32:57 pm »

Wow - Perfect... easy to implement.

Drawing a blank:  where can I change the font color or does it go with the theme.  

Again, thanks perfect solution.
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9119
Re: add Total Number of Albums per Artist
« Reply #11 on: June 27, 2016, 12:01:31 am »

Wow - Perfect... easy to implement.
Again, thanks perfect solution.
You're welcome :)

Drawing a blank:  where can I change the font color or does it go with the theme.
[album artist (auto),1] <font color="0xaeafce">if(isequal(groupcount(album),1,5),/(groupcount(album) Albums/),/(groupcount(album) Album/))<//font>

The 6, bold, red, letters I've hilighted above give the font its colour. Change those, and you change the colour.
This page will help: ---> http://www.color-hex.com/ (you just need the six letters/numbers, ignore the #)

-marko
Pages: [1]   Go Up