Jonas Vautherin · @jonasvautherin
4 followers · 395 posts · Server fosstodon.org

Would anybody happen to know how to get debug output from a device? I'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.

I don't think or or get debug output from the receiver, do they?

#chromecast #Pychromecast #catt #castr

Last updated 2 years ago

Jonas Vautherin · @jonasvautherin
4 followers · 395 posts · Server fosstodon.org

@DarkWraithLord can cast in UI. In CLI I like , I used to use , I sometimes go from python directly with , and recently I've been trying .

Also from Chromium you can cast, but I use , so... :-)

#stremio #catt #mkchromecast #Pychromecast #castr #firefox

Last updated 2 years ago

Qyv (;* Mr. Squelch *;) 🍍 · @PhotonQyv
376 followers · 15946 posts · Server mastodon.xyz

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.

So that's what now requests of the via my slightly adapted default media controller.

And I'll stop mucking about with PyChromecast now (;*

#gnomecast #chromecast #Pychromecast

Last updated 3 years ago

Qyv (;* Mr. Squelch *;) 🍍 · @PhotonQyv
376 followers · 15946 posts · Server mastodon.xyz

Ok, so I went back in, and have now further altered the default media controller code (in media.py) in so that I can pass in subtitle formatting from and get PyChromecast to actually pass it along to the device.

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.

#Pychromecast #gnomecast #chromecast

Last updated 3 years ago

Qyv (;* Mr. Squelch *;) 🍍 · @PhotonQyv
376 followers · 15946 posts · Server mastodon.xyz

Ok, so that works...

But it's an annoying bodge, nevertheless, would have been nice if I could just request the media controller to style the subtitles from rather than having to subtly alter my version of PyChromecast to get the to do what I want.

#Pychromecast #gnomecast #chromecast

Last updated 3 years ago

Qyv (;* Mr. Squelch *;) 🍍 · @PhotonQyv
376 followers · 15946 posts · Server mastodon.xyz

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.

#Pychromecast #gnomecast #chromecast

Last updated 3 years ago

Qyv (;* Mr. Squelch *;) 🍍 · @PhotonQyv
376 followers · 15946 posts · Server mastodon.xyz

When I say test, I'm currently watching TV, as is 'er indoors, which means I can't currently switch over to the to see if the film with subtitles, being streamed via has the customised subtitles that I've made use.

#chromecast #gnomecast #Pychromecast

Last updated 3 years ago

Qyv (;* Mr. Squelch *;) 🍍 · @PhotonQyv
376 followers · 15946 posts · Server mastodon.xyz

So, after some digging, the API does offer the ability, in a limited way, to style subtitles, but 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 (which uses Pychromecast) there's no way to style subtitles.

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.

#chromecast #Pychromecast #gnomecast

Last updated 3 years ago