Unable to Edit Metadata on some Pluto recordings

Click Options > Edit Metadata and nothing happens.
I'm guessing it's caused by Airing.OriginalDate: "2023120517"
which is listed as 20231205173000-0800 in the xmltv.

Here's the console errors and recorded file json for one of them

console errors
RangeError: Invalid time value react-dom.production.min.js:216:199
    sZ2 index.js:392
    b3 react-datepicker.min.js:1
    Pi react-datepicker.min.js:1
    Qh react-datepicker.min.js:1
    value react-datepicker.min.js:1
    value react-datepicker.min.js:1
    React 13
        hP
        f91
        Jn1
        Wn1
        i82
        ov
        NP
        zn
        Fy
        tC
        Gn1
        tC
        unstable_renderSubtreeIntoContainer
    showModal globals.jsx:421
    setTimeout handler*e4.showModal globals.jsx:418
    q File.jsx:132
    T DropdownItem.js:41
    g6 useEventCallback.js:6
    c SafeAnchor.js:40
    React 11
        P62
        B62
        j62
        U71
        sn1
        hn1
        j91
        O62
        hn1
        QP
        FP
    unstable_runWithPriority scheduler.production.min.js:18
    React 3
        yo
        B91
        e32
Uncaught RangeError: Invalid time value index.js:392:10
    sZ2 index.js:392
    b3 react-datepicker.min.js:1
    Pi react-datepicker.min.js:1
    Qh react-datepicker.min.js:1
    value react-datepicker.min.js:1
    value react-datepicker.min.js:1
    React 13
        hP
        f91
        Jn1
        Wn1
        i82
        ov
        NP
        zn
        Fy
        tC
        Gn1
        tC
        unstable_renderSubtreeIntoContainer
    showModal globals.jsx:421
    setTimeout handler*e4.showModal globals.jsx:418
    q File.jsx:132
    T DropdownItem.js:41
    g6 useEventCallback.js:6
    c SafeAnchor.js:40
    React 11
        P62
        B62
        j62
        U71
        sn1
        hn1
        j91
        O62
        hn1
        QP
        FP
    unstable_runWithPriority scheduler.production.min.js:18
    React 3
        yo
        B91
        e32
recorded file json
{
    "ID": "2043",
    "JobID": "1701827735-ch9054",
    "GroupID": "pluto/655bfa23174b140014323b49",
    "Path": "TV/Yellowstone 1883 Behind the Story/Yellowstone 1883 Behind the Story 2023120517 2023-12-05-1755.mpg",
    "CreatedAt": 1701827735,
    "FileSize": 39845888,
    "Duration": 78.633333,
    "Delayed": true,
    "Cancelled": true,
    "Completed": true,
    "Processed": true,
    "Airing": {
        "Source": "xmltv:",
        "Channel": "9054",
        "OriginalDate": "2023120517",
        "Time": 1701826200,
        "Duration": 1800,
        "Title": "Yellowstone: 1883: Behind the Story",
        "Summary": "1883, the Yellowstone origin story, introduces us to the original Duttons. Starring Tim McGraw and Sam Elliott.",
        "Image": "https://images.pluto.tv/series/655bfa23174b140014323b49/tile.jpg?fill=blur\u0026fit=fill\u0026fm=jpg\u0026h=900\u0026q=75\u0026w=900",
        "Categories": ["Series"],
        "Genres": ["Entertainment"],
        "Tags": ["Live", "HD", "Stereo", "CC"],
        "SeriesID": "pluto/655bfa23174b140014323b49",
        "ProgramID": "pluto/655bfa23174b140014323b49/20231205173000--0800",
        "ReleaseYear": 2023,
        "Raw": {
            "xmltv": "\u003ctv\u003e\n\u003cchannel id=\"mixible\"\u003e\n\t\t\t\u003cdisplay-name\u003eMixible\u003c/display-name\u003e\n\t\t\t\u003cdisplay-name\u003e1950\u003c/display-name\u003e\n\t\t\t\u003cdesc\u003eMixible is an always-on streaming platform that shifts, mixes, and moves with pop culture.\u003c/desc\u003e\n\t\t\t\u003cicon src=\"https://images.pluto.tv/channels/5dc0c78281eddb0009a02d5e/colorLogoPNG.png\"/\u003e\n\n\t\t\u003clcn\u003e9054\u003c/lcn\u003e\n\u003c/channel\u003e\n\n\u003cprogramme start=\"20231205173000 -0800\" stop=\"20231205180000 -0800\" channel=\"mixible\"\u003e\n\t\t\t\u003ctitle lang=\"en\"\u003eYellowstone: 1883: Behind the Story\u003c/title\u003e\n\t\t\t\u003cicon src=\"https://images.pluto.tv/series/655bfa23174b140014323b49/tile.jpg?fill=blur\u0026amp;fit=fill\u0026amp;fm=jpg\u0026amp;h=900\u0026amp;q=75\u0026amp;w=900\"/\u003e\n\t\t\t\u003cdate\u003e20231122\u003c/date\u003e\n\t\t\t\u003ccategory lang=\"en\"\u003eSeries\u003c/category\u003e\n\t\t\t\u003cseries-id system=\"pluto\"\u003e655bfa23174b140014323b49\u003c/series-id\u003e\n\t\t\t\u003cdesc lang=\"en\"\u003e1883, the Yellowstone origin story, introduces us to the original Duttons. Starring Tim McGraw and Sam Elliott.\u003c/desc\u003e\n\t\t\t\u003ccategory lang=\"en\"\u003eEntertainment\u003c/category\u003e\n\t\t\t\u003ccategory lang=\"en\"\u003eEntertainment\u003c/category\u003e\n\t\t\t\u003clive/\u003e\n\t\t\t\u003cepisode-num system=\"original-air-date\"\u003e20231205173000 -0800\u003c/episode-num\u003e\n\n\t\u003c/programme\u003e\u003c/tv\u003e"
        }
    },
    "ChannelNumber": "9054",
    "DeviceID": "M3U-Pluto",
    "UpdatedAt": 1701827799644,
    "Version": 6,
    "JobTime": 1701826200,
    "JobDuration": 1920,
    "HighestPTS": 7074000,
    "BufferStats": {
        "BufferPct": {
            "Initial": 0,
            "Last": 0,
            "Min": 0,
            "Max": 0,
            "Sum": 0,
            "GoodCount": 0,
            "BadCount": 31
        },
        "BufferDrop": {
            "Initial": 0,
            "Last": 0,
            "Min": 0,
            "Max": 0,
            "Sum": 0,
            "GoodCount": 31,
            "BadCount": 0
        }
    },
    "PlaybackTime": 27,
    "PlayedAt": 1701827780397
}

Thanks! I'll check it out.

Hopeful fix here:

Updated and still getting same behavior on that same recording.

console errors
RangeError: Invalid time value react-dom.production.min.js:216:199
    sZ2 index.js:392
    b3 react-datepicker.min.js:1
    Pi react-datepicker.min.js:1
    Qh react-datepicker.min.js:1
    value react-datepicker.min.js:1
    value react-datepicker.min.js:1
    React 13
        hP
        f91
        Jn1
        Wn1
        i82
        ov
        NP
        zn
        Fy
        tC
        Gn1
        tC
        unstable_renderSubtreeIntoContainer
    showModal globals.jsx:421
    setTimeout handler*e4.showModal globals.jsx:418
    q File.jsx:132
    T DropdownItem.js:41
    g6 useEventCallback.js:6
    c SafeAnchor.js:40
    React 11
        P62
        B62
        j62
        U71
        sn1
        hn1
        j91
        O62
        hn1
        QP
        FP
    unstable_runWithPriority scheduler.production.min.js:18
    React 11
        yo
        B91
        e32
        un1
        Q71
        fn1
        fn1
        m_
        M82
        tC
        render
    <anonymous> app.jsx:69
    <anonymous> app.jsx:87
Uncaught RangeError: Invalid time value index.js:392:1
    sZ2 index.js:392
    b3 react-datepicker.min.js:1
    Pi react-datepicker.min.js:1
    Qh react-datepicker.min.js:1
    value react-datepicker.min.js:1
    value react-datepicker.min.js:1
    React 13
        hP
        f91
        Jn1
        Wn1
        i82
        ov
        NP
        zn
        Fy
        tC
        Gn1
        tC
        unstable_renderSubtreeIntoContainer
    showModal globals.jsx:421
    setTimeout handler*e4.showModal globals.jsx:418
    q File.jsx:132
    T DropdownItem.js:41
    g6 useEventCallback.js:6
    c SafeAnchor.js:40
    React 11
        P62
        B62
        j62
        U71
        sn1
        hn1
        j91
        O62
        hn1
        QP
        FP
    unstable_runWithPriority scheduler.production.min.js:18
    React 11
        yo
        B91
        e32
        un1
        Q71
        fn1
        fn1
        m_
        M82
        tC
        render
    <anonymous> app.jsx:69
    <anonymous> app.jsx:87

Also recorded another show after updating and still same issue.

recorded file json
{
    "ID": "2046",
    "JobID": "1701903828-ch9067",
    "GroupID": "pluto/63ffbd08f9b2f600140a758f",
    "Path": "TV/News and Press Preview/News and Press Preview 2023120615 2023-12-06-1503.mpg",
    "CreatedAt": 1701903829,
    "FileSize": 16777216,
    "Duration": 51.633333,
    "Delayed": true,
    "Cancelled": true,
    "Completed": true,
    "Processed": true,
    "Airing": {
        "Source": "xmltv:",
        "Channel": "9067",
        "OriginalDate": "2023120615",
        "Time": 1701903600,
        "Duration": 1800,
        "Title": "News and Press Preview",
        "Summary": "The key stories of the day alongside discussion and analysis of the stories making tomorrow morning's newspapers in the extended press review.",
        "Image": "https://images.pluto.tv/series/63ffbd08f9b2f600140a758f/tile.jpg?fill=blur\u0026fit=fill\u0026fm=jpg\u0026h=900\u0026q=75\u0026w=900",
        "Categories": ["Series"],
        "Genres": ["News and Information", "General News", "News"],
        "Tags": ["Live", "HD", "Stereo", "CC"],
        "SeriesID": "pluto/63ffbd08f9b2f600140a758f",
        "ProgramID": "pluto/63ffbd08f9b2f600140a758f/20231206150000--0800",
        "ReleaseYear": 2023,
        "Raw": {
            "xmltv": "\u003ctv\u003e\n\u003cchannel id=\"sky-news\"\u003e\n\t\t\t\u003cdisplay-name\u003eSky News\u003c/display-name\u003e\n\t\t\t\u003cdisplay-name\u003e2330\u003c/display-name\u003e\n\t\t\t\u003cdesc\u003eSky News is a world class breaking news service with a spirit of innovation and a fresh approach to news broadcasting. As the UK\u0026apos;s first dedicated 24-hour news channel, Sky News has built a deserved reputation for being the first to break major news.\u003c/desc\u003e\n\t\t\t\u003cicon src=\"https://images.pluto.tv/channels/55b285cd2665de274553d66f/colorLogoPNG.png\"/\u003e\n\n\t\t\u003clcn\u003e9067\u003c/lcn\u003e\n\u003c/channel\u003e\n\n\u003cprogramme start=\"20231206150000 -0800\" stop=\"20231206153000 -0800\" channel=\"sky-news\"\u003e\n\t\t\t\u003ctitle lang=\"en\"\u003eNews and Press Preview\u003c/title\u003e\n\t\t\t\u003cicon src=\"https://images.pluto.tv/series/63ffbd08f9b2f600140a758f/tile.jpg?fill=blur\u0026amp;fit=fill\u0026amp;fm=jpg\u0026amp;h=900\u0026amp;q=75\u0026amp;w=900\"/\u003e\n\t\t\t\u003cdate\u003e20210525\u003c/date\u003e\n\t\t\t\u003ccategory lang=\"en\"\u003eSeries\u003c/category\u003e\n\t\t\t\u003cseries-id system=\"pluto\"\u003e63ffbd08f9b2f600140a758f\u003c/series-id\u003e\n\t\t\t\u003cdesc lang=\"en\"\u003eThe key stories of the day alongside discussion and analysis of the stories making tomorrow morning\u0026apos;s newspapers in the extended press review.\u003c/desc\u003e\n\t\t\t\u003ccategory lang=\"en\"\u003eNews and Information\u003c/category\u003e\n\t\t\t\u003ccategory lang=\"en\"\u003eGeneral News\u003c/category\u003e\n\t\t\t\u003clive/\u003e\n\t\t\t\u003cepisode-num system=\"original-air-date\"\u003e20231206150000 -0800\u003c/episode-num\u003e\n\t\t\t\u003ccategory lang=\"en\"\u003eNews\u003c/category\u003e\n\t\t\t\u003ccategory lang=\"en\"\u003eNews\u003c/category\u003e\n\n\t\u003c/programme\u003e\u003c/tv\u003e"
        }
    },
    "ChannelNumber": "9067",
    "DeviceID": "M3U-Pluto",
    "UpdatedAt": 1701903866848,
    "Version": 6,
    "JobTime": 1701903600,
    "JobDuration": 1800,
    "HighestPTS": 4638000,
    "BufferStats": {
        "BufferPct": {
            "Initial": 0,
            "Last": 0,
            "Min": 0,
            "Max": 0,
            "Sum": 0,
            "GoodCount": 0,
            "BadCount": 18
        },
        "BufferDrop": {
            "Initial": 0,
            "Last": 0,
            "Min": 0,
            "Max": 0,
            "Sum": 0,
            "GoodCount": 18,
            "BadCount": 0
        }
    }
}
console errors
RangeError: Invalid time value react-dom.production.min.js:216:199
    sZ2 index.js:392
    b3 react-datepicker.min.js:1
    Pi react-datepicker.min.js:1
    Qh react-datepicker.min.js:1
    value react-datepicker.min.js:1
    value react-datepicker.min.js:1
    React 13
        hP
        f91
        Jn1
        Wn1
        i82
        ov
        NP
        zn
        Fy
        tC
        Gn1
        tC
        unstable_renderSubtreeIntoContainer
    showModal globals.jsx:421
    setTimeout handler*e4.showModal globals.jsx:418
    q File.jsx:132
    T DropdownItem.js:41
    g6 useEventCallback.js:6
    c SafeAnchor.js:40
    React 11
        P62
        B62
        j62
        U71
        sn1
        hn1
        j91
        O62
        hn1
        QP
        FP
    unstable_runWithPriority scheduler.production.min.js:18
    React 11
        yo
        B91
        e32
        un1
        Q71
        fn1
        fn1
        m_
        M82
        tC
        render
    <anonymous> app.jsx:69
    <anonymous> app.jsx:87
    React 5
    unstable_runWithPriority scheduler.production.min.js:18
    React 9
    showModal globals.jsx:421
    (Async: setTimeout handler)
    showModal globals.jsx:418
    q File.jsx:132
    T DropdownItem.js:41
    g6 useEventCallback.js:6
    c SafeAnchor.js:40
    React 11
    unstable_runWithPriority scheduler.production.min.js:18
    React 11
    <anonymous> app.jsx:69
    <anonymous> app.jsx:87
Uncaught RangeError: Invalid time value index.js:392:10
    sZ2 index.js:392
    b3 react-datepicker.min.js:1
    Pi react-datepicker.min.js:1
    Qh react-datepicker.min.js:1
    value react-datepicker.min.js:1
    value react-datepicker.min.js:1
    React 13
        hP
        f91
        Jn1
        Wn1
        i82
        ov
        NP
        zn
        Fy
        tC
        Gn1
        tC
        unstable_renderSubtreeIntoContainer
    showModal globals.jsx:421
    setTimeout handler*e4.showModal globals.jsx:418
    q File.jsx:132
    T DropdownItem.js:41
    g6 useEventCallback.js:6
    c SafeAnchor.js:40
    React 11
        P62
        B62
        j62
        U71
        sn1
        hn1
        j91
        O62
        hn1
        QP
        FP
    unstable_runWithPriority scheduler.production.min.js:18
    React 11
        yo
        B91
        e32
        un1
        Q71
        fn1
        fn1
        m_
        M82
        tC
        render
    <anonymous> app.jsx:69
    <anonymous> app.jsx:87
    sZ2 index.js:392
    b3 react-datepicker.min.js:1
    Pi react-datepicker.min.js:1
    Qh react-datepicker.min.js:1
    value react-datepicker.min.js:1
    value react-datepicker.min.js:1
    React 13
    showModal globals.jsx:421
    (Async: setTimeout handler)
    showModal globals.jsx:418
    q File.jsx:132
    T DropdownItem.js:41
    g6 useEventCallback.js:6
    c SafeAnchor.js:40
    React 11
    unstable_runWithPriority scheduler.production.min.js:18
    React 6
    forEach self-hosted:4384
    React 5
    <anonymous> app.jsx:69
    <anonymous> app.jsx:87

I'm sure you know more than I do what's going on.
I was just guessing that Airing.OriginalDate: "2023120517", meaning Dec. 5th, 2013 at 5PM was an invalid date format for whatever you're using to extract it.
If take 20231205173000-0800 (Dec. 5th, 2013 at 5:30:00PM PST) or 2023-12-05 (Dec. 5th, 2013) and remove the - (dashes), then extract the left 8 characters 20231205, I would assume that's a valid date format?

Thanks, Confirmed working now

Great. Thanks. Yeah, I flubbed the fix.

1 Like