TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to send local files to Chromecast with Python

242 pointsby rinzeabout 7 years ago

18 comments

spaceandshitabout 7 years ago
I&#x27;m surprised no one has mentioned Videostream! Works so smooth, and there&#x27;s an iOS app so you don&#x27;t need your computer for play back control.<p><a href="https:&#x2F;&#x2F;getvideostream.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;getvideostream.com&#x2F;</a><p>I also recently downloaded Soda Player for OSX to stream, and it also has similar capabilities.
评论 #16976524 未加载
评论 #16977188 未加载
评论 #16976085 未加载
atomiabout 7 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;skorokithakis&#x2F;catt" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;skorokithakis&#x2F;catt</a>
评论 #16972859 未加载
评论 #16974092 未加载
NicoJuicyabout 7 years ago
I&#x27;m using castnow, a cli in nodejs and has support for streaming torrents and local files<p><a href="https:&#x2F;&#x2F;github.com&#x2F;xat&#x2F;castnow" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;xat&#x2F;castnow</a><p>Edit: from Python to nodejs
评论 #16974481 未加载
wybiralabout 7 years ago
What about the opposite? Are there any good server libraries to cast content to as opposed to casting content from?
评论 #16974044 未加载
评论 #16974926 未加载
Legogrisabout 7 years ago
Another alternative that worked pretty well for me with Linux: <a href="http:&#x2F;&#x2F;mkchromecast.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;mkchromecast.com&#x2F;</a>
keredsonabout 7 years ago
a GUI that does exactly that (and the occasional transcoding &#x2F; reboxing when necessary, to handle mkv files, etc.): <a href="https:&#x2F;&#x2F;github.com&#x2F;keredson&#x2F;gnomecast" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;keredson&#x2F;gnomecast</a>
评论 #16981359 未加载
foxhopabout 7 years ago
Woah this is really, really cool! I&#x27;ve been meaning to mess with chromecast and this does all the heavy lifting for me!<p>I think I&#x27;m going to wrap the script to get a REPL so that I don&#x27;t loose access to the object, similar to what I did for AWS: <a href="https:&#x2F;&#x2F;github.com&#x2F;russellballestrini&#x2F;botoform&#x2F;blob&#x2F;master&#x2F;botoform&#x2F;plugins&#x2F;repl.py" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;russellballestrini&#x2F;botoform&#x2F;blob&#x2F;master&#x2F;b...</a>
kfirabout 7 years ago
SimpleHTTPServer is no longer part of python 3. On Python 3 this `python -m SimpleHTTPServer` should be `python -m http.server`
评论 #16983968 未加载
epiphyteabout 7 years ago
I normally just use LocalCast (<a href="http:&#x2F;&#x2F;www.localcast-app.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.localcast-app.com&#x2F;</a>), although there may be a use case for a kind of &quot;jukebox&quot; application using PyChromecast.
trevordixonabout 7 years ago
I have <a href="http:&#x2F;&#x2F;movies.foamsnet.com&#x2F;url&#x2F;" rel="nofollow">http:&#x2F;&#x2F;movies.foamsnet.com&#x2F;url&#x2F;</a> bookmarked. Give it a URL, and it will send it to Chromecast and provide playback controls in your browser.
bkovacevabout 7 years ago
I am using a tool called AirFlow - has built in support for subtitles which was the first thing I look for when chromcasting. Even though it&#x27;s not free, it&#x27;s an amazing tool. (not affiliated with them at all)
mschuster91about 7 years ago
Interesting. Is it known which libraries the Chromecast uses under the hood? Given that RCE exploits are commonplace for media&#x2F;codec libraries, this can easily be used to get a decent jailbreak on the thing...
评论 #16973465 未加载
评论 #16974051 未加载
daveFNbuckabout 7 years ago
This would be great if it worked. It&#x27;s pretty simple, just pip install pychromecast and call pychromecast.get_chromecasts() in the repl. This returns an empty list for me every time.
评论 #16974684 未加载
mrguyoramaabout 7 years ago
This is awesome! I gave up on my hopes of doing custom stuff with my chromecast when I discovered there was a pricetag on the developer license, but this could be handy!
Mrgirabout 7 years ago
Does this also work with the Chromecast audio? and if not does anyone know of any great open tools for that hardware?
评论 #16975910 未加载
nsomaruabout 7 years ago
Great. Casting is broken on Chromium from the Debian stretch stable repos.
xchaoticabout 7 years ago
generally, you can cast anything from a Chrome browser tab, so just open those files in a new tab and cast away.
zaptheimpalerabout 7 years ago
im pretty sure you can open chrome and just drag a local video into a tab and then chromecast the tab.
评论 #16975525 未加载