2020-01-08, 19:25
(2020-01-08, 19:18)Hitcher Wrote:(2020-01-07, 21:37)sualfred Wrote: I have no checks implemented. It's better to use a $VAR[] with a check for existing ListItem.DBID + ListItem.DBType is movie, tvshow, episode or season.OK thanks.
But be aware of "*all season". This item has dbtype "season" but isn't callable with JSON. Integer.IsGreaterOrEqual(ListItem.Season,0) should be fine. As far as I remember there was no problem with specials, which have "0".