catt crashes when trying to cast youtube
See original GitHub issuepizzadude@pizzadude-thinkpad ~ $ catt cast https://www.youtube.com/watch?v=1sTHTdLaSjM
[youtube] 1sTHTdLaSjM: Downloading webpage
[youtube] 1sTHTdLaSjM: Downloading video info webpage
[youtube] 1sTHTdLaSjM: Extracting video information
[youtube] 1sTHTdLaSjM: Downloading MPD manifest
Traceback (most recent call last):
File "/usr/local/bin/catt", line 9, in <module>
load_entry_point('catt==0.2.0', 'console_scripts', 'catt')()
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/catt/cli.py", line 19, in cast
stream_info = get_stream_info(video_url)
File "/usr/local/lib/python2.7/dist-packages/catt/controllers.py", line 15, in get_stream_info
best_format = list(format_selector(info["formats"]))[0]
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1057, in selector_function
for format in f(ctx):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1075, in selector_function
formats = list(ctx['formats'])
TypeError: list indices must be integers, not unicode
This is on Linux Mint 18 (Ubuntu 16.04)
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
YouTube crashes when casting from phone : r/Chromecast
crashes out to homescreen. Going back into the app and reconnecting to the CC then creates very weird behavior with the queue. Clearing...
Read more >YouTube Android app crashing when casting to Google ...
The glitch causes a crashing issue when trying to use Google Chromecast to stream a video from the YouTube Android app.
Read more >skorokithakis/catt: Cast All The Things allows you to ... - GitHub
Cast All The Things allows you to send videos from many, many online sources (YouTube, Vimeo, and a few hundred others) to your...
Read more >Answered: Chromecast Youtube consistent crashing
I can cast youtube for a couple of minutes then it simply returns to the chromecast home screen with no notifications.
Read more >Best News Bloopers 2021 - YouTube
Best Fails Of The Year 2022 | FailArmy. FailArmy•11M views ... I Tried Out for an NBA Team and This Happened… Jesser•8.5M views....
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
Something changed with youtube-dl’s inner-workings as of version
2016.07.16
, which I think is causing this. This is probably the culprit: https://github.com/rg3/youtube-dl/commit/317f7ab634174666e458807fa309a2e7ba459267@pizzadude A temporary fix would be to revert to youtube-dl version
2016.07.13
I can reproduce, thank you for the info, @theychx.