Add notification parameters for MusicBrainz lookup

This commit is contained in:
JonnyWong16 2019-10-05 23:57:48 -07:00
parent b39d5174f9
commit c7afd10ec0
3 changed files with 62 additions and 2 deletions

View file

@ -679,7 +679,8 @@ class PrettyMetadata(object):
def get_music_providers():
return {'': '',
'plexweb': 'Plex Web',
'lastfm': 'Last.fm'
'lastfm': 'Last.fm',
'musicbrainz': 'MusicBrainz'
}
def get_poster_url(self):
@ -707,6 +708,8 @@ class PrettyMetadata(object):
provider_name = 'Trakt.tv'
elif provider == 'lastfm':
provider_name = 'Last.fm'
elif provider == 'musicbrainz':
provider_name = 'MusicBrainz'
# else:
# if self.media_type == 'movie':
# provider_name = 'IMDb'