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
Reel Rookie

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
Roku Guru

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 converting Direct Publisher channels to SceneGraph (SDK), for creating BIF (Trick Play) files, Roku (MRSS, JSON) feed files, and FireTV feed files @ GitHub/rrirower.
0 Kudos
Baradanikto
Roku Guru

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 converting Direct Publisher channels to SceneGraph (SDK), for creating BIF (Trick Play) files, Roku (MRSS, JSON) feed files, and FireTV feed files @ GitHub/rrirower.
0 Kudos
Nube
Reel Rookie

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

this is my code

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.