check for series first

This commit is contained in:
artiume 2020-11-16 16:53:39 -05:00 committed by GitHub
parent 325f018735
commit 47bb4b8f43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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