jfarseneau / antennas

📡 DVR emulator for Plex DVR to connect to Tvheadend.
MIT License
320 stars 41 forks source link

TypeError: body.entries is not iterable #34

Closed Thomvh closed 2 years ago

Thomvh commented 5 years ago

When running the docker file with my TVHeadend setup I get the following error when I try to setup the DVR:

  --> POST /lineup.post?scan=start&source=Cable 404 2ms -
  <-- GET /discover.json
  --> GET /discover.json 200 3ms 329b
  <-- GET /lineup_status.json
  --> GET /lineup_status.json 200 1ms 77b
  <-- GET /discover.json
  --> GET /discover.json 200 0ms 329b
  <-- GET /lineup_status.json
  --> GET /lineup_status.json 200 0ms 77b
  <-- GET /lineup.json
  xxx GET /lineup.json 500 63ms -

  TypeError: body.entries is not iterable
      at /antennas/src/lineup.js:10:30
      at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:182:7)

And Plex gives the message: "There is an error with receiving your channels."

jfarseneau commented 2 years ago

This is hopefully solved now!