jsiegenthaler / homebridge-eosstb

A homebridge plugin for the EOS set-top box as used by Sunrise, Telenet, Ziggo, Virgin Media and maybe more in various countries on the Horizon Go (HGO) platform
https://github.com/jsiegenthaler/homebridge-eosstb
32 stars 4 forks source link

No channels (master list) with 1.1.0 #22

Closed meesjan closed 3 years ago

meesjan commented 3 years ago

After updating to 1.1.0 the master channel list is not loaded. The channels are not available in HomeKit anymore.

See error log below.

[28/03/2021, 14:38:39] [eosstb] Mediabox: Refreshing channel list... (node:28516) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'favoriteChannels' of undefined at stbDevice.refreshChannelList (/usr/local/lib/node_modules/homebridge-eosstb/index.js:2330:69) at new stbDevice (/usr/local/lib/node_modules/homebridge-eosstb/index.js:1774:8) at /usr/local/lib/node_modules/homebridge-eosstb/index.js:434:27 (Use node --trace-warnings ... to show where the warning was created) (node:28516) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:28516) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

My config: { "platform": "eosstb", "country": "nl", "username": "xxxx", "password": "xxxx" }

jsiegenthaler commented 3 years ago

OK I'll look at it

jsiegenthaler commented 3 years ago

Fixed in v1.1.1