# All Videos Show in Single Row - Not Following Feed

**URL:** <https://forum.developer.roku.com/t/all-videos-show-in-single-row-not-following-feed/10818>\
**Category:** Archived\
**Tags:** roku-developer-program\
**Created:** [August 17, 2023, 3:23am UTC](https://forum.developer.roku.com/t/all-videos-show-in-single-row-not-following-feed/10818 "2023-08-17T03:23:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![newperceptions](https://avatars.discourse-cdn.com/v4/letter/n/58f4c7/32.png) [@newperceptions](https://forum.developer.roku.com/u/newperceptions)\
**Post date:** [August 17, 2023, 3:23am UTC](https://forum.developer.roku.com/t/all-videos-show-in-single-row-not-following-feed/10818/1 "2023-08-17T03:23:31Z")

</div>

Using the rdp-to-scenegraph-channel-template-main template I’ve got the feed showing all my videos, but they are all showing in a single row. I’m not a Scene Graph pro by any means. I figured we could just use the migration pathway and we’d be good. But every video is posting into a single row called “movies”. We group our videos into series. But even though the JSON file works fine with the Hero Row from Direct Publisher, it does not work with this template. I’m sure it’s just a loop somewhere I need to add and read the feed into new rows for each series but I don’t know the coding really well. I’m hoping someone else has done this already and can hep me update my component file code appropriately. Here’s my feed: [https://pmchurch.org/feeds/roku](https://pmchurch.org/feeds/roku). Channel is called “Pioneer Media” by “Pioneer Memorial Church”. I appreciate any help anyone can provide. Trying to avoid investing in development when we just need a simple feed, nothing very complex. We just want to see our series rather than just all videos in a “movies” category.

---

<div class="post-metadata">

**Author:** ![newperceptions](https://avatars.discourse-cdn.com/v4/letter/n/58f4c7/32.png) [@newperceptions](https://forum.developer.roku.com/u/newperceptions)\
**Post date:** [August 17, 2023, 3:33am UTC](https://forum.developer.roku.com/t/all-videos-show-in-single-row-not-following-feed/10818/2 "2023-08-17T03:33:21Z")

</div>

I just reviewed my feed again… I guess I’m putting these into playlists, so the issue is that playlists are not showing. Do I need to change these to “series” rather than “playlists” or is there an easy way to make the playlists show?

```auto
"playlists": [{
"name": "Any Old Bush Will Do",
"itemIds": ["17256"]
}, {
"name": "The Best Is Yet to Come",
"itemIds": ["17226"]
}, {
"name": "Return to Calvary",
"itemIds": ["17191", "17156", "17126", "17106", "17066"]
}, {
"name": "Mission: Impossible (Maybe)",
"itemIds": ["16971", "16946", "16911", "16846", "16786", "16761", "16736"]
}
...

```

---

<div class="post-metadata">

**Author:** ![newperceptions](https://avatars.discourse-cdn.com/v4/letter/n/58f4c7/32.png) [@newperceptions](https://forum.developer.roku.com/u/newperceptions)\
**Post date:** [August 17, 2023, 4:09am UTC](https://forum.developer.roku.com/t/all-videos-show-in-single-row-not-following-feed/10818/3 "2023-08-17T04:09:11Z")

</div>

I found a line of code in RootHandlers.brs:

```auto
if item = "movies" or item = "series" or item = "shortFormVideos" or item = "tvSpecials" or item = "liveFeeds"

```

Thinking I could add:

```auto
or item = "playlists" 

```

But that just froze the app and no content was shown. I feel like maybe I’m close, but also have no idea. 🙂

---

<div class="post-metadata">

**Author:** ![Baradanikto](https://sea3.discourse-cdn.com/roku/user_avatar/forum.developer.roku.com/baradanikto/32/99_2.png) [@Baradanikto](https://forum.developer.roku.com/u/Baradanikto)\
**Post date:** [August 17, 2023, 11:27am UTC](https://forum.developer.roku.com/t/all-videos-show-in-single-row-not-following-feed/10818/4 "2023-08-17T11:27:05Z")

</div>

Be advised, that template has lots of problems and is meant to show you a simple example of moving to scenegraph. It is not implicitly compatible with a Direct Publisher feed file. You may want to have a look at the wizard tool I wrote to convert your channel to scenegraph. It’s still in development but it will get you started.

---

<div class="post-metadata">

**Author:** ![RokuJonathanD](https://sea3.discourse-cdn.com/roku/user_avatar/forum.developer.roku.com/rokujonathand/32/140_2.png) [@RokuJonathanD](https://forum.developer.roku.com/u/RokuJonathanD)\
**Post date:** [September 27, 2023, 11:20pm UTC](https://forum.developer.roku.com/t/all-videos-show-in-single-row-not-following-feed/10818/5 "2023-09-27T23:20:14Z")

</div>

**Multiple categories:**

So to get categorized content rows, you need to update two things: (1) your feed and (2) lines 100 and 111 in the **/components/content/RootHandler.brs file**.

**Feed**

So you can see that instead of using contentTypes such as movies and shortFormVideos per the [RDP feed spec](https://developer.roku.com/docs/specs/direct-publisher-feed-specs/json-dp-spec.md#content-types), I used my desired category row names.

**RootHandler**

And then in lines 100 and 111 in the RootHandler, I just replaced the contentTypes with my category row names…

---

<div class="post-metadata">

**Author:** ![newperceptions](https://avatars.discourse-cdn.com/v4/letter/n/58f4c7/32.png) [@newperceptions](https://forum.developer.roku.com/u/newperceptions)\
**Post date:** [September 30, 2023, 12:54am UTC](https://forum.developer.roku.com/t/all-videos-show-in-single-row-not-following-feed/10818/6 "2023-09-30T00:54:33Z")

</div>

I see what you’re doing, but in order to make that work with a series of videos, I would need to make each series have a new category name. Would have to completely rebuild my feed file. I’m trying to use the feed file I already have, and update the SG file. This leads me to a question. Is Direct Publisher a completely different coding structure than SG? I’ve been just thinking that Roku could just share that template file and I’d be good to go. But may be that’s not even possible?

---

<div class="post-metadata">

**Author:** ![Baradanikto](https://sea3.discourse-cdn.com/roku/user_avatar/forum.developer.roku.com/baradanikto/32/99_2.png) [@Baradanikto](https://forum.developer.roku.com/u/Baradanikto)\
**Post date:** [September 30, 2023, 2:20am UTC](https://forum.developer.roku.com/t/all-videos-show-in-single-row-not-following-feed/10818/7 "2023-09-30T02:20:39Z")

</div>

The DP2SceneGraph wizard does handle playlists. Your feed file is parsed for Categories and Playlists in order to display the content in a grid structure.
