Skip to content

Instantly share code, notes, and snippets.

@MCJack123
MCJack123 / DisplaySong.py
Last active March 6, 2021 16:53
iPod-style Spotify track info display (or clock when no track is playing) using 16x2 I2C LCD (Python 2 only)
# Requires smbus: sudo apt install python-smbus
import I2C_LCD_driver
import time
import json
import httplib
import io
import os
from sys import exit
# Add the refresh key here (https://bit.ly/2DM1oRZ)