API call to start playback?

Hello!

I cannot find how to start playback on Apple TV using API. I cannot find the correct URL I need, any idea?

I have tried:

http://192.168.1.69:32400/system/players/604C39E9-42DA-418F-BDF6-C8C6B2716A2A/application/playMedia?key=%2Flibrary%2Fmetadata%2F22861&X-Plex-Token=mytoken

I get

Traceback (most recent call last): File "/usr/lib/plexmediaserver/Resources/Plug-ins-fef15d30c/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request result = f(**d) File "/usr/lib/plexmediaserver/Resources/Plug-ins-fef15d30c/System.bundle/Contents/Code/playerservice.py", line 67, in process_legacy_remote_command result = cmd(**kwargs) File "/usr/lib/plexmediaserver/Resources/Plug-ins-fef15d30c/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 19, in _apply return apply(f, args, kwargs) File "/usr/lib/plexmediaserver/Resources/Plug-ins-fef15d30c/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/playerkit.py", line 51, in __call__ cmd = self._command + self._function_arg_str(**kwargs) File "/usr/lib/plexmediaserver/Resources/Plug-ins-fef15d30c/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/playerkit.py", line 25, in _function_arg_str formatted_args = self._format_args(**function_args) TypeError: _format_args() takes at least 3 arguments (2 given)

Thanks!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.