wuvt / trackman

WUVT's track logging web-app
GNU Affero General Public License v3.0
4 stars 3 forks source link

Trackman autocomplete using other metadata sources #6

Open echarlie opened 6 years ago

echarlie commented 6 years ago

From @matthazinski on March 14, 2015 5:17

A DJ should be able to enter a track by searching for artists/albums on one of several options:

  1. MusicBrainz (they offer a PostgreSQL data feed but we could also use their API if we don't anticipate heavy usage)
  2. Tracks historically entered into Trackman (already implemented)
  3. Our library (currently using the Excel->SQL tool)
  4. Our future library (some tool yet to be determined)
  5. Discogs (they offer both an API and monthly data dumps).

Enabled metadata sources should be configurable in config.py, along with any API keys or site-specific URIs.

Trackman MUST NOT modify the library database in any way. Trackman's DB may refer to items in the library via internal or MusicBrainz IDs, but they should not be otherwise linked.

The UI of this should function as follows:

Search should be implemented under the assumption that it will eventually be made available through an internal API (restricted to internal IPs).

Copied from original issue: wuvt/wuvt-site#102

echarlie commented 6 years ago

From @telnoratti on March 14, 2015 6:43

This will require significant schema changes. I'm not quite sure how this should be done yet. It's possible we will link each track to a mbid and libraryid distinctly. Adding a track from MB will likely dupe it.

echarlie commented 6 years ago

From @telnoratti on March 14, 2015 6:48

Another issue with this is when viewing the MusicBrainz tab there may not be results for a track, but it has been previously entered. How do we communicate to the user that they should be looking at that instead of entering it as a new track, since not using the previously entered track will result in a duplicate?

echarlie commented 6 years ago

From @matthazinski on March 14, 2015 6:50

You could grey-out tabs that don't contain any results.

echarlie commented 6 years ago

From @telnoratti on March 14, 2015 17:24

I don't think that's obvious enough. If I'm finding results for everything at once anyways, perhaps we should have a way to display them together.

echarlie commented 6 years ago

From @mutantmonkey on March 14, 2015 19:48

I am certain there will be many tracks that WUVT plays that there will be no MusicBrainz results for. One thing we might investigate is if submitting data programmatically to the MusicBrainz database is allowed by their API...that way WUVT could give back to the MusicBrainz community.

echarlie commented 6 years ago

From @telnoratti on March 14, 2015 19:58

I doubt it. I've contributed a bit and we aren't entering enough information to be considered a valid entry.

echarlie commented 4 years ago

I'm inclined to say this is both 1) unrealistic, and 2) dependent on a good collection of WUVT music in musicbrainz. It definitely should not be a tool used by most DJs, where cleanup of human-introduced errors is sadly preferable, simply on the basis that most DJs could not accurately gauge which release of a release group they're playing, etc.