You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the example to understand how can i use API.
When i start example py i receive this:
Traceback (most recent call last):
File "/root/chromecast/chromecast-venv/lib/python3.11/site-packages/catt/stream_info.py", line 197, in _get_stream_url
best_format = next(format_selector(info))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/chromecast/prova2.py", line 20, in <module>
ouch(sys.argv[1])
File "/root/chromecast/prova2.py", line 15, in ouch
cast.play_url(video, resolve=True, block=True)
File "/root/chromecast/chromecast-venv/lib/python3.11/site-packages/catt/api.py", line 86, in play_url
url = stream.video_url
^^^^^^^^^^^^^^^^
File "/root/chromecast/chromecast-venv/lib/python3.11/site-packages/catt/stream_info.py", line 111, in video_url
return self._get_stream_url(self._info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/chromecast/chromecast-venv/lib/python3.11/site-packages/catt/stream_info.py", line 199, in _get_stream_url
raise FormatError("No suitable format was found")
catt.error.FormatError: No suitable format was found
The text was updated successfully, but these errors were encountered:
I use the example to understand how can i use API.
When i start example py i receive this:
The text was updated successfully, but these errors were encountered: