Jump to content

Show individual Songs/Albums Counts on Music Summary Pages


Recommended Posts

user24
Posted

Hi, Presently all the main music Menu Tabs (apart from Suggestions) show a useful Items Count to the LHS of the Play button (1888 Items example shown below):

image.png.b68f2174c7cf432d874e0e9fc9859ed8.png

To find the individual counts for the Songs/Albums of a specific Album Artist/Artist/Composer currently takes a couple more ‘clicks’ to get to the relevant page(s). This is quite ok for looking up something specific on a few occasions, but not as nice for continuous top-level browsing through a music library category.

If the Songs/Albums item counts were added as options to the “Show Fields” edit settings, for Album Artists/Artists/Composers, then this would show the info nicely for anyone wanting to view it more readily. (I would use an Albums Count as a permanently selected option, but others may like to see the Songs Count?) Anyone not wanting this info displayed below the images would not select the respective option(s), similarly to the current setup.

Here is an example showing the Album Artist Title and Albums Count on the main Album Artist summary page:

countexample.thumb.jpg.dc7fcbd6bc45fd67bfab033c5c383f08.jpg

Adding these options would be a great improvement, giving more useful functionality with music viewing. Thanks for considering.

  • Like 3
Posted

HI, yes it makes sense. Thanks.

  • Agree 1
user24
Posted (edited)

Hi again, something else I just thought of...

If Songs Count and Albums Count were optional viewable Fields, then they would make worthwhile Sort By selections, as well.

I likely wouldn’t use these as standard Sort By views, but there are numerous times when I have quickly wanted to see (e.g.) an Album Artist list arranged by Albums Count, or a Composer list arranged by Songs Count. (Example image below.)

image.png.cedcb41c6642794bb5f9170d1bad579c.png

Presently, the only Sort By choices for Album Artists/Artists/Composers are Date Added, Random and Title. Having these two additional selections would be very helpful.

(Sorry for not including this as part of the original feature request.)

Edited by user24
  • Agree 1
  • Thanks 1
  • 1 year later...
user24
Posted (edited)

Well, I've recently figured out a way to get this working, for the Albums Count, by repurposing the AlbumArtist Community Rating field in the metadata editor:

  • Manually add the AlbumArtist Albums Count, divided by 10, to the Community Rating (because the allowable range is 0.1 to 10).
  • Use CSS to change the rating star color to yellow (or, if wanted, whatever color you want).
  • Use JavaScript to multiply by 10, to get back to the correct Albums Count, and append "Album" or "Albums" text.

This all sounds a bit convoluted, but it's easier to do than what it sounds like!

Sorted by Title (ascending) shows tthis:

image.thumb.png.3a61273bce21953084c79076c102dc0e.png

Sorted by Community Rating (descending) shows this:

image.thumb.png.4e755235f2f142795c0eb9a121a7ba5c.png

An added bonus is the Albums Count also shows at the top of the AlbumArtist individual pages - and it can be made 'clickable'!!!

image.thumb.png.6e58246e676a23bcfe071c8382f77789.png

A minor downside is the Albums Count is static and must be manually updated. So, it took a little bit of time for the initial data entry, and I need to remember to update it when I add new albums - not a showstopper though and I haven't reached 100 Albums for anyone just yet!

Other ideas to try when I get time:

  • UseJavascript to fetch the Album Counts from the API and dynamically add them to the Community Rating field.
  • Determine if another field can be repurposed for Songs Counts - but there doesn't seem to be many options???

So far,  the concept has at least been proven workable and it is very useful!

Of course, a native Emby solution would be even better!!!

Edited by user24

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...