Forum Discussion

newchannel's avatar
newchannel
Roku Guru
8 years ago

Where does it go in the json?

I am trying to add a credit object for the actors roles, external ID for imdb info and figure out why I can't get my short description to show up. These are for "movies". When I open the channel and  see the images of the movies, it shows only the name of the movie and not the short description. When I choose the movie, it goes to it's own poster page and I see the description and the * to click to read all of the description.

1. Is the short description suppose to display on the home screen beneath the channel logo when the movie is highlighted using the remote? Trying to find out which screen the short description is suppose to display.

2. Where to add the external ID for imdb info?

3. Where to add the credit object?

I've attempted to add but I think I must be adding the object in the wrong place.

Thanks for the tips.

{
"id": "movies07",
"title": "movie title",
"shortDescription": "added a short description here",
"longDescription": "have my longer description of the movie and info etc here",
"thumbnail": "http://xxxxxxxxxxx/800x450.png",
"genres": [
"comedy"
],
"tags": [
"comedy"
],
"releaseDate": "1936-12-17",
"content": {
"dateAdded": "2018-01-06T14:14:54.431Z",
"captions": [],
"duration": 4125,
"adBreaks": [
"00:00:00",
"00:00:53"
],
"videos": [{
"url": "http://xxxxxxxxxxxxxxx.mp4",
"quality": "HD",
"videoType": "mp4"
}]
}
}
],

4 Replies

  • These types of problems occur when you try to code a feed file manually. There are automated solutions for feed generation. In the interim, pay close attention to the Json spec and you should be able to get this to work.
  • I located the following example. The only difference in this from mine is I have the arrangement of where I have objects placed. Does the location of the objects make a difference on what works and what doesn't?

    {
       "id": "1509428502952",
       "title": "Sample Movie",
       "content": {
           ...
       },
       "genres": [
           "drama",
           "comedy",
           "horror"
       ],
       "thumbnail": "https://example.org/cdn/thumbnails/1509428502952/1",
       "releaseDate": "2016-01-01",
       "shortDescription": "Incredible movie description",
       "longDescription": "Even more incredible and longer movie description",
       "tags": [
           "amazing",
           "drama",
           "comedy",
           "horror"
       ]
    }
  • If you can provide me with your complete Json feed file, I can run it through my software to determine if your file is syntactically correct.
  • On my shortformVideos, I have a short description that shows up on the screen under the video title. Without seeing any screenshots of "movies" object,  I am guessing a short description should also show up in the same fashion...but my short description is not displaying on the home screen for the movies object. The credit I tried to add also didn't show up so I've certainly got something in the wrong place or missing something. 

    Will give it a whirl again...

    Thank you.