updates to some macro parameter parsing

mediaplayer requires a number as the second parameter
slideshow requires the literal true of false as the second parameter