Work
- class django_musicbrainz_connector.models.Work(*args, **kwargs)[source]
Model of a Work. In addition to the attributes that come from the MusicBrainz server, this model has a musicbrainz_url property that returns a link to open the work on the MusicBrainz website.
PostgreSQL Definition
The
worktable is defined in the MusicBrainz Server as:CREATE TABLE work ( -- replicate (verbose) id SERIAL, gid UUID NOT NULL, name VARCHAR NOT NULL, type INTEGER, -- references work_type.id comment VARCHAR(255) NOT NULL DEFAULT '', edits_pending INTEGER NOT NULL DEFAULT 0 CHECK (edits_pending >= 0), last_updated TIMESTAMP WITH TIME ZONE DEFAULT NOW(), );
- property musicbrainz_url: str
Returns a URL to open the work on the MusicBrainz website.
- property recordings
Returns the recordings of this work.