aircast
aircast copied to clipboard
BUG/FIX: Exit when error
Hi,
This program works well, except when some trouble appears connecting with the Chromecast.
For example, sometimes I see this error:
File "/usr/local/lib/python2.7/dist-packages/pychromecast/controllers/__init__.py", line 81, in send_message
"application.").format(self.namespace))
UnsupportedNamespace: Namespace urn:x-cast:com.google.cast.media is not supported by runningapplication.
The problem in this case is that AirCast continues executing, and doesn't exist. So, I can only manually restart the App. I suggest to exit in any "un-recoverable error", and use tools like nohup or supervisor to restart.
You agree? The main problem is when the Chromecast reboots or losses the WiFi connection.