dweymouth / supersonic

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

[macOS] Supersonic does not show the last track of an album #194

Closed dylanagreen closed 1 year ago

dylanagreen commented 1 year ago

Hello

First off, I love the app! I'm on an M1 Macbook and compiled it from source (after much ire compiling mpv from source to get it to work) and have been using it without issue for a few days now. Today while playing an album I noticed that Supersonic doesn't show the last track in the album, however, if you play through the end of the second to last track of the album, the last track still plays fine. Based on this I suspect it's some sort of visual bug, since supersonic is clearly finding the track well enough to be able to play it.

Here's a screenshot playing the Best of Bond... James Bond album, showing that Another Way to Die (the 23rd track) is playing correctly but not displaying in the album.

Screen Shot 2023-06-15 at 11 45 54 AM

I thought this might be a problem with my native build so I downloaded the latest x64 Big Sur + build from the releases page and ran it through rosetta but it presents the same problem. I have not tested other platforms.

For further information, I run my music server through Navidrome, and when I access the Navidrome web interface the last track of my albums correctly displays and plays there.

dweymouth commented 1 year ago

Hi! Thanks for the report. This is a known issue (#165) and is indeed a visual layout bug since it's dependent on the window size (slightly resize the window and the last track might pop into view). I looked briefly into it but it seems like it's going to be a hard issue to track down since I couldn't reproduce it in a simpler toy app.

BTW you should just be able to compile Supersonic against the homebrew mpv package rather than building mpv yourself :)

dweymouth commented 1 year ago

Closing as duplicate of #165

dylanagreen commented 1 year ago

Ah I apologize, my google-fu failed me and I didn't find the previous issue. Thank you for the quick response!

I can build supersonic against homebrew mpv I'm sure, but I'm weird and resisitant to installing homebrew because I like to control who's doing what to my system /lib, /usr/ etc folders and my last experience trying to uninstall homebrew and everything it had chaotically spread all over the place was less than ideal so I prefer to compile from source now. Strange as that may seem, lol.