Skip to content
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

Can't delete multiple Snapcast entries #3345

Open
1 task done
duhow opened this issue Dec 22, 2024 · 10 comments
Open
1 task done

Can't delete multiple Snapcast entries #3345

duhow opened this issue Dec 22, 2024 · 10 comments
Assignees
Labels
bug Something isn't working Snapcast

Comments

@duhow
Copy link

duhow commented Dec 22, 2024

What version of Music Assistant has the issue?

2.4.0b7

What version of the Home Assistant Integration have you got installed?

2024.12.1

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

  • Yes

The problem

Multiple Snapcast clients with same hostname, different MAC address.
Attempting to cleanup those manually after they timeout (disabled), but they reappear again, looks like delete is not working.

How to reproduce

  • Create multiple Snapcast clients with autodiscovery, same name, different MAC addr.
  • This creates multiple entries in MA Players, each unique with its MAC .
  • Wait several hours for timeout
  • Entries are disabled
  • Attempt to delete the Snapcast clients from MA Players, they disappear from the UI, but after reloading website they are still present. Also present in server.json configuration file of Snapserver.

Music Providers

Not related.

Player Providers

Snapcast

Full log output

No response

Additional information

Workaround: Get to the container, delete server.json file, and restart Music Assistant server.

What version of Home Assistant Core are your running

2024.12.1

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Generic x86-64 (e.g. Intel NUC)

@duhow duhow added the triage label Dec 22, 2024
@OzGav
Copy link
Contributor

OzGav commented Dec 22, 2024

You don’t mention where you are trying to delete them from. HA or MA?

@duhow
Copy link
Author

duhow commented Dec 23, 2024

Everything described is in MA .

@OzGav
Copy link
Contributor

OzGav commented Dec 24, 2024

MA just shows the players supplied by the snapserver. If they are still present in the Snapweb/Snapclient UI then what you see is to be expected.

Are you deleting them using this menu item in the MA UI?
image

@duhow
Copy link
Author

duhow commented Dec 24, 2024

Yes, I was attempting to delete like that. And it did not work. The file server.json (provided by Snapserver) still contained all the entries.

@OzGav
Copy link
Contributor

OzGav commented Dec 24, 2024

Works fine for me. Are you using the MA snapserver? If not try with that.

@duhow
Copy link
Author

duhow commented Dec 24, 2024

I am using MA snapserver and had this issue.

@OzGav
Copy link
Contributor

OzGav commented Dec 24, 2024

@SantiagoSotoC

@SantiagoSotoC
Copy link
Member

You have to delete it from snapcast. snapweb should let you do it, then you can delete it from MA

@duhow
Copy link
Author

duhow commented Dec 26, 2024

Being unable to do it via MA sounds like a bug to me.

@SantiagoSotoC
Copy link
Member

I thought you were using an external server.
Yes, it seems to be a bug, most probably in the library we use, I would like more time to rewrite all that library, for now it has to wait a little bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Snapcast
Projects
Status: NEXT
Development

No branches or pull requests

3 participants