Remove broken GDMDiscoverable.info_from_entry#209
Remove broken GDMDiscoverable.info_from_entry#209balloob merged 1 commit intohome-assistant-libs:masterfrom scop:gdm-info
Conversation
|
Well, if it ain't broken, don't fix it 😉 |
|
The typing changes I've made will show that this is indeed broken, I'm just not sure what the complete correct fix would me. Would you prefer me to submit the typing stuff that demonstrates the breakage first? |
|
GDM is used for Plex right? Although it does indeed look wrong (it's a dictionary and that's not how values are extracted), I think it works? 🤔 |
|
Ah, so just Plex uses it and Plex has implemented their own |
|
I can modify this PR to remove the method if you like, but I have nothing to actually test this stuff with. |
|
I would just remove it. It's not used and we wouldn't want to test it. GDM is a Plex specific discovery protocol 🤦♂️ |
Another thing found while working on typing stuff. I have no way to test this, but while I believe this is correct in principle, it may also not solve the issue entirely it seems to me the dict may not always contain the accessed keys. In particular, is there a
locationkey in the first place, or shouldHostbe used instead? And isn't the otherPortinstead ofport?