I have this for (var i = 0; i < podcasts.episodes.showOne.length; i++).
It works because the show called showOne is present. It is the first show, so it has the index 0.
There is a second show, let's call it showTwo, at index 1.
Ideally I'm looking for something like (var i = 0; i < podcasts.episodes.[0].length; i++), but that doesn't work. Is there a way to do this?
While we are at it, can I replace "showOne" with a variable too, where the variable represents the show name? That is, how can I insert a variable into here podcasts.episodes.VARIABLE.length?
Cheers!