Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
merge olds/master
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmcorvidae committed Feb 6, 2011
2 parents 023684a + e37cfa8 commit 3638715
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 1 addition & 7 deletions README
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
phpBrainz is a PHP library for accessing MusicBrainz (http://musicbrainz.org), an online database with huge amounts of data on recorded music. It is modeled after python-musicbrainz2, the next-generation MusicBrainz library for python and the reference implementation created by the MusicBrainz project itself.

Approximate usage is to require phpBrainz.class.php and then with a shiny new phpBrainz() object, pull out some ->getTrack(), ->getRelease(), ->findTrack(), and ->findRelease() magic. Soon to come is an additional ->getArtist(). The code should, however, be relatively understandable, and the examples in the cleverly-named examples/ directory will additionally supplement your learning.

phpBrainz was originally written by Jeff Sherlock (olds on GitHub) but this file and some recent changes have been made by Ian McEwen (ianmcorvidae).

Enjoy!
This is an OO PHP 5 library for accessing the musicbrainz API. To search the API, there are two different methods to access the musicbrainz API. One is a search based on criteria such as artist name, track name, release year, etc. The other is a retrieval of a specific musicbrainz record based on a specific identifier for the musicbrainz database (MBID). Typically you search for results using a release, track, or artist filter, then from those results retrieve the specific record you want with the detailed information. There are examples in the examples folder.
2 changes: 2 additions & 0 deletions phpBrainz.release.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,7 @@ public function isSingleArtistRelease(){
return false;
}
}
return true;
}
}
?>

0 comments on commit 3638715

Please # to comment.