Flatpak version unable to play streams
On my Pop!_OS system, the flatpak (0.11.10) can't stream music. Everything appears to work as normal (Now Playing updates, and a notification triggers), except that the music stream doesn't buffer and doesn't start playing.
- Sublime Music version: 0.11.10
- System: Pop!_OS 20.10
- Installed via:
Pop!_OS has flathub set up by default. I couldn't use
flatpak install org.gnome.Platform//3.38 org.gnome.Sdk//3.38 flatpak install --user ./sublime-music.flatpak
org.gnomepackages, and I needed
--userfor Sublime Music.
- Subsonic Server: Navidrome 0.35.1 (served over port 80 on my own domain, through the internet to my NAS)
sudo apt install sublime-music worked once, somehow, but I uninstalled it (that version was old, 0.9.2, I think) and now I can't add my server.
Excerpts of my logs from the matrix channel:
Hey all, I'm using the Flatpak on Pop!_OS, and tracks don't start. Navidrome and the deb package work (but the deb is old). Has anyone seen this before? Or would it be best to file an issue? (If I click a song, the notification pops up and the interface looks like it will start to play, but nothing happens.)
Aside: Pop!_OS handles Flatpaks strangely, so I had to install with --user, no sudo. These errors appear at startup:
Gtk-Message: 19:33:10.699: Failed to load module "appmenu-gtk-module" Gtk-Message: 19:33:11.264: Failed to load module "canberra-gtk-module" (sublime-music:2): Gtk-CRITICAL **: 19:33:11.453: gtk_widget_set_size_request: assertion 'width >= -1' failed 2020-11-23 19:33:11,484:WARNING:zeroconf:__init__:Error sending through socket 18 Traceback (most recent call last): File "/app/lib/python3.8/site-packages/zeroconf/__init__.py", line 2889, in send bytes_sent = s.sendto(packet, 0, (real_addr, port)) PermissionError: [Errno 1] Operation not permitted /app/lib/python3.8/site-packages/sublime_music/ui/albums.py:270: Warning: g_value_get_int: assertion 'G_VALUE_HOLDS_INT (value)' failed self.page_entry.set_text(str(self.album_page + 1))
Followed by Gtk warnings about widget sizes that I don't think are important. There are no errors on playing a song.
Songs don't appear to be downloading/caching at all. The play bar doesn't fill.
Just found this out: if I enable "Allow Song Downloads" and "When Streaming, Also Download Song", then Sublime is able to download the entire song and then starts playing it a minute later.
Specifically, the notification triggers and the Now Playing indicator in the bottom-left updates to the song I chose
No, the play bar is static, and the dark black that usually indicates buffering isn't present.
At the moment, speedtest says 80Mbps. Streaming from the Navidrome UI works fine.
Disabling or changing Navidrome's transcoding also doesn't change anything.