How joeleehen/imgrecord works
This is a Raspberry Pi album-art display: a user submits either a barcode or album-and-artist search, the Flask app retrieves a Discogs cover image, then sends it to an RGB matrix. The main stages are the web interface, request routing, image lookup, and physical display. The README also describes barcode and text search as product capabilities. Source excerpts show the route calls and display setup; the template’s form wiring and some hardware behavior are not shown, so that interface link is unverified.
Main entry points: displayArt.py Image display · app.py Flask routes · getImage.py Discogs lookup · index.html Search page
Components 10
Web interface
- Search page
python/client/templates/index.html - Flask routes
python/client/app.py
Image lookup
- Text search
python/client/app.py - Barcode search
python/client/app.py - Discogs lookup
python/client/getImage.py
Physical display
- Image display
python/client/displayArt.py
Other components
- User
- Discogs API
- Cover image host
- RGB matrix
Connections 11
- User → Search page: enters search
README.md - Search page → Flask routes: submits search
- Flask routes → Text search: routes text
python/client/app.py - Flask routes → Barcode search: routes barcode
python/client/app.py - Text search → Discogs lookup: calls text lookup
python/client/app.py - Barcode search → Discogs lookup: calls barcode lookup
python/client/app.py - Discogs lookup → Discogs API: queries
python/client/getImage.py - Text search → Image display: displays cover
python/client/app.py - Barcode search → Image display: displays cover
python/client/app.py - Image display → Cover image host: downloads image
python/client/displayArt.py - Image display → RGB matrix: sets image
python/client/displayArt.py