Coder Social home page Coder Social logo

cast's People

Contributors

jaapz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cast's Issues

not working with pychromecast >= 0.6

When running cast with newer versions of pychromecast (0.6 and up) cast commands fail with errors like:

$ cast status                  
Traceback (most recent call last):
  File "/home/kperkins/.virtualenvs/cast/bin/cast", line 9, in <module>
    load_entry_point('cast==0.1.1', 'console_scripts', 'cast')()
  File "/home/kperkins/.virtualenvs/cast/local/lib/python2.7/site-packages/cast.py", line 73, in main
    cast = pychromecast.PyChromecast(CHROMECAST_HOST)
AttributeError: 'module' object has no attribute 'PyChromecast'

object has no attribute 'app_id'

thoughts?

Traceback (most recent call last):
  File "/usr/local/bin/cast", line 8, in <module>
    load_entry_point('cast==0.1', 'console_scripts', 'cast')()
  File "/Library/Python/2.7/site-packages/cast.py", line 82, in main
    cast = pychromecast.PyChromecast(CHROMECAST_HOST)
  File "/Library/Python/2.7/site-packages/pychromecast/__init__.py", line 109, in __init__
    self.refresh()
  File "/Library/Python/2.7/site-packages/pychromecast/__init__.py", line 147, in refresh
    cur_app.app_id != app.app_id)
AttributeError: 'NoneType' object has no attribute 'app_id'
mshertzberg@forge ~/.config/cast $ cat config.ini
[cast]
chromecast_ip=10.0.1.2
sleep_time=0.3
mshertzberg@forge ~/.config/cast $ cast --version
cast 0.1

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.