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

Properly fix duplicate bluetooth devices #126

Merged
merged 2 commits into from
Apr 8, 2019

Conversation

C-Prime90
Copy link
Contributor

This reverts the previous PR #124 and properly fixes the bluetooth issue.

sorry guys i missed the fact i broke stuff but i have fixed it properly now.

@C-Prime90 C-Prime90 force-pushed the proper-bluetooth-fix branch 2 times, most recently from bd3cbde to b13c96e Compare March 24, 2019 08:42
@MilhouseVH
Copy link
Contributor

I'll include this PR in my nightly test builds, let's see how it goes for a few days before merging.

@C-Prime90
Copy link
Contributor Author

C-Prime90 commented Mar 25, 2019

Thanks for testing, I found a case where duplicates can still happen and it made me take a different approach i feel is a better solution, i will be updating PR once i am satisfied so you can test it out.

Issue - If add-on is left open for a very long time duplicates can happen.

Upon realizing what is actually happening i have made it so listItems is not checked and list is rebuilt every time menu_connections() is called if any device is found, everything seems to be working well now i can't manage to create any duplicates with new commit.

@C-Prime90
Copy link
Contributor Author

I am done with this PR now, any issues with it please let me know.

@CvH CvH merged commit 2667a20 into LibreELEC:master Apr 8, 2019
@C-Prime90 C-Prime90 deleted the proper-bluetooth-fix branch April 14, 2019 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants