monsterutilities icon indicating copy to clipboard operation
monsterutilities copied to clipboard

Releases Browser

Open defvs opened this issue 5 years ago • 7 comments

Adds a release browser which shows album arts, releases names and artists, and can show one release's tracks in a beautiful manner.

Current progress :

Videos of the latest progress

Newest video with enhancements

https://streamable.com/hdct3

Old but shows some features the first vid doesn't

https://streamable.com/flzmg

Browser :

unknown

  • Shows cover arts
  • Only shows high-res if already in the cache (still figuring out how to deal with it, how about creating a new cached size ? 512 or 256 should be plenty, 64 is a bit small and 1024 is way too much)
  • Size of covers can be changed to show more or less releases at once
  • Gold previews are shown with a gold border
  • You can hover a release to see the full title in case it's too long and cut

Draft for release view (once you click a release) :

DeepinScreenshot_select-area_20190811230648

  • Clicking "Download" will tick the related box in the downloader
  • Clicking "Play" or "Add to Playlist" will use #15 in the near future
  • Cover will be high-res 512x512 probably

Ideas / TODO

  • [x] Other viewing methods such as a ListView
  • [ ] Check in Downloader : Hard to do, SongView is a class and I need a reference.
  • [ ] Add to playlist : Requires #15

defvs avatar Aug 11 '19 23:08 defvs

The release view is very complex. I've tested FXML a bit but I don't like it, I'll do it programatically then.

defvs avatar Aug 11 '19 23:08 defvs

Also, the blur is just here till we figure out what cover size we use. It's currently using the 64px thumbnails which are horrible. I think I'll create a new cached size, 256px. It's the "good" size, not too large, not too small.

defvs avatar Aug 11 '19 23:08 defvs

Hmm, I'd support going with FXML, I was already thinking about implementing it for the main app as well, because then you can easily implement different layouts without changing the actual codeand it forces you to decouple unrelated stuff.

xeruf avatar Aug 12 '19 10:08 xeruf

But in general I like this initiative :+1: It would be nice if you could have different views for viewing the Releases, now it's only a Grid, maybe resize the Grid, add a List View etc. FXML could be useful in that regard.

xeruf avatar Aug 12 '19 10:08 xeruf

About icon size - you can just make the grid items smaller for now. We'll have to make cover caching smarter sooner or later anyways, then we can tackle this as well.

xeruf avatar Aug 12 '19 10:08 xeruf

But in general I like this initiative +1 It would be nice if you could have different views for viewing the Releases, now it's only a Grid, maybe resize the Grid, add a List View etc. FXML could be useful in that regard.

Good idea.

About icon size - you can just make the grid items smaller for now. We'll have to make cover caching smarter sooner or later anyways, then we can tackle this as well.

I'll make the "default" grid size smaller, you'll still be able to change it with buttons (which are not visible in the screenshot, its pretty outdated)

defvs avatar Aug 12 '19 14:08 defvs

Can you merge https://github.com/Xerus2000/util/pull/7 ?

defvs avatar Sep 17 '19 13:09 defvs