rahims / SoCo

SoCo (Sonos Controller) is a simple Python class that allows you to programmatically control Sonos speakers.
331 stars 33 forks source link

Error when using custom streaming service #44

Closed nikriek closed 10 years ago

nikriek commented 10 years ago

I found a good way to stream songs from SoundCloud to my Sonos, but unfortunately it doesn't really work with this (very cool) API. Any idea why this does happen?

>>> track = sonos.get_current_track_info()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "build/bdist.macosx-10.9-intel/egg/soco.py", line 680, in get_current_track_info
AttributeError: 'NoneType' object has no attribute 'encode'

I'm not a python pro, that's why I can't fix it.

nikriek commented 10 years ago

Was a terminal problem…