Author Topic: Album Play Count  (Read 1560 times)

jonatan192

  • Newbie
  • *
  • Posts: 4
Is there a tag for the play count of an entire album? If not how could I create one?

I was attempting to add the play count tag to the grouping header of the album and tracks view (in the music tab) and is was showing me the play count of only the first track instead of the entire album. how can I fix that?

boroda

  • Hero Member
  • *****
  • Posts: 4742
what do you mean by album play count? sum of track play counts? average of track play counts? min or max of track play counts? or something else?

jonatan192

  • Newbie
  • *
  • Posts: 4
what do you mean by album play count? sum of track play counts? average of track play counts? min or max of track play counts? or something else?

Yes, I mean the sum of the play counts of all the tracks in an album.

boroda

  • Hero Member
  • *****
  • Posts: 4742
this is very bad approach because album play count will be dependent on the number of tracks on the album. 'average' is much better (but not ideal too). but if you want it:

in additional tagging & reporting tools plugin use auto-library reports command:

add album artist group for new preset, add album group, add 'sum(play count)' function. then assign some function id to this preset. create virtual tag with formula: $ALR(<URL>,function_id), add this virtual tag to the main panel.