-
-
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
[androidTV] fix version parsing for newer Philips TV models #17373
Conversation
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
You could add a unit test to simulate an older tv version string. Edit: If you provide a JAR, it would be easier to invite people to test. Or maybe @morph166955 can confirm ther eis no regression to older AndroidTV's. |
@morph166955 Here is the jar if that makes testing more easy. |
I don't have a Philips TV personally to test this against. We pulled Philips in a while ago because it runs the ATV protocols under the hood. Philips is much like the Nvidia Shield for this binding where it provides additional hooks beyond what ATV provides. ATV is a very broad userbase because it's not tied to a single vendor. This shouldn't do anything to cause issues with the ATV stack. You may want to put a post on the forum and see if other PTV users can regression test this on older models to make sure it doesn't have issues. |
As test for version as string and as int for PhilipsTV Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
So, I added a test for both the version as a string as well version as an int. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, LGTM
…17373) * [androidTV] fix version parsing for newer Philips TV models Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
…17373) * [androidTV] fix version parsing for newer Philips TV models Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com> Signed-off-by: Patrik Gfeller <patrik.gfeller@proton.me>
…17373) * [androidTV] fix version parsing for newer Philips TV models Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
…17373) * [androidTV] fix version parsing for newer Philips TV models Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
closing #17370
This fixes the issue for me. But needs to be tested for older TVs which provides the int as a version.
(note, the alternative would be to completely remove the version parsing, as the getVersion & setVersions don't seem to be called anywhere)