Giter Site home page Giter Site logo

Comments (5)

rmkraus avatar rmkraus commented on July 16, 2024

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 not

Is 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.

ethlo avatar ethlo commented on July 16, 2024

Thanks for your feedback, I tried it, it just changes to be always False, so no luck I'm afraid.

from pychromecast.

rmkraus avatar rmkraus commented on July 16, 2024

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.

ethlo avatar ethlo commented on July 16, 2024

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.

rmkraus avatar rmkraus commented on July 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.