jaapz / cast Goto Github PK
View Code? Open in Web Editor NEWControl your google chromecast via the command line
License: MIT License
Control your google chromecast via the command line
License: MIT License
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'
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
For example this happens now:
mshertzberg@forge ~/Git/cast (master*) $ cast status
▶ Simon Draws: Rabbits by None from None via YouTube, 0:0 of 3:1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.