-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[spotify] Duplicated Spotify Connect devices are not removed from the Inbox. #7400
Comments
@Hilbrand This still exists on 2.5.4 as well. |
I tried to reproduce this and looked at the core code, but can't find a reason this happens. By design the discovery framework should always remove old things not found anymore. So there might be some condition why this happens in this specific case, but I don't know what it is. It might be something to do with detecting the same device, but one that get some different data causing to not be seen as the same device. Only a different id should not be a problem as that should be handled. |
Which devices did you tried? |
I still get this issue with 2.5.5 - duplicate discovered spotify connect devices in the inbox. If I leave them there to build up long enough I end up with OOM errors too. |
Enhancements: - Added play actions to start a track or other via a rule. - Added albumImageUrl with the url to the album image to not have to send the whole image via the openHAB eventbus. - Added a parameter imageIndex to set the image size to use (0, 1 or 2) to channels albumImage and albumImageUrl. - Added offset and limit parameters to playlists channel (Closes openhab#6843). Fixes: - Fixed invalid expire value set on ExpiringCache (Closes openhab#10490). - Improved handling Spotify API error messages (Closes openhab#11308). - Added TTL to discovery results to fix duplicated Spotify Connect devices reported in the inbox (Closes openhab#7400). Signed-off-by: Hilbrand Bouwkamp <[email protected]>
Enhancements: - Added play actions to start a track or other via a rule. - Added albumImageUrl with the url to the album image to not have to send the whole image via the openHAB eventbus. - Added a parameter imageIndex to set the image size to use (0, 1 or 2) to channels albumImage and albumImageUrl. - Added offset and limit parameters to playlists channel (Closes openhab#6843). Fixes: - Fixed invalid expire value set on ExpiringCache (Closes openhab#10490). - Improved handling Spotify API error messages (Closes openhab#11308). - Added TTL to discovery results to fix duplicated Spotify Connect devices reported in the inbox (Closes openhab#7400). Signed-off-by: Hilbrand Bouwkamp <[email protected]>
Enhancements: - Added play actions to start a track or other via a rule. - Added albumImageUrl with the url to the album image to not have to send the whole image via the openHAB eventbus. - Added a parameter imageIndex to set the image size to use (0, 1 or 2) to channels albumImage and albumImageUrl. - Added offset and limit parameters to playlists channel (Closes openhab#6843). Fixes: - Fixed invalid expire value set on ExpiringCache (Closes openhab#10490). - Improved handling Spotify API error messages (Closes openhab#11308). - Added TTL to discovery results to fix duplicated Spotify Connect devices reported in the inbox (Closes openhab#7400). Signed-off-by: Hilbrand Bouwkamp <[email protected]>
Enhancements: - Added play actions to start a track or other via a rule. - Added albumImageUrl with the url to the album image to not have to send the whole image via the openHAB eventbus. - Added a parameter imageIndex to set the image size to use (0, 1 or 2) to channels albumImage and albumImageUrl. - Added offset and limit parameters to playlists channel (Closes openhab#6843). Fixes: - Fixed invalid expire value set on ExpiringCache (Closes openhab#10490). - Improved handling Spotify API error messages (Closes openhab#11308). - Added TTL to discovery results to fix duplicated Spotify Connect devices reported in the inbox (Closes openhab#7400). - Fixed device list update problem for devices. If no devices where configured as separate things (or the devices added where offline, but non added where not offline) the list was not updated. Signed-off-by: Hilbrand Bouwkamp <[email protected]>
Enhancements: - Added play actions to start a track or other via a rule. - Added albumImageUrl with the url to the album image to not have to send the whole image via the openHAB eventbus. - Added a parameter imageIndex to set the image size to use (0, 1 or 2) to channels albumImage and albumImageUrl. - Added offset and limit parameters to playlists channel (Closes #6843). Fixes: - Fixed invalid expire value set on ExpiringCache (Closes #10490). - Improved handling Spotify API error messages (Closes #11308). - Added TTL to discovery results to fix duplicated Spotify Connect devices reported in the inbox (Closes #7400). - Fixed device list update problem for devices. If no devices where configured as separate things (or the devices added where offline, but non added where not offline) the list was not updated. Signed-off-by: Hilbrand Bouwkamp <[email protected]>
This issue has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/spotify-connect-binding-available/66809/262 |
Enhancements: - Added play actions to start a track or other via a rule. - Added albumImageUrl with the url to the album image to not have to send the whole image via the openHAB eventbus. - Added a parameter imageIndex to set the image size to use (0, 1 or 2) to channels albumImage and albumImageUrl. - Added offset and limit parameters to playlists channel (Closes openhab#6843). Fixes: - Fixed invalid expire value set on ExpiringCache (Closes openhab#10490). - Improved handling Spotify API error messages (Closes openhab#11308). - Added TTL to discovery results to fix duplicated Spotify Connect devices reported in the inbox (Closes openhab#7400). - Fixed device list update problem for devices. If no devices where configured as separate things (or the devices added where offline, but non added where not offline) the list was not updated. Signed-off-by: Hilbrand Bouwkamp <[email protected]> Signed-off-by: Dave J Schoepel <[email protected]>
Enhancements: - Added play actions to start a track or other via a rule. - Added albumImageUrl with the url to the album image to not have to send the whole image via the openHAB eventbus. - Added a parameter imageIndex to set the image size to use (0, 1 or 2) to channels albumImage and albumImageUrl. - Added offset and limit parameters to playlists channel (Closes openhab#6843). Fixes: - Fixed invalid expire value set on ExpiringCache (Closes openhab#10490). - Improved handling Spotify API error messages (Closes openhab#11308). - Added TTL to discovery results to fix duplicated Spotify Connect devices reported in the inbox (Closes openhab#7400). - Fixed device list update problem for devices. If no devices where configured as separate things (or the devices added where offline, but non added where not offline) the list was not updated. Signed-off-by: Hilbrand Bouwkamp <[email protected]> Signed-off-by: Nick Waterton <[email protected]>
Enhancements: - Added play actions to start a track or other via a rule. - Added albumImageUrl with the url to the album image to not have to send the whole image via the openHAB eventbus. - Added a parameter imageIndex to set the image size to use (0, 1 or 2) to channels albumImage and albumImageUrl. - Added offset and limit parameters to playlists channel (Closes openhab#6843). Fixes: - Fixed invalid expire value set on ExpiringCache (Closes openhab#10490). - Improved handling Spotify API error messages (Closes openhab#11308). - Added TTL to discovery results to fix duplicated Spotify Connect devices reported in the inbox (Closes openhab#7400). - Fixed device list update problem for devices. If no devices where configured as separate things (or the devices added where offline, but non added where not offline) the list was not updated. Signed-off-by: Hilbrand Bouwkamp <[email protected]>
Enhancements: - Added play actions to start a track or other via a rule. - Added albumImageUrl with the url to the album image to not have to send the whole image via the openHAB eventbus. - Added a parameter imageIndex to set the image size to use (0, 1 or 2) to channels albumImage and albumImageUrl. - Added offset and limit parameters to playlists channel (Closes openhab#6843). Fixes: - Fixed invalid expire value set on ExpiringCache (Closes openhab#10490). - Improved handling Spotify API error messages (Closes openhab#11308). - Added TTL to discovery results to fix duplicated Spotify Connect devices reported in the inbox (Closes openhab#7400). - Fixed device list update problem for devices. If no devices where configured as separate things (or the devices added where offline, but non added where not offline) the list was not updated. Signed-off-by: Hilbrand Bouwkamp <[email protected]>
The Inbox is filling up with the same device (which I don't want to include in my system) and old ones are not removed automatically. Would be great if these could be removed.
Expected Behavior
Only one Inbox Item /device in the Inbox.
Current Behavior
The Inbox is filling up with the same device.
Possible Solution
When the device is discovered, check if the device is already in the Inbox or not. If yes, remove the old one first.
Your Environment
The text was updated successfully, but these errors were encountered: