You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I managed to combine the spotify developers api with the UsbPCMonitor 3.5" screen, allowing me to display real time music playing with a progress bar. I did this through the lcd_comm_rev_a library, and it works like a charm.
Setup instructions:
Clone the base repo $ git clone https://github.com/mathoudebine/turing-smart-screen-python
Install the necessary libraries with $ pip install -r requirements.txt and $ pip install requests spotipy
Copy the code from this Gist and put it in the base directory of the cloned repo
Give the app a name and description, and set the redirect URI to your desired URI, I usually just set it to http://127.0.0.1:8888/callback as a default, but it doesn't really matter because it is not being used in this case
Then under the Which API/SDKs are you planning to use section, tick the Web API
Then comply to the Terms of service and create your app
Copy the Client Secret, Client ID and the redirect URI then put it into the code
Run the code and Enjoy!
If you have any issues/questions, feel free to contact me on discord @Joabutt or drop me an email at [email protected]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I managed to combine the spotify developers api with the UsbPCMonitor 3.5" screen, allowing me to display real time music playing with a progress bar. I did this through the lcd_comm_rev_a library, and it works like a charm.
Setup instructions:
$ git clone https://github.com/mathoudebine/turing-smart-screen-python
$ pip install -r requirements.txt
and$ pip install requests spotipy
http://127.0.0.1:8888/callback
as a default, but it doesn't really matter because it is not being used in this caseWhich API/SDKs are you planning to use
section, tick the Web APIIf you have any issues/questions, feel free to contact me on discord @Joabutt or drop me an email at [email protected]
Beta Was this translation helpful? Give feedback.
All reactions