Git Product home page Git Product logo

wizhook's People

Contributors

aidanr8459 avatar chapnickc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

wizhook's Issues

Pip Error

Hi @larochefoucald,
On README.md, it says to use the following code to install the required modules:
pip install spotipy pywizlight aiohttp
but since I am using Python 3, I needed to use this command instead:
pip3 install spotipy pywizlight aiohttp
I am using Debian 11, not sure if it's to do with that, but could you please correct this for others.

Thanks,
Aidan R

Error in Terminal

Hi @larochefoucald!
After running these commands*, I occasionaly get this error:
ERROR:root:0, message='Attempt to decode JSON with unexpected mimetype: ', url=URL('https://api.spotify.com/v1/me/player/currently-playing') Traceback (most recent call last): File "/home/[user]/Downloads/WizHook-main/app/SpotifyChangeListener.py", line 66, in listen async for event in self._listen_for_events(session): File "/home/[user]/Downloads/WizHook-main/app/SpotifyChangeListener.py", line 48, in _listen_for_events current = await self._get_current_playing(session) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/[user]/Downloads/WizHook-main/app/SpotifyChangeListener.py", line 34, in _get_current_playing return await response.json() ^^^^^^^^^^^^^^^^^^^^^ File "/home/[user]/.local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 1104, in json raise ContentTypeError( aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: ', url=URL('https://api.spotify.com/v1/me/player/currently-playing')
Afterwards, the program keeps running, and I'm not sure why. Could someone please help?

Thanks,
Aidan R

*. ./env.sh & python3 main.py

Only One Spotify Account Available

Hi @chapnickc

I noticed there is only one Spotify account available for this project. Is there a way you could configure this so multiple Spotify accounts could use the app?

Thanks,
Aidan R

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.