-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local file casting issues #73
Comments
Hmm... "Connection reset by peer" generally means that the client saw some error and aborted the request. I'm not sure what that error could be, though. We might be sending something wrong. When you play the file from a DLNA server, does it go through your Chromecast? I don't think the Chromecast can do DLNA, can it? |
DLNA uses http, so yes. |
Oops, closed by github magic. |
@skorokithakis Could it be that the file is borked somehow, and that the DLNA-server is somehow mitigating this? Have you had issues with local file casting? |
I didn't have any issues when testing it, but most of my casting is online, so I haven't tested it extensively, I'm afraid. I can test when I get home. |
@skorokithakis Any progress? |
Ah, sorry, completely forgot. Looks like we made a booboo:
|
Err, that's pychromecast code. The previous exception is:
but it just seems that we need to show "no Chromecasts found" or something like that. |
It just fails immediately, which suggests to me that there's some sort of interface error. |
I'm a bit confused now, how does this relate to local file casting? (and how did you get that traceback?) |
Sorry, this is just what I got when trying to cast a local file (it's just what |
@skorokithakis While working on the server stuff, I discovered what causes (at least some of) the issues with the current script. I made this branch, in case you want to push the fix to python 2 users. |
Ah, hmm. I can branch from 0.5.5 into a |
Quick question (my git-foo is on a fairly low level): |
Oh, no, I was just saying that we may want to keep a py2-compat branch around to work on/backport things. The main problem is that we can't really have two release "paths", one for py2 and one for py3, so we can't really say "0.6.0 dropped python2 compatibility, but 0.6.1 reinstated it again because we wanted to make some bugfixes, and then 0.6.2 drops it again". I'll just release 0.5.6 from your branch now, thanks. |
Makes sense. |
Alright, after a lot of failures, I did manage to release |
Howdy
Trying to cast this media file on my CC Ultra:
youtube-dl -f "best[width <=? 3840][height <=? 2160]" https://vimeo.com/225888984
as a local file, results in this traceback:
Served from a DLNA-server, the file plays fine (I did check transcoding settings).
It would be nice to have this fixed, before we axe py2 support. I tried tinkering a bit with the server module, but to no avail.
Upon further investigation, this does not appear to be bitrate related. The Chromecast and the server script are somehow confusing each other when trying to cast certain types of videos. Please note that all the media files that I have had issues with originated from Vimeo (and that regular casting of Vimeo videos with
catt
is also flakey).The text was updated successfully, but these errors were encountered: