Genre: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
(→‎Genre support in MusicBrainz: adding newest forum topic)
No edit summary
Line 1: Line 1:
MusicBrainz does not currently supported genres on its own, though some [[Editor|editors]] are using [[Folksonomy Tagging|the tagging system]] for this.
Genres are currently supported in MusicBrainz as part of the [[Folksonomy Tagging|tag system]].


Some tags (the ones in the [https://github.com/metabrainz/musicbrainz-server/blob/master/entities.json#L666 genre list]) are automatically read and presented as genres. The list is expanded according to user requests, so if you feel a genre is missing, request it by [https://tickets.metabrainz.org/secure/CreateIssueDetails!init.jspa?pid=10032&issuetype=2&summary=Enter%20the%20genre%20name%20here! adding a style ticket] with the "Genres" component.
Integrating genre support is planned though, see below for more information on this.


Genres are subjective, so just like with any other tags, you can upvote and downvote genres you agree or disagree with on any given entity, and you can also submit genre(s) for the entity that no one has added yet.
== Genre support in MusicBrainz ==
Various places where discussion has happened surrounding the topic.
* Summit session notes
** [[MusicBrainz Summit/11/Session_Notes#Genres|Session notes from Summit 11]]
** [[MusicBrainz Summit/12#Notes (in progress)|Session notes from Summit 12]]
* Tickets
** [[jira:MBS-3738|MBS-3738: Genre as a first-class entiry]]
* Mailing lists
** [http://musicbrainz.1054305.n4.nabble.com/Genre-support-td4186483.html Genre support @ mb-style (Nabble)] (discussion about [[jira:MBS-378|MBS-3738]])(December 2011)
* Old Forums
** [http://forums.musicbrainz.org/viewtopic.php?id=3189 Support for genres] (discussion about [[jira:MBS-378|MBS-3738]])(alas, not available @ archive.org)
* New Forums
** [[discourse:t/genres-in-musicbrainz/34447|Genres in MusicBrainz]] (April 2016)


==API==
== Lists of genres elsewhere ==
The method to request genres mirrors that of tags: you can use inc=genres to get all the genres everyone has proposed for the entity, or inc=user-genres to get all the genres you have proposed yourself (or both!). For example, to get the genres for the release group for [[releasegroup:3bd76d40-7f0e-36b7-9348-91a33afee20e|Nine Inch Nails' Year Zero]] you’d want '''<nowiki>https://musicbrainz.org/ws/2/release-group/3bd76d40-7f0e-36b7-9348-91a33afee20e?inc=genres+user-genres</nowiki>''' for the XML API and '''<nowiki>https://musicbrainz.org/ws/2/release-group/3bd76d40-7f0e-36b7-9348-91a33afee20e?inc=genres+user-genres&fmt=json</nowiki>''' for the JSON API.
* [http://rateyourmusic.com/rgenre/ Rate Your Music] - extensive genre tree, which mostly has good descriptions and occasional examples

* [http://web.archive.org/web/20100106112227/http://audiogalaxy.com/list/glossary.php AudioGalaxy (Wayback Machine, 2010)] - not-as-extensive (and by now a bit dated) genre tree, which also features descriptions and example artists etc.
Since genres are tags, all the genres are also served with inc=tags with all the other tags. As such, you can always use the tag endpoint if you would rather filter the tags by your own genre list rather than follow the MusicBrainz one, or if you want to also get other non-genre tags (maybe you want moods, or maybe you’re really interested in finding artists who perform hip hop music and [https://musicbrainz.org/tag/death%20by%20murder were murdered] – we won’t stop you!).
* [http://fr.wikipedia.org/wiki/Principes_de_classement_des_documents_musicaux_%28PCDM%29] In french we have the PCDM, who try to classify the music based on the Dewey classification.

Revision as of 10:07, 14 November 2018

Genres are currently supported in MusicBrainz as part of the tag system.

Some tags (the ones in the genre list) are automatically read and presented as genres. The list is expanded according to user requests, so if you feel a genre is missing, request it by adding a style ticket with the "Genres" component.

Genres are subjective, so just like with any other tags, you can upvote and downvote genres you agree or disagree with on any given entity, and you can also submit genre(s) for the entity that no one has added yet.

API

The method to request genres mirrors that of tags: you can use inc=genres to get all the genres everyone has proposed for the entity, or inc=user-genres to get all the genres you have proposed yourself (or both!). For example, to get the genres for the release group for Nine Inch Nails' Year Zero you’d want https://musicbrainz.org/ws/2/release-group/3bd76d40-7f0e-36b7-9348-91a33afee20e?inc=genres+user-genres for the XML API and https://musicbrainz.org/ws/2/release-group/3bd76d40-7f0e-36b7-9348-91a33afee20e?inc=genres+user-genres&fmt=json for the JSON API.

Since genres are tags, all the genres are also served with inc=tags with all the other tags. As such, you can always use the tag endpoint if you would rather filter the tags by your own genre list rather than follow the MusicBrainz one, or if you want to also get other non-genre tags (maybe you want moods, or maybe you’re really interested in finding artists who perform hip hop music and were murdered – we won’t stop you!).