Automatic artist/album artist thumbnails with their albums [#17031][#17033]

Help improve MediaMonkey 5 by testing the latest pre-release builds, and reporting bugs and feature requests.

Moderator: Gurus

drakinite
Posts: 988
Joined: Tue May 12, 2020 10:06 am
Contact:

Automatic artist/album artist thumbnails with their albums [#17031][#17033]

Post by drakinite »

Hi,

A feature I really like in MMA (As well as many other music apps) is that the artist/album artist views automatically create thumbnails from their albums. I'm used to that way of visually identifying albums, and it would be nice if undefined artist thumbnails would default to showing their album art.

Image

Blank artist thumbnails showing the first two letters and a random color doesn't really do it for me, and I don't like the grid being filled with a bunch of faces (since most artist profile pictures are just pics of their face). :P
Image
Image
Data scientist, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
Ludek
Posts: 5103
Joined: Fri Mar 09, 2007 9:00 am

Re: Feature request: Automatic artist/album artist thumbnails with their albums

Post by Ludek »

Sounds good to me, actually the code for this already exists -- as originally the artists have been just collage of album images (like e.g. the genres are currently).

Added as https://www.ventismedia.com/mantis/view.php?id=17031
Last edited by Ludek on Wed Oct 28, 2020 5:07 pm, edited 1 time in total.
drakinite
Posts: 988
Joined: Tue May 12, 2020 10:06 am
Contact:

Re: Feature request: Automatic artist/album artist thumbnails with their albums

Post by drakinite »

That's great; thanks!

Just wondering; what happens in the collage if the artist only has 2-3 albums, and it can't populate all 4 squares?
Image
Data scientist, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
Ludek
Posts: 5103
Joined: Fri Mar 09, 2007 9:00 am

Re: Feature request: Automatic artist/album artist thumbnails with their albums

Post by Ludek »

drakinite wrote: Wed Oct 28, 2020 5:06 pm That's great; thanks!

Just wondering; what happens in the collage if the artist only has 2-3 albums, and it can't populate all 4 squares?
Just like in Genres. It shows either 1, 4 or 9
drakinite
Posts: 988
Joined: Tue May 12, 2020 10:06 am
Contact:

Re: Feature request: Automatic artist/album artist thumbnails with their albums

Post by drakinite »

Ah, okay, I see!

Side note for future performance optimizations - Having all of the divs and images on the screen at once seems to cause a significant framerate hit when scrolling up and down. Compared to the albums screen, which scrolls smoothly except at very high window size, the genres view gets pretty bad frame drops when scrolling. If you pre-generate the collage images, then I think the scrolling framerate would be much better, because the browser won't have to render 4 to 9 times the images.

Also, I noticed that the browser seems to send local HTTP requests for every thumbnail, without caching. I think that if the browser is able to cache the thumbnails - Even if the cache has a timeout of just a few minutes - it would drastically improve CPU performance. I talked with jiri about a related problem on MMS here: https://github.com/mediamonkeyserver/mms/issues/35

This is what I see in the network tab of the dev console:
https://i.imgur.com/j13M8Y6.png

Of course it's not a high priority, but if you have some sort of to-do list for future optimizations, it might be good to keep this in mind. :grinning:
Image
Data scientist, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
Ludek
Posts: 5103
Joined: Fri Mar 09, 2007 9:00 am

Re: Feature request: Automatic artist/album artist thumbnails with their albums

Post by Ludek »

I'll verify it tomorrow, but it is caching the thumbs (in the temp dir) and also the thumb links in memory (unless there ia a regression)

But probably you tested genres grid when the thumbs haven't been cached yet and needed to be created?

Also based on my tests the scrolling was always smooth (until I run DbgView). DbgView somehow causes the scrolling to not be smooth. But I am going to re-test it tomorrow.
Ludek
Posts: 5103
Joined: Fri Mar 09, 2007 9:00 am

Re: Feature request: Automatic artist/album artist thumbnails with their albums

Post by Ludek »

OK, checking this today and there really was a regression introduced: MM is trying to repeatedly load thumbs for files with no artwork --> resulting also in the lags described by you. I have fixed this issue for 2272 as https://www.ventismedia.com/mantis/view.php?id=17033 (details in Mantis)

Thanks!
drakinite
Posts: 988
Joined: Tue May 12, 2020 10:06 am
Contact:

Re: Feature request: Automatic artist/album artist thumbnails with their albums

Post by drakinite »

Ah, good catch, thanks for fixing it!
Image
Data scientist, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
drakinite
Posts: 988
Joined: Tue May 12, 2020 10:06 am
Contact:

Re: [REQ] Automatic artist/album artist thumbnails with their albums [#17031 #17033]

Post by drakinite »

How difficult would it be to add cases where there are two and three albums, like these (assuming that the additional images don't come with a performance hit)?

Image

I was surprised how easy it was to make these by tweaking the existing 4-album gallery thumbnails.
For the 3-album one, I set all three thumbnails to 80% width; the bottom one has top & left of 0% and a z-index of -2; the middle one has a top & left of 10% and z-index of -1; and the frontmost has a top & left of 20% and z-index of 0.
Then for the 2-album one, I set both thumbnails to 85% width; the bottom one has top & left of 0% and z-index of -1; and the front one has a top & left of 15% and a z-index of 0.

I'm not sure whether including the z-index helps save processing time for the render engine or not. But if it does hurt performance, it could be omitted since the browser automatically layers them back-to-front.

I don't know how everyone else would feel about it, but I really like the look of the stacked album art in MMA and I think it would look great in the desktop app.
Image
Data scientist, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
Lowlander
Posts: 58839
Joined: Sat Sep 06, 2003 5:53 pm

Re: [REQ] Automatic artist/album artist thumbnails with their albums [#17031 #17033]

Post by Lowlander »

Stacked hides the Artwork mostly for all but the top Artwork.
drakinite
Posts: 988
Joined: Tue May 12, 2020 10:06 am
Contact:

Re: [REQ] Automatic artist/album artist thumbnails with their albums [#17031 #17033]

Post by drakinite »

Yes; though I do think it's a nice aesthetic, and they're still somewhat recognizable to someone who is familiar with the albums.
Also I don't mean to replace the 4- and 9- album galleries; this is a suggestion for artists (and genres) that have either two or three albums.
Image
Data scientist, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
Barry4679
Posts: 2446
Joined: Fri Sep 11, 2009 8:07 am
Location: Australia
Contact:

Re: Automatic artist/album artist thumbnails with their albums [#17031][#17033]

Post by Barry4679 »

Ludek wrote: Wed Oct 28, 2020 5:01 pm Sounds good to me, actually the code for this already exists -- as originally the artists have been just collage of album images (like e.g. the genres are currently).
I do like what you have done here, but actually prefer Drakinite's original request.
drakinite wrote: Wed Oct 28, 2020 11:14 am Hi,

A feature I really like in MMA (As well as many other music apps) is that the artist/album artist views automatically create thumbnails from their albums. I'm used to that way of visually identifying albums, and it would be nice if undefined artist thumbnails would default to showing their album art.

Blank artist thumbnails showing the first two letters and a random color doesn't really do it for me, and I don't like the grid being filled with a bunch of faces (since most artist profile pictures are just pics of their face). :P
I reinstall MM5 so often during the alpha & beta, I have turned off the option to import artist images. ... There are around 4,000 of them, and I don't know what most of them look like. .. The screen becomes a bit like a rouges gallery of unknown faces, and in the case of groups, they are indistinguishable tiny faces. ... A messy jumble really.

I think that it is good that you offer the existing option, and many people will like it, especially for smaller collections. ... I like it for Composers, as I have few of them, as I have blanked the composer tag for all non-classical tracks.

I would prefer to have the option for MM5 to use album art collages for all (albumartist) artists, ie. not just the artists where you cannot locate an artist picture .... I do recognise the artwork from my albums. As drakinite points out this works well in MMA, and it will work even better in MM5 due to the greater thumb size.

It would be good to be able to recognise albumartist people in the Artist sub-node (ie. they would have a collage vs a face or a two alpha summary).
Or it would be OK if non-albumartist artists showed a collage of whatever mixed track albums they appeared in, if that is easier for you.

Possible?
Want a dark skin for MM5? This is the one that works best for me .. elegant, compact & clear.
dtsig
Posts: 3588
Joined: Mon Jan 24, 2011 6:34 pm

Re: Automatic artist/album artist thumbnails with their albums [#17031][#17033]

Post by dtsig »

Sounds like a reasonable suggestion ...
Where's the db and ini stored
Reporting Bugs
Where tags are stored

Not affiliated with MediaMonkey ... just a RABID user/lover
DTSig
drakinite
Posts: 988
Joined: Tue May 12, 2020 10:06 am
Contact:

Re: Automatic artist/album artist thumbnails with their albums [#17031][#17033]

Post by drakinite »

Barry4679 wrote: Sat Oct 31, 2020 9:30 pm I would prefer to have the option for MM5 to use album art collages for all (albumartist) artists, ie. not just the artists where you cannot locate an artist picture .... I do recognise the artwork from my albums. As drakinite points out this works well in MMA, and it will work even better in MM5 due to the greater thumb size.
I thought that MM5 didn't automatically locate artist pictures (at least not by default, and I wasn't aware that it was capable of doing so). All my artist thumbnails were blank until I started manually populating each one.
Image
Data scientist, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
Barry4679
Posts: 2446
Joined: Fri Sep 11, 2009 8:07 am
Location: Australia
Contact:

Re: Automatic artist/album artist thumbnails with their albums [#17031][#17033]

Post by Barry4679 »

drakinite wrote: Sun Nov 01, 2020 12:01 am I thought that MM5 didn't automatically locate artist pictures (at least not by default, and I wasn't aware that it was capable of doing so). All my artist thumbnails were blank until I started manually populating each one.
I think that it is intentionally off by default, because if on at 1st start up it gives a negative 1st impression of MM5, due to all the 1st through background processing and Internet access.

Maybe it will get mention in their Quick Start documentation.
Want a dark skin for MM5? This is the one that works best for me .. elegant, compact & clear.
Post Reply