R2 - records for your records?
- Clone the repository.
- Create a new Python 3 (>3.9?) virtual environment.
- Install the dependendices:
pip3 install ./requirements.txt
- Redis server for running background tasks.
- SQLite (will probably switch to MySQL, later).
- Start a redis server. In a separate terminal window: `redis-server.
- Start the celery worker. In another terminal (in repository root folder):
celery -A celery_worker.celery worker --pool=solo --loglevel=info - Start the flask app in another terminal window:
flask --app rrecords run --host=0.0.0.0 --port=4999 - In your browser, go to
http://127.0.0.1:4999
- To do anything, you need a Discogs account, and at least one collection containing at least one album. Note, your primary Discogs collection (containing all releases) is number 0.
- After linking your discogs account, manually hit to
collections/<number>/updateroute to sync your collection data. E.g.http://127.0.0.1:4999/collections/0/update
- ✅ Update collections between RRECORDS and Discogs.
- Find best matches in the Musicbrainz database for best track metadata (Discogs track metadata is usally incomplete) (WIP)
- Scrobble disc plays to Last.fm (TBD)
- Track other things:
- play time on your stylus (WIP)
- cleanings (TBD)
- individual disc plays (instead of whole releases - useful if you have boxsets) (WIP)
- generate stats and figures / data dives (TBD).
- ✅ Generate URLs that can be embedded in NFC chips so you can track these things by waving your phone over an LP cover (if you have the NFC chip there.)