Fix get SmartPlaylist in XML-API (fix #306)