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

Could not find Sonos speaker in same wifi network. #4

Open
parth0072 opened this issue Mar 5, 2020 · 0 comments
Open

Could not find Sonos speaker in same wifi network. #4

parth0072 opened this issue Mar 5, 2020 · 0 comments

Comments

@parth0072
Copy link

Hey I've Implemented the sonosLib in my project but sometime I'm not getting all groups.

I want to find Sonos speaker list in same wifi.

I've implemented following code.

SonosInteractor
      .getAllGroups()
      .filter({ $0.count > 0 })
      .take(1)
      .subscribe(onNext: { [weak self] (groups) in
          print(groups.count)
          self?.sonosController = groups
          self?.tblSonos.reloadData()
      })
      .disposed(by: disposebag)

Sometime it doesn't work in demo project also.
Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant