Skip to content

Commit

Permalink
feat(album-update): ✨ use subtitle in Plex title where available
Browse files Browse the repository at this point in the history
  • Loading branch information
djdembeck committed Oct 6, 2021
1 parent 499c753 commit 4ff1654
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Expand Up @@ -2,6 +2,7 @@
"conventionalCommits.scopes": [
"search",
"update",
"author-search"
"author-search",
"album-update"
]
}
5 changes: 4 additions & 1 deletion Contents/Code/update_tools.py
Expand Up @@ -51,7 +51,10 @@ def parse_api_response(self, response):
if 'image' in response:
self.thumb = response['image']
if 'title' in response:
self.title = response['title']
if 'subtitle' in response:
self.title = response['title'] + ': ' + response['subtitle']
else:
self.title = response['title']

# Writes metadata information to log.
def writeInfo(self):
Expand Down

0 comments on commit 4ff1654

Please sign in to comment.