Comments (5)
Try using the IGNORE_CEC option to ignore CEC data for that chromecast
device.
On Tuesday, July 28, 2015, Morten Haraldsen [email protected]
wrote:
- Start Netflix
- cast.media_controller.is_idle == True no matter whether the video is
playing or notIs there a work-around to discover this?
(Trying to make this work for https://github.com/ethlo/castsaver)
—
Reply to this email directly or view it on GitHub
#53.
Thanks,
Ryan Kraus
from pychromecast.
Thanks for your feedback, I tried it, it just changes to be always False, so no luck I'm afraid.
from pychromecast.
I'm sorry, I misread your first post. To get the status of the media player, the call you are using is deprecated, instead use cast.media_controller.status.player_is_idle or cast.media_controller.status.player_state. When playing Netflix, the status should be unknown because Netflix uses a proprietary and encrypted set of commands. I'll confirm tonight that this is the case. It is possible that something changed in the netflix chromecast app to make it always report idle.
The takeaway here is that Netflix is not and can not be fully supported
from pychromecast.
I realized that I used a deprecated call, but saw in the source code that it called the correct method. Is there any way to determine if there is any media playing or not in general (regardless of application)?
from pychromecast.
Unfortunately, not really. Netflix works with a nonstandard API and all
their calls are encrypted. The nonstandard API isn't a huge problem, but
they encrypt it for a reason. It could be reverse engineered, but Netflix
would likely change it as soon as it is published.
On Wednesday, July 29, 2015, Morten Haraldsen [email protected]
wrote:
I realized that I used a deprecated call, but saw in the source code that
it called the correct method. Is there any way to determine if there is any
media playing or not in general (regardless of application)?—
Reply to this email directly or view it on GitHub
#53 (comment)
.
Thanks,
Ryan Kraus
from pychromecast.
Related Issues (20)
- 1st gen chromecasts not detected on network HOT 3
- GoogleAssistant
- chromecast.wait() never returns HOT 1
- ValueError: too many values to unpack (expected 5)
- Discovery doesn't work in an async context HOT 4
- Data difference when using GoogleTV Youtube vs Casting
- Custom http headers
- Idle chromecast custom screen example
- Command feedback
- Detect tv is on or off
- SiriusXM/Chromecast Casting Issue HOT 8
- Cannot initialize 'Chromecast' class HOT 2
- Not working with updated modules ('str' object has no attribute 'cast_type') HOT 1
- How to know if a specific connected TV is compatible ? HOT 1
- BBC Sounds conroller stopped working HOT 3
- Python 3.10 Depreciation Warning ssl.SSLContext()
- How to work with spotify HOT 5
- BBC iPlayer Live Stream - unable to get working
- Join existing chromecast session without interrupting it?
- pychromecast entering spin loop when a cast device reboots [if browser.stop_discovery() was called] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pychromecast.