The last version I posted here runs correctly from a script on my empeg player.

Cheers