Javascript error doesn't go away

Happens everytime when selecting Live TV > On Later

Latest pre-release v2022.03.28.2141
Refreshing browser page gives same error
Deleted and recreated guide database and still same error
Bounced server and still same error

A Javascript error has occurred!

Please refresh the browser after reporting this issue on Channels Community or to [email protected].
j.ProgramID is undefined
rY/</<@http://192.168.1.3:8089/admin/components/OnLater.js:169
rY/<@http://192.168.1.3:8089/admin/components/OnLater.js:167
rY@http://192.168.1.3:8089/admin/components/OnLater.js:111
mj@http://192.168.1.3:8089/node_modules/react-dom/cjs/react-dom.production.min.js:157
zj@http://192.168.1.3:8089/node_modules/react-dom/cjs/react-dom.production.min.js:180
Pn1@http://192.168.1.3:8089/node_modules/react-dom/cjs/react-dom.production.min.js:269
kn1@http://192.168.1.3:8089/node_modules/react-dom/cjs/react-dom.production.min.js:250
V82@http://192.168.1.3:8089/node_modules/react-dom/cjs/react-dom.production.min.js:250
um@http://192.168.1.3:8089/node_modules/react-dom/cjs/react-dom.production.min.js:250
Pj@http://192.168.1.3:8089/node_modules/react-dom/cjs/react-dom.production.min.js:243
Fn1</D91/<@http://192.168.1.3:8089/node_modules/react-dom/cjs/react-dom.production.min.js:123
e71</u6.unstable_runWithPriority@http://192.168.1.3:8089/node_modules/scheduler/cjs/scheduler.production.min.js:18
to@http://192.168.1.3:8089/node_modules/react-dom/cjs/react-dom.production.min.js:122
D91@http://192.168.1.3:8089/node_modules/react-dom/cjs/react-dom.production.min.js:123
zr@http://192.168.1.3:8089/node_modules/react-dom/cjs/react-dom.production.min.js:122
dn@http://192.168.1.3:8089/node_modules/react-dom/cjs/react-dom.production.min.js:237
Aj@http://192.168.1.3:8089/node_modules/react-dom/cjs/react-dom.production.min.js:170
rY/g/</<@http://192.168.1.3:8089/admin/components/OnLater.js:64
BY1</S4.serverRequest@http://192.168.1.3:8089/admin/globals.js:77

Can you send me the json from x:8089/dvr/guide/on_later

Problem appears to be my manual recordings for today are being picked up in the On Today collection, but they have no ProgramID

"title": "On Today",
"type": "airing",
"collection": [{
        "Channels": ["6108"],
        "Source": "manual",
        "Channel": "6108",
        "Time": 1648591201,
        "Duration": 600,
        "Title": "Canary DIY Recording",
        "Summary": "Canary DIY Test Recording",
        "Image": "https://tmsimg.fancybits.co/assets/s67375_ll_h15_ad.png",
        "SeriesID": "9876543210",
        "Score": 0
    }, {
        "Channels": ["6085"],
        "Source": "manual",
        "Channel": "6085",
        "Time": 1648593001,
        "Duration": 600,
        "Title": "Canary SUNDANCE Recording",
        "Summary": "Canary SUNDANCE Test Recording",
        "Image": "https://tmsimg.fancybits.co/assets/s92041_ll_h9_aa.png",
        "SeriesID": "9876543201",
        "Score": 0
    }, {
        "Channels": ["6095"],
        "Source": "manual",
        "Channel": "6095",
        "Time": 1648594801,
        "Duration": 600,
        "Title": "Canary REELZ Recording",
        "Summary": "Canary REELZ Test Recording",
        "Image": "https://tmsimg.fancybits.co/assets/s52199_ll_h15_ab.png",
        "SeriesID": "9876543219",
        "Score": 0
    }, {

I schedule these with a script each week so both of my TVE servers have these scheduled every day.
The one TVE server that just finished its last manual recording for the day no longer gets the javascript error. The info above is for the second TVE server that hasn't finished recording them today and is still getting the javascript error.

Here's the entry from x:8089/dvr/jobs for one of them

  {
    "ID": "1648593001-ch6085",
    "Name": "Canary SUNDANCE Recording",
    "Time": 1648593001,
    "Duration": 600,
    "Channels": [
      "6085"
    ],
    "Channel": "",
    "DeviceID": "",
    "RuleID": "",
    "Serial": 0,
    "FileID": "",
    "Skipped": false,
    "Failed": false,
    "Dead": false,
    "Error": "",
    "Airing": {
      "Source": "manual",
      "Channel": "6085",
      "Time": 1648593001,
      "Duration": 600,
      "Title": "Canary SUNDANCE Recording",
      "Summary": "Canary SUNDANCE Test Recording",
      "Image": "https://tmsimg.fancybits.co/assets/s92041_ll_h9_aa.png",
      "SeriesID": "9876543201"
    },
    "UpdatedAt": 1648420141634
  },

Confirmed that's what causes the javascript error. The manual recordings are done for the day and both my TVE servers are allowing me to view On Later now without the error.

Do I need to change the "Source": "manual" to something else, or remove the "SeriesID" when I create manual recordings?

The code expects ProgramID which is missing. Removing more fields won't change that.

I can fix it in the next build.

1 Like

Thanks!