Search in sources :

Example 1 with Recording

use of org.musicbrainz.android.api.data.Recording in project musicbrainz-android by jdamcd.

the class MusicBrainzWebClient method lookupRecording.

@Override
public Recording lookupRecording(String mbid) throws IOException {
    HttpEntity entity = get(QueryBuilder.recordingLookup(mbid));
    Recording recording = responseParser.parseRecording(entity.getContent());
    entity.consumeContent();
    return recording;
}
Also used : HttpEntity(org.apache.http.HttpEntity) Recording(org.musicbrainz.android.api.data.Recording)

Aggregations

HttpEntity (org.apache.http.HttpEntity)1 Recording (org.musicbrainz.android.api.data.Recording)1