How does your Player.Open request look like? Have you tried just using Player.Open and providing the path to the XSP there instead of going through Playlist.Add first?
Always read the online manual(wiki), FAQ(wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules(wiki).
Please read the pages on troubleshooting(wiki) and bug reporting(wiki) before reporting issues.