dweymouth / supersonic

A lightweight and full-featured cross-platform desktop client for self-hosted music servers
GNU General Public License v3.0
675 stars 26 forks source link

Pop-up dialog to search all server content #263

Closed dweymouth closed 7 months ago

dweymouth commented 8 months ago

Should be invoked with a shortcut and probably also a new button next to the settings menu button. Search results should include albums, artists, tracks, and playlists. The existing search field to search within specific pages would remain.

bbsixzz commented 7 months ago

Great feature, could you please make the list resizable/larger so you don't have to scroll so much? Cheers

dweymouth commented 7 months ago

Making it larger I can do; user-resizable isn't supported by Fyne's popup API. I'll probably make its current size the minimum size, but if your app window is larger it will scale itself larger to a certain % of your window height. That is the same thing the popup cover art does, it takes up like 70% of vertical window space (don't remember the exact %)

bbsixzz commented 7 months ago

2 albums appear as 4 in the results.

Screenshot 2023-11-17 at 21 41 31 Screenshot 2023-11-17 at 21 41 17

dweymouth commented 7 months ago

I don't see that? I see the 2 albums, plus individual tracks from those albums

bbsixzz commented 7 months ago

The second image shows the first result highlighted with Artist - 4 albums

dweymouth commented 7 months ago

Oh, you're right, sorry I thought you were saying each album showed up twice in the results. I wonder if this is a Navidrome bug - did you just start seeing this after upgrading to 0.50.0? I just checked quickly and it doesn't repro with my library in 0.49.3

dweymouth commented 7 months ago

Try accessing in the browser http://<your-navidrome-server>:<port>/rest/search3?query=aris%20kindt&u=<your-username>&p=<your-password>&v=1.16.0&c=supersonic&albumCount=0&songCount=0. Is the albumCount property 4 in the result under the artist entry?

bbsixzz commented 7 months ago

Yes

<artist id="73e161735eef64a3ab3ce5f142ae15b2" name="Aris Kindt" coverArt="ar-73e161735eef64a3ab3ce5f142ae15b2_0" albumCount="4"

[EDIT]

I did a full rescan of the library and it's now fixed.