Comments (6)
Hi,
I just got myself two audio devices so I will have a look and see what needs to be done to support multiroom.
As for seeing the device twice is half-way correct, the group should appear together with the individual devices, just like it does in Apps that supports them.
But there is some missing code in terms of getting the correct name and connecting to the group device.
The group device seems to use a different port than the normal ones so we need add support for that.
I think I should have something working soon.
from pychromecast.
Multi room support is now completed, check out release v0.7.
https://github.com/balloob/pychromecast/releases/tag/v0.7
from pychromecast.
Works like a charm with python2.7. Thanks a lot!!!
There seems only to be an issue with python3. Is it related to the multiroom feature or is it another issue?
mickey@egginerjoch ~/pychromecast-master $ python3
Python 3.4.2 (default, Oct 19 2014, 13:31:11)
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
from future import print_function
import time
import sys
import logging
import pychromecast
pychromecast.get_chromecasts_as_dict().keys()
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.4/dist-packages/zeroconf.py", line 1063, in run
handler(self.zc)
File "/usr/local/lib/python3.4/dist-packages/zeroconf.py", line 1014, in
state_change=state_change,
File "/usr/local/lib/python3.4/dist-packages/zeroconf.py", line 931, in fire
h(*_kwargs)
File "/usr/local/lib/python3.4/dist-packages/zeroconf.py", line 989, in on_change
listener.add_service(_args)
File "/home/mickey/pychromecast-master/pychromecast/discovery.py", line 49, in add_service
model_name = model_name.decode('utf-8')
AttributeError: 'NoneType' object has no attribute 'decode'dict_keys([])
from pychromecast.
There's a fix in the master branch, seems to be doing the trick.
Could you try it out?
If there are no more problems I'll make a 0.7.1 release.
from pychromecast.
It is working fine. Thanks again. :-)
from pychromecast.
I did a quick pass through the code, it looks all good now.
from pychromecast.
Related Issues (20)
- 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
- Mocking Chromecast?
- How to handle AssertionError for assert self.socket is not None?
- WARNING:pychromecast.controllers:SEEK command requested but no session is active HOT 8
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.