Closed hklages closed 3 years ago
It are not the same arguments, the second one sends an object. And the first one send the correct parameters but as arguments.
each call to a service requires to send exactly one (or zero) arguments, where the argument always is an object. If your code was typescript it would not compile.
The command:
const basicFavorites = await kidsPlayer.ContentDirectoryService.Browse('FV:2', 'BrowseDirectChildren', '*', 0, 200, '')
throws an error:
while on the other hand same arguments work find an ExecuteCommand: