This is the handbook page for the 6.x version of Discogs.

The module creates a new content (node) type, called "Discography." That content type has fields for artist, label, catalog number, format, country, date, and album credits. In addition, it can contain multiple tracks (which reside in their own database table in a many-to-one relationship). Tracks have fields for position, title, artist, duration, notes, and lyrics.

In addition to creating this content type, this module also can pull in discography data from www.discogs.com. You can search for artist, album, or label data, returning a checklist of albums, which can then be imported into Drupal as discography nodes.

Features

  • Import releases from Discogs.com
  • Supports a variety of image handling modules: image_attach, CCK imagefield, filefield, "native" image handler
  • Views 2 integration
  • Fully themable through CSS, theme functions, and template file

Installation and Usage

This module has no requirements aside from Drupal 6 itself. Note that although the Discography module supports Views 2 and various image handlers, none are actually required.

To install the Discography module:

  1. Place the contents of this file into your sites/all/modules folder.
  2. Enable the module at admin/build/modules.
  3. Go to the Discogs administration menu at admin/settings/discogs. From here, you can choose your image handler.
  4. If necessary, go to admin/user/permissions and enable "Import from Discogs." Permissions for creating, updating, and deleting Discography nodes may also be set here.

Note that due to changes in the Discogs.com API, you no longer need an API key. Hooray!

You can also set the image handler on the Discogs administration menu. It is highly recommended that you set your image handler before creating or importing albums. If you switch image handlers, the "old" images will not automatically transfer to the new image handler, nor are they automatically deleted.

After the module is installed and configured, you can create Discography nodes in one of two ways:

  • Enter the information by hand, by going to node/add/discogs
  • Import the information from discogs.com, by going to node/add/discogs_import

When importing releases, you can search for releases, artists, or labels. If no exact match is found, a general search is performed. The relevant releases are displayed as a field of check boxes; to import a release, just check it off.

Hint: If you know the specific Release ID of the album you wish to import, simply enter it into the search field, and search "Releases."

The Future of the 6.x Version

Drupal 6 is being phased out. As soon as Discogs 6.x-1.0 is released, the 6.x line will be in support mode. Only bug fixes will be patched; no new features will be added.