mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Add notification parameters for MusicBrainz lookup
This commit is contained in:
parent
b39d5174f9
commit
c7afd10ec0
3 changed files with 62 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue