-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Volume bar of Snapcast group is not updated correctly #534
Comments
Snapcast doesn't technically support a group volume, so this is an Iris-only control. What I think could be done is to revisit how it is calculated. Right now it is only calculated when a client volume is changed in Iris. |
Resolved in release |
The version number indicates what version you have installed, but if your browser has cached an old version's javascript you won't be seeing the latest and greatest. So, please try clearing your browser cache and then re-trying. You can also do a forced refresh which should achieve the same thing but without affecting your settings. Let me know if this does the trick or not. |
Thanks James, for your answer. I have successfully deleted the browser cache. After redoing the settings and giving access to all my accounts, unfortunately the same behaviour appears as before. |
I am unable to replicate, but I've been using the Snapcast Android application as my benchmark for triggering Snapcast events. It looks like you're using some kind of HASS extension, and I wonder if that may be playing a part. There are a few ways to verify this:
It would also be useful to check whether any errors were being encountered in the browser. Initiate the Iris Test Mode (Settings > Debug > Test mode) and open your Developer Console to see if any errors appear. |
Updated to latest Snapcast Android Client v0.20.0.0. |
@jojo141185 thanks again for the screen capture, very helpful. |
@jaedb No, the client I used to record the screen capture runs on Ubuntu 20.04 with Firefox 77.0.1 (64-bit).
I don't think these errors are connected to the problem. |
I'll be honest, I have no clue why this isn't working for you. I've tried Mac, Windows and Mandriva with the mainstream browsers and all appear to be working as expected. The errors you mention in the console output above all refer to CSS issues (and browser support prefixes) so shouldn't be involved. The fact that the client volume updates shows that the Snapcast websocket is working properly, which would be my first port of call. So clearly the volume changes are being broadcast and received correctly. The next step is the volume change triggering a state change in the Iris app, which also clearly works. The group volume is simply an average of the client volumes, calculated on render of the Is the issue across all of your Snapcast groups? Or one group in particular? |
* Display general Spotify error messages that are provided by API * Calculating group volume on render rather than on load, fixes jaedb#534 * Removing group when last client is removed from it * Properly cancellable processes; Playlists that refuse to load tracks * Removing data_dir in favor of Extension.get_data_dir, jaedb#547 * Creating SearchResults component * Search results grid layout; Tracklist * Clearable search results * Ditching thumbnail glow on mobile - performance suffering too much * Play/queue actions on playlist save tracks to index for faster reuse * Fixing context menu trigger silencing; Search form polish * Letter spacing * Fixing theme tweaks; Fixing prefers-color-scheme of false, resolves jaedb#549 * Buildout * Black and flake fixups (still no check_manifest working reliably) * Removing old helpers * Fill prop for thumbnails on Queue and Artist for large screens * Getting a feel for desired multi-language approach jaedb#424 * Language as window.language for access in pure function * Exposing components for translation mapping; Queue and AAlbum views now moved to translation file * Renaming Content to I18n to avoid naming clashes; Artist and Debug views mapped * Mapping Playlist view * Clickable flags; Adding links to version release notes * Merging into main dev stream * Mapping all remaining views - just modals and components to go * All views done this time; Language file mapping for modals.. Will need to do destructuring in second sweep * Halfway through modals mapping * Final components done, dynamic language selector * Adding error boundary around Notifications to catch issues like jaedb#565 * Responsive for < 350px devices, fixes jaedb#532 * Prod buildout * Correcting snapcast config and path * Updating with corrected Snapserver config file path * Mobile polish; Performance experimentation; Loader screen; ; Minor code bugs * Previewing items to add, in prep for random selection (jaedb#546) * Fixing library URI setting (destructuring), possibly related to jaedb#571 * Adding generic loadItem (refactor elsewhere); Adding foundation for Add Random * Modal detection through less-than-ideal jQuery * Add to queue random functional * Adding jest coverage * Added sv.yaml This is the first version of a Swedish translation for Iris. * Upgrading jest * Add German translations * Upgrading to Babel 7; Fixing failing tests * Disable lifecycle methods * Buildout * 3.51 buildout * Adding jest to ci jobs * Adding Code Climate coverage reporter Co-authored-by: James Barnsley <[email protected]> Co-authored-by: el97 <[email protected]> Co-authored-by: Fabian Dennler <[email protected]>
Updated to version 3.51.0 yesterday. The problem is fixed now :) |
* Display general Spotify error messages that are provided by API * Calculating group volume on render rather than on load, fixes jaedb#534 * Removing group when last client is removed from it * Properly cancellable processes; Playlists that refuse to load tracks * Removing data_dir in favor of Extension.get_data_dir, jaedb#547 * Creating SearchResults component * Search results grid layout; Tracklist * Clearable search results * Ditching thumbnail glow on mobile - performance suffering too much * Play/queue actions on playlist save tracks to index for faster reuse * Fixing context menu trigger silencing; Search form polish * Letter spacing * Fixing theme tweaks; Fixing prefers-color-scheme of false, resolves jaedb#549 * Buildout * Black and flake fixups (still no check_manifest working reliably) * Removing old helpers * Fill prop for thumbnails on Queue and Artist for large screens * Getting a feel for desired multi-language approach jaedb#424 * Language as window.language for access in pure function * Exposing components for translation mapping; Queue and AAlbum views now moved to translation file * Renaming Content to I18n to avoid naming clashes; Artist and Debug views mapped * Mapping Playlist view * Clickable flags; Adding links to version release notes * Merging into main dev stream * Mapping all remaining views - just modals and components to go * All views done this time; Language file mapping for modals.. Will need to do destructuring in second sweep * Halfway through modals mapping * Final components done, dynamic language selector * Adding error boundary around Notifications to catch issues like jaedb#565 * Responsive for < 350px devices, fixes jaedb#532 * Prod buildout * Correcting snapcast config and path * Updating with corrected Snapserver config file path * Mobile polish; Performance experimentation; Loader screen; ; Minor code bugs * Previewing items to add, in prep for random selection (jaedb#546) * Fixing library URI setting (destructuring), possibly related to jaedb#571 * Adding generic loadItem (refactor elsewhere); Adding foundation for Add Random * Modal detection through less-than-ideal jQuery * Add to queue random functional * Adding jest coverage * Added sv.yaml This is the first version of a Swedish translation for Iris. * Upgrading jest * Add German translations * Upgrading to Babel 7; Fixing failing tests * Disable lifecycle methods * Buildout * 3.51 buildout * Adding jest to ci jobs * Adding Code Climate coverage reporter Co-authored-by: James Barnsley <[email protected]> Co-authored-by: el97 <[email protected]> Co-authored-by: Fabian Dennler <[email protected]>
Describe the bug
The volume bar of the Snapcast group and its client is not in sync. Group volume bar is also not updated when it is changed via another program, e.g. Snapcast Android App or Homeassistant.
The page must be manually reloaded to update the group volume bar.
To Reproduce
Steps to reproduce the behavior:
3 a) Change Volume of this client in this group (vertical volume bar)
b) Or open e.g. Snapcast Android App and change volume of the group.
The text was updated successfully, but these errors were encountered: