From 47bb4b8f43e91be856d60ee043aed85f9b5a5efd Mon Sep 17 00:00:00 2001 From: artiume Date: Mon, 16 Nov 2020 16:53:39 -0500 Subject: [PATCH] check for series first --- source/Main.brs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source/Main.brs b/source/Main.brs index 7bdc6dbb..66c71b83 100644 --- a/source/Main.brs +++ b/source/Main.brs @@ -303,8 +303,12 @@ sub Main() group.visible = false ' TODO - swap this based on target.mediatype - ' types: [ Episode, Movie, Audio, Person, Studio, MusicArtist ] - group = CreateMovieDetailsGroup(node) + ' types: [ Series (Show), Episode, Movie, Audio, Person, Studio, MusicArtist ] + if node.type = "Series" then + group = CreateSeriesDetailsGroup(node) + else + group = CreateMovieDetailsGroup(node) + end if m.scene.appendChild(group) m.overhang.title = group.overhangTitle