# Question about accessing several videos' info within a Video playlist

**URL:** <https://forum.developer.roku.com/t/question-about-accessing-several-videos-info-within-a-video-playlist/8515>\
**Category:** Archived\
**Tags:** roku-developer-program\
**Created:** [August 23, 2018, 7:46pm UTC](https://forum.developer.roku.com/t/question-about-accessing-several-videos-info-within-a-video-playlist/8515 "2018-08-23T19:46:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![perrycbrown](https://avatars.discourse-cdn.com/v4/letter/p/a698b9/32.png) [@perrycbrown](https://forum.developer.roku.com/u/perrycbrown)\
**Post date:** [August 23, 2018, 7:46pm UTC](https://forum.developer.roku.com/t/question-about-accessing-several-videos-info-within-a-video-playlist/8515/1 "2018-08-23T19:46:23Z")

</div>

After I have created a playlist and assigned it to a Video node, how do I access the info of each video within the playlist, as the playlist moves from video 1, to video 2, to video 3, etc. ?

I’m already watching the Video.contentIndex field :

```auto
m.Video.ObserveField("contentIndex", "OnPlaylistIndexChange")

```

…but when I examine m.Video or m.Video.content within sub OnPlayListIndexChange( ), I’m not seeing anything that looks like a listing of the individual videos within the playlist.

I need to know the individual videos’ info so I can log tracking info to Boxcast, where the vids originate, and thus track each video within the playlist separately in Boxcast.

Thanks for any help…

---

<div class="post-metadata">

**Author:** ![norcaljohnny](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@norcaljohnny](https://forum.developer.roku.com/u/norcaljohnny)\
**Post date:** [April 19, 2019, 6:22am UTC](https://forum.developer.roku.com/t/question-about-accessing-several-videos-info-within-a-video-playlist/8515/2 "2019-04-19T06:22:54Z")

</div>

Not sure what all info you need but you can use something as simple as..

```auto
sub OnPlaylistIndexChange()
  print m.Video.content
end sub

```

Which will return something similar to this.

```auto
  <Component: roSGNode:ContentNode> =
  {
      change: <Component: roAssociativeArray>
      focusable: false
      focusedChild: <Component: roInvalid>
      id: ""
      HDPOSTERURL: "https://archive.org/download/TheBobNewhartShow/TheBobNewhartShow.thumbs%2FThe%20Bob%20Newhart%20Show%20-%20Season%201%2FThe%20Bob%20Newhart%20Show%20s01e01%20-%20Fly%20the%20Unfriendly%20Skies_001463.jpg"
      SHORTDESCRIPTIONLINE1: ""
      STREAMFORMAT: "mp4"
      TITLE: "2 The Bob Newhart Show - Season 1 The Bob Newhart Show s01e01 - Fly the Unfriendly Skies"
      URL: "https://archive.org/download/TheBobNewhartShow/The%20Bob%20Newhart%20Show%20-%20Season%201%2FThe%20Bob%20Newhart%20Show%20s01e01%20-%20Fly%20the%20Unfriendly%20Skies.mp4"
  }

```

---

<div class="post-metadata">

**Author:** ![bryandunbar42](https://avatars.discourse-cdn.com/v4/letter/b/59ef9b/32.png) [@bryandunbar42](https://forum.developer.roku.com/u/bryandunbar42)\
**Post date:** [May 1, 2019, 8:34pm UTC](https://forum.developer.roku.com/t/question-about-accessing-several-videos-info-within-a-video-playlist/8515/3 "2019-05-01T20:34:12Z")

</div>

You need to access the children of m.video.content. I.e. m.video.content.getChild(m.video.contentIndex)
