metabrainz/listenbrainz-server

Name: listenbrainz-server

Owner: MetaBrainz Foundation

Description: Server for the ListenBrainz project

Created: 2015-09-05 12:30:49.0

Updated: 2018-05-23 22:03:42.0

Pushed: 2018-05-23 14:56:12.0

Homepage: https://listenbrainz.org/

Size: 3017

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

listenbrainz-server

Server for the ListenBrainz project

Website | Documentation | Bug tracker

About

The ListenBrainz project is similar to the original AudioScrobbler®. Unlike the original project, ListenBrainz is open source and publishes its data as open data.

A team of former Last.fm and current MusicBrainz hackers created the first version of ListenBrainz in a weekend. Since the original project was created, technology has advanced at an incredibly rapid pace, which made re-creating the original project fairly straightforward.

The project has two main goals:

  1. Allow users to preserve their existing Last.fm® data
  2. Make this incredibly useful music usage data available to the world

For more information about this project and its goals, look at our website, specifically the goals page.

Development environment

These instructions help you get started with the development process. Installation in a production environment may be different.

Read the [development environment documentation](https://listenbrainz.readthedocs.io/en/latest/dev/devel-env.html “Setting up a development environment - ListenBrainz documentation”)

Calculating statistics

ListenBrainz uses [Google BigQuery](https://cloud.google.com/bigquery/ “BigQuery - Analytics Data Warehouse”) to calculate statistics. You need a BigQuery credentials file called bigquery-credentials.json to the credentials directory for it to work. This file is obtained from the Google BigQuery site by creating a new project. The WRITE_TO_BIGQUERY variable in config.py needs to be set to True also.

The stats are automatically calculated in the scheduler container, but if you want to manually start statistic calculation, run this.

docker-compose -f docker/docker-compose.yml -p listenbrainz run --rm web python manage.py stats calculate
Documentation

Full documentation for the ListenBrainz API is available at listenbrainz.readthedocs.org. You can also build the documentation locally:

cd listenbrainz-server/docs
make clean html
License Notice
enbrainz-server - Server for the ListenBrainz project

right (C) 2017 MetaBrainz Foundation Inc.

 program is free software; you can redistribute it and/or modify
nder the terms of the GNU General Public License as published by
Free Software Foundation; either version 2 of the License, or
your option) any later version.

 program is distributed in the hope that it will be useful,
WITHOUT ANY WARRANTY; without even the implied warranty of
HANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
General Public License for more details.

should have received a copy of the GNU General Public License along
 this program; if not, write to the Free Software Foundation, Inc.,
ranklin Street, Fifth Floor, Boston, MA 02110-1301 USA

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.