Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
/ justplayed Public archive

Import your collection from discogs and scrobble your CD's, LP's to last.fm

License

Notifications You must be signed in to change notification settings

floydian77/justplayed

Repository files navigation

JustPlayed

Import your collection from discogs and scrobble your CD's, LP's, to last.fm

Installation

Docker container

Environment variables

$ cd docker
$ cp .env.example .env

Set permissions

$ chmod -R 755 .
$ chmod -R 1777 storage

Start services

It could take a while to build the container for the first time.

$ docker-compose up -d

Laravel

$ composer install

$ cp .env.example .env

$ php artisan key:generate
$ php artisan migrate

Last.fm

A last.fm api key is required, get one here: https://www.last.fm/api

Save them in .env

LASTFM_API_KEY=my_api_key
LASTFM_SECRET=my_secret

Usage

Create a new user

$ php artisan tinker
>>> $user = new App\Models\User
>>> $user->name = 'name'
>>> $user->email = 'name@domain.tld'
>>> $user->password = 'passwword'
>>> $user->save()

Synchronize discogs collection

First login and set your discogs username and token.

$ php artisan discogs:sync

About

Import your collection from discogs and scrobble your CD's, LP's to last.fm

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published