Roku Direct Publisher

Roku Direct Publisher - the easiest way to create a great TV experience. Learn more about how to create a Roku channel and share your experiences with others.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Nube
Level 7

error JSON (SyntaxError: Unexpected token u in JSON at position 160)

{
"id":"1509428502952",
"title":"Radio y Tv Mexiquense",
"content":{
"dateAdded": "2022-05-20T22:21:37+00:00",
"videos": [
{
url: "http://streamingcws20.com:1935/mexiquense/videomexiquense/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9...",
quality: "HD",
videoType: "m3u8"
}
],
duration: 3600,
captions: [ ],
adBreaks: ["00:15:00", "00:30:00", "00:45:00"],
language: "en",

},
"genres":[
"Noticias",


],
"thumbnail":"s3://docs.radioytv/usuarios/Planeacion/roku/ROKU MINIATURA 800X450.jpg",
"releaseDate":"2022-05-25",
"shortDescription":"Tv en vivo",
"longDescription":"Radio y Televisión Mexiquense somos información y entretenimento. Noticias internacionales, nacionales y locales. Televisión y 6 estaciones de Radio.",
"tags":[
"television",
"Noticias",
"Entretenimiento",
"Musica"
]
}

0 Kudos
3 REPLIES 3
Baradanikto
Level 13

Re: error JSON (SyntaxError: Unexpected token u in JSON at position 160)

There's no way to tell where line 160 is in what you've posted.  Please post the entire feed file.

FREE Windows desktop software for creating BIF (Trick Play), Direct Publisher (MRSS, JSON), and FireTV feeds @ GitHub/rrirower. No programming knowledge required.
0 Kudos
Baradanikto
Level 13

Re: error JSON (SyntaxError: Unexpected token u in JSON at position 160)

Taking a closer look at what you posted, I see that you used "m3u8" as a video type.  That is not valid.  Please refer to this statement in the Roku JSON spec:

Must be one of the following:
HLS
SMOOTH
DASH
MP4
MOV
M4V
FREE Windows desktop software for creating BIF (Trick Play), Direct Publisher (MRSS, JSON), and FireTV feeds @ GitHub/rrirower. No programming knowledge required.
0 Kudos
Nube
Level 7

Re: error JSON (SyntaxError: Unexpected token u in JSON at position 160)

this is my code

0 Kudos