Development/Summer of Code/2020/ListenBrainz

From MusicBrainz Wiki
< Development‎ | Summer of Code‎ | 2020
Revision as of 15:18, 6 February 2020 by RobertKaye (talk | contribs)

ListenBrainz is one of the newest MetaBrainz projects. Read more information on its homepage.

Getting started

(see also: Getting started with GSoC)

If you want to work on ListenBrainz you should show that you are able to set up the server software and understand how some of the infrastructure works. Here are some things that we might ask you about

  • Show that you understand the goals that ListenBrainz wants to achieve, which are written on its homepage
  • Create an oauth application on the MusicBrainz website and add the configuration information to your ListenBrainz server. Use this to log in to your server with your MusicBrainz details
  • Use the import script that is part of the ListenBrainz server to load scrobbles from last.fm to your ListenBrainz server, or the main ListenBrainz server
  • Use your preferred programming language to write a submission tool that can send Listen data to ListenBrainz. You could make up some fake data for song names and artists. This data doesn't have to be real.
  • Try and delete the ListenBrainz database on your local server to remove the fake data that you added.
  • Look at the list of tickets that we have open for ListenBrainz and see if you understand what tasks the tickets involve
  • If you want to, see if you can contribute to fixing a ticket. Either add a comment to the ticket or ask in IRC for clarification if you don't understand what the ticket means

Ideas

Add more statistics and graphs for users and our community

Proposed mentors:mayhem, alastairp, iliekcomputers
Languages/skills: python, javascript, D3, apache spark, data science, graphing, visualization

ListenBrainz now has a statistics infrastructure that collects and computes statistics from the listen data that we have stored in our database (and in an Apache Spark cluster). So far we've only implemented a top artists per user query that shows that our statistics infrastructure is working. However, we're interested in adding a lot more statistics/graphs to this setup:

  • top album for a user
  • top album for a user by genre
  • top tracks for a user or everyone
  • users with similar music tastes to mine
  • when did I start listening to this artist/album?

There are many more interesting charts/graphs/statistics that we wish to show, but haven't thought of yet. If you are interested in participating in this project, we will ask you to think about possible user stats and also to come up with other examples of statistics that we might be interested in capturing/producing. One part of this project will include writing queries in Apache Spark and python glue code to take the results and ship them from our Apache Cluster to our production servers. The other part of this project will include serving up these statistics from our servers using python and then to render the results with good looking charts created in javascript with the D3 toolkit.

Add 'love/hate a recording' support to ListenBrainz

Proposed mentors:mayhem, alastairp, iliekcomputers
Languages/skills: python, influxdb, data science

A lot of music services have the ability for users to give feedback on a track, whether or not they like or dislike a track. This information is very useful for tuning recommendation algorithms that we're in the process of developing. This project would involve three distinct parts:

  1. Adding views and user interface elements to allow a user to mark a track as like/hate from the LB web pages.
  2. Adding underlying data store functionality for storing and retrieving likes/hates
  3. Adding API endpoints for users to fetch/submit this data.

See also Add support for like/hate on a listen

Implement a VLC plugin to submit listens to ListenBrainz

Proposed mentors:mayhem, alastairp, iliekcomputers
Languages/skills: C/C++, software packaging, Mac, Linux, Windows

ListenBrainz lacks some critical client integrations like support for VLC to submit listens to ListenBrainz. One of our contributors started working on a VLC plugin in C/C++, but that project seems to have stalled. We would like one student to take on this project and resurrect the VLC plugin or even code a new one and the work on releasing a binaries of this to Linux, Mac and Windows.

See also ticket LB-488