You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Downloaded the addon on HA and noticed significant delay when playing songs but if you pause or change volume its immediate.
There have been a couple of issues filed with the same problem but closed due to being stale, so opening this one to provide a solution and request maintainer to fix it. #164 - Significant delay when playing/stopping/changing songs #164 #166 - 10s lag when playing, but 0s when pausing #166
For folks seeing delays, please make the following changes -
Stop the addon as it is needed to modify the airsonos.xml
Open airsonos.xml which is located at /addon_configs/a0d7b954_airsonos/airsonos.xml. Your folder name may be slightly different. Use the 'File editor' addon to make this change.
Modify flac to wav
Save airsonos.xml
Start the addon
Verify in the logs that you no longer see Content-Type: audio/flac and it should be Content-Type: audio/wav
The text was updated successfully, but these errors were encountered:
Problem/Motivation
Downloaded the addon on HA and noticed significant delay when playing songs but if you pause or change volume its immediate.
There have been a couple of issues filed with the same problem but closed due to being stale, so opening this one to provide a solution and request maintainer to fix it.
#164 - Significant delay when playing/stopping/changing songs #164
#166 - 10s lag when playing, but 0s when pausing #166
Proposed changes
After debugging the addon, I noticed that it is using flac codec being used is slowing things down. As per the commits, it should be wav. So, its unclear why flac codec is being used when latest commit uses wav at https://github.com/hassio-addons/addon-airsonos/blob/main/airsonos/rootfs/etc/airsonos.xml
For folks seeing delays, please make the following changes -
The text was updated successfully, but these errors were encountered: