Console errors when trying to change artwork for a show

Library>TV Shows>click_the_show
Manage>Update Art
The modal displays for a split second and disappears

This is recorded from a custom M3U using the curl manual recording method.
I had to make up a SeriesID (8765432109), otherwise the show and it's recordings can't be managed by Channels DVR.
I'm trying to change the artwork to use what I uploaded to Channels DVR at
http://192.168.1.4:8189/dvr/uploads/1/content

If I go to http://192.168.1.4:8189/dvr/groups/8765432109/posters
It returns this error {"error fetching series images":"gracenote error 1013: invalid_tms_id"}
Everything else works and appears fine with the recordings.

Console output shows this
XHR GET http://192.168.1.4:8189/dvr/groups/8765432109/posters
[HTTP/1.1 503 Service Unavailable 696ms]
GET /dvr/groups/8765432109/posters Service Unavailable globals.js:65:12
TypeError: r.map is not a function
    zc PosterPickerModal.js:189
    React 8
    unstable_runWithPriority scheduler.production.min.js:18
    React 5
    A PosterPickerModal.js:39
    zc PosterPickerModal.js:43
    le2 React
    unstable_runWithPriority scheduler.production.min.js:18
    React 4
    unstable_runWithPriority scheduler.production.min.js:18
    React 6
    showModal globals.js:312
    setTimeout handler*lW1</E4.showModal globals.js:309
    N GroupDetails.js:101
    React 11
    unstable_runWithPriority scheduler.production.min.js:18
    React 11
    <anonymous> app.js:56
    <anonymous> app.js:65
react-dom.production.min.js:216:199
    React 5
    unstable_runWithPriority scheduler.production.min.js:18
    React 4
    unstable_runWithPriority scheduler.production.min.js:18
    React 5
    A PosterPickerModal.js:39
    zc PosterPickerModal.js:43
    le2 React
    unstable_runWithPriority scheduler.production.min.js:18
    React 4
    unstable_runWithPriority scheduler.production.min.js:18
    React 6
    showModal globals.js:312
    (Async: setTimeout handler)
    showModal globals.js:309
    N GroupDetails.js:101
    React 11
    unstable_runWithPriority scheduler.production.min.js:18
    React 11
    <anonymous> app.js:56
    <anonymous> app.js:65
Uncaught (in promise) TypeError: r.map is not a function
    zc PosterPickerModal.js:189
    React 8
    unstable_runWithPriority scheduler.production.min.js:18
    React 5
    A PosterPickerModal.js:39
    zc PosterPickerModal.js:43
    le2 React
    unstable_runWithPriority scheduler.production.min.js:18
    React 4
    unstable_runWithPriority scheduler.production.min.js:18
    React 6
    showModal globals.js:312
    setTimeout handler*lW1</E4.showModal globals.js:309
    N GroupDetails.js:101
    React 11
    unstable_runWithPriority scheduler.production.min.js:18
    React 11
    <anonymous> app.js:56
    <anonymous> app.js:65
PosterPickerModal.js:189:27
    A PosterPickerModal.js:39
    InterpretGeneratorResume self-hosted:1458
    AsyncFunctionNext self-hosted:668
    (Async: async)
    zc PosterPickerModal.js:43
    le2 React
    unstable_runWithPriority scheduler.production.min.js:18
    React 3
    rj self-hosted:1198
    tn1 React
    unstable_runWithPriority scheduler.production.min.js:18
    React 6
    showModal globals.js:312
    (Async: setTimeout handler)
    showModal globals.js:309
    N GroupDetails.js:101
    React 11
    bind_applyFunctionN self-hosted:1349
    X_ self-hosted:1312
    unstable_runWithPriority scheduler.production.min.js:18
    React 3
    bind_applyFunctionN self-hosted:1349
    J32 self-hosted:1312
    React 3
    forEach self-hosted:4326
    React 5
    <anonymous> app.js:56
    <anonymous> app.js:65

You cannot make up IDs and expect things to work. If you use the APIs directly to feed in garbage, the code will keep breaking.

In the future you can use manual/1234 so it's not interpreted as a gracenote id.

1 Like

Thanks, I'm using Airing.Source: "manual", so just change to Airing.SeriesID: "1234" ?
Or do you mean Airing.SeriesID: "manual/1234" ?

I'm assuming you're going to code an exception for that in a future build?

This is what I mean, and it will work already today. If it doesn't look like a number then it is assumed to be non-gracenote (i.e. from xmltv etc)

1 Like

Thanks!