Skip to content

Commit

Permalink
feat: ✨ add ability to select library Language
Browse files Browse the repository at this point in the history
this will change certain locale strings and improve search scoring
  • Loading branch information
djdembeck committed Feb 23, 2023
1 parent c501bec commit 295c36f
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions Contents/Code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ def Start():
class AudiobookArtist(Agent.Artist):
name = 'Audnexus Agent'
languages = [
Locale.Language.English
Locale.Language.English,
'de',
'es',
'fr',
'it',
'ja',
]
primary_provider = True
accepts_from = ['com.plexapp.agents.localmedia']
Expand Down Expand Up @@ -230,7 +235,12 @@ def compile_metadata(self, helper):
class AudiobookAlbum(Agent.Album):
name = 'Audnexus Agent'
languages = [
Locale.Language.English
Locale.Language.English,
'de',
'es',
'fr',
'it',
'ja',
]
primary_provider = True
accepts_from = ['com.plexapp.agents.localmedia']
Expand Down

0 comments on commit 295c36f

Please sign in to comment.