djp952 / pvr.hdhomerundvr

Unofficial Kodi HDHomeRun DVR PVR Client
https://github.com/djp952/pvr.hdhomerundvr/wiki
Other
59 stars 9 forks source link

Legacy devices causing phantom channel zero to appear in Kodi #6

Closed djp952 closed 7 years ago

djp952 commented 7 years ago

When a legacy HDHomeRun device is detected via the my.hdhomerun.com HTTP API, and if the firmware of that device is new enough, it will be listed as a valid device in the database. When the channel lineup URL is queried, the string 'null' is returned from the backend. This causes a phantom channel 0 to be sent into Kodi, which causes some general havoc, especially with the EPG.

To fix this problem, devices returned from my.hdhomerun.com with the 'Legacy' flag set should be ignored. Also add protection into the lineup query to specifically look for JSON that contains just the string 'null' in case there are other conditions that may cause this in the future.

This issue will be marked as closed when version 1.0.5 has been tested and released.

djp952 commented 7 years ago

Resolved in version 1.0.5