Author of pychromecast here, the underlying library that this project uses to control the Chromecast. I wrote this lib initially for use in Home Assistant, https://www.home-assistant.io For Home Assistant I made a rule that all device drivers are stand-alone Home Assistant agnostic Python packages. That way more projects can use it. Glad to see that strategy is working out and it powering projects like this
Show HN: Control Chromecasts from Linux
61–70 of 74 posts
Re: Show HN: Control Chromecasts from Linux
#62Re: Show HN: Control Chromecasts from Linux
#63OT, but i had an idea yesterday... will explain in UX language: would it be possible to send video to chromecast-like device and 'leave sound on mobile device' to be able to listen on bluetooth connected headphones while watching on big screen?
Re: Show HN: Control Chromecasts from Linux
#64OT, but i had an idea yesterday... will explain in UX language: would it be possible to send video to chromecast-like device and 'leave sound on mobile device' to be able to listen on bluetooth connected headphones while watching on big screen?
Re: Show HN: Control Chromecasts from Linux
#65Author of pychromecast here, the underlying library that this project uses to control the Chromecast. I wrote this lib initially for use in Home Assistant, https://www.home-assistant.io For Home Assistant I made a rule that all device drivers are stand-alone Home Assistant agnostic Python packages. That way more projects can use it. Glad to see that strategy is working out and it powering projects like this
Does the pychromecast project use semantic versioning? I've had to pin the library to a specific version after running into an API breaking change on what would be a minor or patch update to 7.X if the project used SemVer.
Re: Show HN: Control Chromecasts from Linux
#66Earlier quoted context omitted.
VLC has a native client afaik. Edit: included since v3.0 https://www.videolan.org/developers/vlc-branch/NEWS
The VLC client is "barebones" - even simple functionality like adjusting the volume is missing. If the network connection drops, the chromecast stops playing (regular chromecast would continue). There is no support for subtitles, alternate audio/video tracks, audio effects, video playback speed, or pretty much anything else. Seeking is supported tho, as are audio-only files.
Re: Show HN: Control Chromecasts from Linux
#67This is nice, I've been using catt mapped to the media keys via the native window manager shortcuts, but this seems easier to set up.
Re: Show HN: Control Chromecasts from Linux
#68I can't tell from this project's readme how to actually play things. It has an instruction for connecting to your chromecast...ok, and then what? In the past I've used https://github.com/keredson/gnomecast which is a standalone simple media player that transcodes if needed and streams to my Chromecast. Thoughts on what this provides that's better?
$ export URL="http://ccmixter.org/content/gmz/gmz_-_Parametaphoriquement.mp3"
$ playerctl -p My_Chromecast open "$URL"
This will cast a song to the Chromecast named "My_Chromecast". I forgot that OpenUri was implemented in the project because I typically cast from other devices and programs, but I'll include it in the README.> Thoughts on what this provides that's better?
People tend to use catt or castnow to cast from the command-line. I wrote about using VLC to cast to the Chromecast[2], but I wouldn't recommend it unless you're watching something that you need VLC for.
[1] https://specifications.freedesktop.org/mpris-spec/2.2/Player...
Re: Show HN: Control Chromecasts from Linux
#69Title says 'from Linux', but the README says 'Linux / *BSD / macOS' under 'Requirements'. How would this work on macOS?
Theoretically it should work if you're able to get D-Bus working on macOS. D-Bus is usually a Linux thing, but it's been ported to other platforms. macOS isn't included in the title because most macOS users don't have D-Bus installed.
I included instructions here[1] with URLs to the macOS versions of D-Bus and PyGObject. I'd be interested in whether you're able get it working.
[1] https://github.com/alexdelorenzo/chromecast_mpris#requiremen...
Re: Show HN: Control Chromecasts from Linux
#70Shameless threadjack: does anyone know a way to cast _to_ a linux or windows desktop? We use chromecast on all our entertainment video monitors, but sometimes I would like to hang on the couch in my office and cast a video to my desktop monitor.
Open the website ?