fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.6K
active users

#Pychromecast

0 posts0 participants0 posts today
IT News<p>Big Red Button Puts Toddler in Command of Chromecast - Controversial position: the world needs more buttons. We’ve gotten so far away fro... - <a href="https://hackaday.com/2023/11/03/big-red-button-puts-toddler-in-command-of-chromecast/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hackaday.com/2023/11/03/big-re</span><span class="invisible">d-button-puts-toddler-in-command-of-chromecast/</span></a> <a href="https://schleuss.online/tags/homeentertainmenthacks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>homeentertainmenthacks</span></a> <a href="https://schleuss.online/tags/reverseengineering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>reverseengineering</span></a> <a href="https://schleuss.online/tags/pychromecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pychromecast</span></a> <a href="https://schleuss.online/tags/raspberrypi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>raspberrypi</span></a> <a href="https://schleuss.online/tags/chromecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>chromecast</span></a> <a href="https://schleuss.online/tags/wemos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>wemos</span></a></p>
Jonas Vautherin<p>Would anybody happen to know how to get debug output from a <a href="https://fosstodon.org/tags/chromecast" class="mention hashtag" rel="tag">#<span>chromecast</span></a> device? I&#39;m trying to cast a video, but it fails for some reason, and I would like to see the error happening on the receiver side.</p><p>I don&#39;t think <a href="https://fosstodon.org/tags/Pychromecast" class="mention hashtag" rel="tag">#<span>Pychromecast</span></a> or <a href="https://fosstodon.org/tags/catt" class="mention hashtag" rel="tag">#<span>catt</span></a> or <a href="https://fosstodon.org/tags/castr" class="mention hashtag" rel="tag">#<span>castr</span></a> get debug output from the receiver, do they?</p>
Jonas Vautherin<p>@DarkWraithLord@mastodon.social <a href="https://fosstodon.org/tags/stremio" class="mention hashtag" rel="tag">#<span>stremio</span></a> can cast in UI. In CLI I like <a href="https://fosstodon.org/tags/catt" class="mention hashtag" rel="tag">#<span>catt</span></a>, I used to use <a href="https://fosstodon.org/tags/mkchromecast" class="mention hashtag" rel="tag">#<span>mkchromecast</span></a>, I sometimes go from python directly with <a href="https://fosstodon.org/tags/pychromecast" class="mention hashtag" rel="tag">#<span>pychromecast</span></a>, and recently I&#39;ve been trying <a href="https://fosstodon.org/tags/castr" class="mention hashtag" rel="tag">#<span>castr</span></a>.</p><p>Also from Chromium you can cast, but I use <a href="https://fosstodon.org/tags/firefox" class="mention hashtag" rel="tag">#<span>firefox</span></a> , so... :-)</p>
Qyv (;* has moved *;) 🍍<p>In the end I've settled on, slightly larger than standard, yellow subtitles with a darker yellow drop shadow, in a serif font for my viewing pleasure, when a film needs subtitles.</p><p>So that's what <a href="https://mastodon.xyz/tags/Gnomecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Gnomecast</span></a> now requests of the <a href="https://mastodon.xyz/tags/Chromecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Chromecast</span></a> via my slightly adapted <a href="https://mastodon.xyz/tags/PyChromecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PyChromecast</span></a> default media controller.</p><p>And I'll stop mucking about with PyChromecast now (;*</p>
Qyv (;* has moved *;) 🍍<p>Ok, so I went back in, and have now further altered the default media controller code (in media.py) in <a href="https://mastodon.xyz/tags/Pychromecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Pychromecast</span></a> so that I can pass in subtitle formatting from <a href="https://mastodon.xyz/tags/Gnomecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Gnomecast</span></a> and get PyChromecast to actually pass it along to the <a href="https://mastodon.xyz/tags/Chromecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Chromecast</span></a> device.</p><p>Not so quick and dirty as the previous bodge, and there's no sanity checking for what you pass in, but since I promise to behave, it'll do.</p>
Qyv (;* has moved *;) 🍍<p>Ok, so that works...</p><p>But it's an annoying bodge, nevertheless, would have been nice if I could just request the <a href="https://mastodon.xyz/tags/PyChromecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PyChromecast</span></a> media controller to style the subtitles from <a href="https://mastodon.xyz/tags/Gnomecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Gnomecast</span></a> rather than having to subtly alter my version of PyChromecast to get the <a href="https://mastodon.xyz/tags/Chromecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Chromecast</span></a> to do what I want.</p>
Qyv (;* has moved *;) 🍍<p>Still, it's a 2 hour long film, which I watched last night, so there's plenty of time to see if what I've done works.</p><p><a href="https://mastodon.xyz/tags/Pychromecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Pychromecast</span></a> <a href="https://mastodon.xyz/tags/Gnomecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Gnomecast</span></a> <a href="https://mastodon.xyz/tags/Chromecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Chromecast</span></a></p>
Qyv (;* has moved *;) 🍍<p>When I say test, I'm currently watching TV, as is 'er indoors, which means I can't currently switch over to the <a href="https://mastodon.xyz/tags/Chromecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Chromecast</span></a> to see if the film with subtitles, being streamed via <a href="https://mastodon.xyz/tags/Gnomecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Gnomecast</span></a> has the customised subtitles that I've made <a href="https://mastodon.xyz/tags/Pychromecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Pychromecast</span></a> use.</p>
Qyv (;* has moved *;) 🍍<p>So, after some digging, the <a href="https://mastodon.xyz/tags/Chromecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Chromecast</span></a> API does offer the ability, in a limited way, to style subtitles, but <a href="https://mastodon.xyz/tags/Pychromecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Pychromecast</span></a> doesn't from what I can see, pass this ability on, but it does make use of it internally to set up subtitles to have an outline and background colour. So from <a href="https://mastodon.xyz/tags/Gnomecast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Gnomecast</span></a> (which uses Pychromecast) there's no way to style subtitles.</p><p>So, a workaround, which I'm hoping to test in a virtualenv is to add some extra styling into the media_controller class in Pychromecast.</p>