Small fix for musicbrainzapi
Added .jpg to the poster url so the posters can be downloaded by the plugin
This commit is contained in:
parent
c3df1f582f
commit
74acf7f914
1 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ export class MusicBrainzAPI extends APIModel {
|
|||
dataSource: this.apiName,
|
||||
url: 'https://musicbrainz.org/release-group/' + result.id,
|
||||
id: result.id,
|
||||
image: 'https://coverartarchive.org/release-group/' + result.id + '/front',
|
||||
image: 'https://coverartarchive.org/release-group/' + result.id + '/front.jpg',
|
||||
|
||||
artists: result['artist-credit'].map((a: any) => a.name),
|
||||
subType: result['primary-type'],
|
||||
|
|
@ -87,7 +87,7 @@ export class MusicBrainzAPI extends APIModel {
|
|||
dataSource: this.apiName,
|
||||
url: 'https://musicbrainz.org/release-group/' + result.id,
|
||||
id: result.id,
|
||||
image: 'https://coverartarchive.org/release-group/' + result.id + '/front',
|
||||
image: 'https://coverartarchive.org/release-group/' + result.id + '/front.jpg',
|
||||
|
||||
artists: result['artist-credit'].map((a: any) => a.name),
|
||||
genres: result.genres.map((g: any) => g.name),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue