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: 
iBat
Newbie

HLS not accept

Hi!
Can not create feed (for LIve tv HLS)
my file .json
{
  "providerName":"Silence TV WORLD",
  "language":"en-US",
  "lastUpdated":"2017-07-01T18:12:32.125Z",
  "shortFormVideos":[
     {
        "id":"Silence77tvqw12",
        "title":"Silence TV WORLD",
        "shortDescription":"This innovative way is getting more and more popular around the world.",
        "thumbnail":"http://93.190.140.42/t/silence800x450.jpg",
        "genres":[
           "nature"
        ],
        "tags":[
           "uk"
        ],
        "releaseDate":"2017-01-03",
        "content":{
           "dateAdded":"2017-01-03T04:14:54.431Z",
          "captions":[

           ],
          "videos":[
              {
                 "url":"http://eurotv.world:8081/roku/live/playlist.m3u8",
                 "quality":"HD",
                 "videoType":"hls"
              }
           ]
        }
     }
  ]
 
}


The answer is

    No valid items were found in the feed1 item has an error: Required content duration missing or invalid. Duration must be greater than 0.
I have no ideas
Tell me

thanks for the answer
0 Kudos
1 REPLY 1
Baradanikto
Roku Guru

Re: HLS not accept

You have a syntax error in your JSON feed file.  If you look at the JSON feed spec, you'll see that the Content object requires a "duration" field.  You have not specified that.  These types of errors typically happen when coding the feed file by hand.

Disclaimer:  I have recently written software to help in creating and managing JSON feed files.  You won't need to know JSON or programming.  The software creates syntacically correct JSON files.  If you're interested, please take a look at my post, New Software to Create and Manage Json Feed files!
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
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.