atvscript playing is facing an exception "app is not supported"
See original GitHub issueJust installed via pip install pyatv
scanning is working fine.
Now I want to see what’s currently playing
So while executing atvscript -s 192.168.178.27 playing
I’m facing following error:
{
"result": "failure",
"datetime": "2021-12-06T13:33:35.612050+01:00",
"exception": "app is not supported",
"stacktrace": "Traceback (most recent call last):\n File \"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyatv/scripts/atvscript.py\", line 302, in appstart\n print(args.output(await _handle_command(args, abort_sem, loop)), flush=True)\n File \"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyatv/scripts/atvscript.py\", line 198, in _handle_command\n return await _run_command(atv, args, abort_sem, loop)\n File \"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyatv/scripts/atvscript.py\", line 205, in _run_command\n return output_playing(await atv.metadata.playing(), atv.metadata.app)\n File \"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyatv/core/facade.py\", line 193, in app\n return self.relay(\"app\")\n File \"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyatv/core/relayer.py\", line 82, in relay\n instance = self._find_instance(\n File \"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyatv/core/relayer.py\", line 106, in _find_instance\n raise exceptions.NotSupportedError(f\"{target} is not supported\")\npyatv.exceptions.NotSupportedError: app is not supported\n"
}
further notice: while executing atvscript -s 192.168.178.27 playing
ATV is displaying a pair code, haven’t expected this too.
Issue Analytics
- State:
- Created 2 years ago
- Comments:18 (9 by maintainers)
Top Results From Across the Web
atvscript stops push updates · Issue #543 · postlund/pyatv
Describe the bug When running atvscript -s 10.11.11.2 push_updates I don't seem to get ... not the remote app or anything paired to...
Read more >atvscript - pyatv
When using unicast scanning, i.e. specifying IP address via -s , it is not needed to specify --id as the script will pick...
Read more >GameKit | Apple Developer Forums
Hi, we are using Game Center in crossplatform way for tvOS, macOS and iOS for achievements and leaderboards. Everything was working fine with...
Read more >Manual: iOS Player settings - Unity
No data provided for exceptions on the device (the app runs faster when using the Mono scripting backend). Note: Using this option with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You need to go to the AirPlay menu on your Apple TV and change so that anyone on the same network is allowed to connect.
Perfect! 👍