Code Monkey home page Code Monkey logo

raspberrypiadhan's People

Contributors

highwingers avatar poptropica avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

raspberrypiadhan's Issues

Playback error on Python 3.9

The new release of Raspberry Pi OS comes prebundled with Python 3.9 which has renamed the method isAlive() to is_alive() in python. I believe because of that, the app is throwing the error

asr Error: 'SocketClient' object has no attribute 'isAlive' - 2022-09-21 17:04:10

I can't seem to find where the command lives in any of the python files, otherwise I'd fix myself. It could also be an issue with the streamer package.

Raspberry Pi Zero BlueAlsa not found

Raspberry api Zero and Raspberry Pi Lite do not support BlueAlsa as far as I can tell.

Seeing this on startup after installing the app on my raspberry Pi Zero with lite Failed to start bluealsa.service: Unit bluealsa.service not found.

Is it possible to exclude it as a dependency?

Not an issue

Salaams! I wanted to thank you for putting an amazing product together, May Allah reward you for your efforts.

I am currently working on a similar project that will allow users to configure using their ios/android device. Also looking into further integration with google home/assistant.

Would love to have a chat with you on some ideas, and how maybe you can give me some advice on design/implementation.

Thank you again!

Error thrown in Python 3.9 on Raspberry Pi

I set up the program on a freshly installed Raspbian and get the following error when I try to play the audio on Chromecast. I believe that this is related to the default python being version 3.9 as this error is similar to this.

May 24 11:18:26 raspberrypi python3[715]: Traceback (most recent call last):
May 24 11:18:26 raspberrypi python3[715]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 2464, in __call__
May 24 11:18:26 raspberrypi python3[715]:     return self.wsgi_app(environ, start_response)
May 24 11:18:26 raspberrypi python3[715]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 2450, in wsgi_app
May 24 11:18:26 raspberrypi python3[715]:     response = self.handle_exception(e)
May 24 11:18:26 raspberrypi python3[715]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1867, in handle_exception
May 24 11:18:26 raspberrypi python3[715]:     reraise(exc_type, exc_value, tb)
May 24 11:18:26 raspberrypi python3[715]:   File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise
May 24 11:18:26 raspberrypi python3[715]:     raise value
May 24 11:18:26 raspberrypi python3[715]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 2447, in wsgi_app
May 24 11:18:26 raspberrypi python3[715]:     response = self.full_dispatch_request()
May 24 11:18:26 raspberrypi python3[715]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1952, in full_dispatch_request
May 24 11:18:26 raspberrypi python3[715]:     rv = self.handle_user_exception(e)
May 24 11:18:26 raspberrypi python3[715]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1821, in handle_user_exception
May 24 11:18:26 raspberrypi python3[715]:     reraise(exc_type, exc_value, tb)
May 24 11:18:26 raspberrypi python3[715]:   File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise
May 24 11:18:26 raspberrypi python3[715]:     raise value
May 24 11:18:26 raspberrypi python3[715]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1950, in full_dispatch_request
May 24 11:18:26 raspberrypi python3[715]:     rv = self.dispatch_request()
May 24 11:18:26 raspberrypi python3[715]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1936, in dispatch_request
May 24 11:18:26 raspberrypi python3[715]:     return self.view_functions[rule.endpoint](**req.view_args)
May 24 11:18:26 raspberrypi python3[715]:   File "/home/pio/RaspBerryPiAdhan/www/views/speaker.py", line 28, in playMedia
May 24 11:18:26 raspberrypi python3[715]:     mediaStatus = chromecast().play(device, media)
May 24 11:18:26 raspberrypi python3[715]:   File "/home/pio/RaspBerryPiAdhan/www/lib/chromecast.py", line 40, in play
May 24 11:18:26 raspberrypi python3[715]:     return self.chromecastPlay(deviceName, media)
May 24 11:18:26 raspberrypi python3[715]:   File "/home/pio/RaspBerryPiAdhan/www/lib/chromecast.py", line 49, in chromecastPlay
May 24 11:18:26 raspberrypi python3[715]:     cast.wait()
May 24 11:18:26 raspberrypi python3[715]:   File "/usr/local/lib/python3.9/dist-packages/pychromecast/__init__.py", line 446, in wait
May 24 11:18:26 raspberrypi python3[715]:     if not self.socket_client.isAlive():
May 24 11:18:26 raspberrypi python3[715]: AttributeError: 'SocketClient' object has no attribute 'isAlive'

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.