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: 
Miantahir
Binge Watcher

Json sample Code

I need your help i upload json feed in roku channel but feed successfully cleared but shows some error that your duration is not set it is 0 duration 

And your thumbail not available 

kidnly help me .

Can anyone provide me sample for json feed code with categories 

Movies

Tv shows

Drama

Comedy

Which i can replace content and upload

 

{
  "providerName": "Sparkx TV",
  "language": "en-US",
  "lastUpdated": "2020-06-11T18:12:32.125Z",
  "shortFormVideos": [

{
  "id": "IY2BJ4tc",
  "title": "Dj Cue Live interview with Dij Sparkx",
  "shortDescription": "Dj Cue Live interview with Dij Sparkx",
  "thumbnail": "https://imagizer.imageshack.com/img923/8561/ALrcnD.jpg",
  "category": ["Sparkx Tv"],
  "tags": ["Sparkx Tv"],
  "releaseDate": "2020-06-08",
  "content": {
  "dateAdded": "2020-06-08T14:14:54.431Z",
  "captions": [],
  "duration": 5585,
  "videos": [{
   "url": "https://jwp.io/s/2AayDl1L",
   "quality": "HD",
   "videoType": "mp4"}]
}},
    {
  "id": "8NPCkWfU",
  "title": "New Grow Again Video Commerical",
  "shortDescription": "Dj Cue Live interviewNew Grow Again Video Commerical with Dij Sparkx",
  "thumbnail": "https://imagizer.imageshack.com/img923/8561/ALrcnD.jpg",
  "category": ["Sparkx Tv"],
  "tags": ["Sparkx Tv"],
  "releaseDate": "2020-06-08",
  "content": {
  "dateAdded": "2020-06-08T14:14:54.431Z",
  "captions": [],
  "duration": 108,
  "videos": [{
   "url": "https://jwp.io/s/rBXu1H7y",
   "quality": "HD",
   "videoType": "mp4"}]
}},
    {
  "id": "HxNHV4Ch",
  "title": "New Life Church www.nlcmarietta.com",
  "shortDescription": "www.sparkxradionetwork.com DO NOT OWN THE MUSIC BUT HAVE PERMISSION TO PLAY IT FCC Regulated Radio Owner @ Copyrights 2020 All rights reserved",
  "thumbnail": "https://imagizer.imageshack.com/img923/8561/ALrcnD.jpg",
  "category": ["Sparkx Tv"],
  "tags": ["Sparkx Tv"],
  "releaseDate": "2020-06-08",
  "content": {
  "dateAdded": "2020-06-08T14:14:54.431Z",
  "captions": [],
  "duration": 103,
  "videos": [{
   "url": "https://jwp.io/s/w42kU9uN",
   "quality": "HD",
   "videoType": "mp4"}]
}},
{
  "id": "Gvz4vb84",
  "title": "Bigsuess Live Mix Show On KSPX Sparkx Radio Network",
  "shortDescription": "Bigsuess Live Mix Show On KSPX Sparkx Radio Network",
  "thumbnail": "https://imagizer.imageshack.com/img923/8561/ALrcnD.jpg",
  "category": ["Sparkx Tv"],
  "tags": ["Sparkx Tv"],
  "releaseDate": "2020-06-08",
  "content": {
  "dateAdded": "2020-06-08T14:14:54.431Z",
  "captions": [],
  "duration": 1845,
  "videos": [{
   "url": "https://jwp.io/s/G7yDk9GM",
   "quality": "HD",
   "videoType": "mp4"}]
}},
{
  "id": "iUcPp7Kc",
  "title": "Cclubtours On KSPX Sparkx Radio Network",
  "shortDescription": "Cclubtours On KSPX Sparkx Radio Network",
  "thumbnail": "https://imagizer.imageshack.com/img923/8561/ALrcnD.jpg",
  "category": ["shortFormVideo"],
  "tags": ["shortFormVideo"],
  "releaseDate": "2020-06-08",
  "content": {
  "dateAdded": "2020-06-08T14:14:54.431Z",
  "captions": [],
  "duration": 1020,
  "videos": [{
   "url": "https://jwp.io/s/idp43CRn",
   "quality": "HD",
   "videoType": "mp4"}]
}}
]}
Tags (1)
0 Kudos
4 REPLIES 4
Baradanikto
Roku Guru

Re: Json sample Code

Can you post a screen capture of the error messages you are receiving?  Your feed file seems to validate correctly as you said.

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
Miantahir
Binge Watcher

Re: Json sample Code

IMG_20200614_005841.jpg

 

IMG_20200614_005907.jpg

The above errors show and my video doesnot play.

 

Can you correct it?

Or can you give me a complete jason code for my channel 

I want categories in my channel with videos

0 Kudos
Baradanikto
Roku Guru

Re: Json sample Code

As the message you displayed states, you must define at least one category in your feed if you've selected that the categories are defined from your feed.  Go to the Developers Portal and check the setting under Manage My Channels/Categories.  If you have it set to "From feed", you must define a category in the 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
Miantahir
Binge Watcher

Re: Json sample Code

feed is not working on my channel when open on my roku express dvice model 3900 but it does not play

sdk channel does play on my device but direct publisher channels do not play on my roku express dvice can you tell me what is the matter?

 

 

and one more thing if you have json feed with categories and live and podcast sample please share here i will be thankful to you.