mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 15:56:07 -07:00
Fix {plex_url) string formatting
This commit is contained in:
parent
81f9f52353
commit
e50c77d8c6
1 changed files with 2 additions and 4 deletions
|
@ -571,10 +571,8 @@ def build_notify_text(session=None, timeline=None, notify_action=None, agent_id=
|
|||
remaining_duration = duration - view_offset
|
||||
|
||||
# Build Plex URL
|
||||
metadata['plex_url'] = ('http://app.plex.tv/web/app#!/server/'
|
||||
+ plexpy.CONFIG.PMS_IDENTIFIER
|
||||
+ '/details/%2Flibrary%2Fmetadata%2F'
|
||||
+ rating_key)
|
||||
metadata['plex_url'] = 'http://app.plex.tv/web/app#!/server/{0}/details/%2Flibrary%2Fmetadata%2F{1}'.format(
|
||||
plexpy.CONFIG.PMS_IDENTIFIER, str(rating_key))
|
||||
|
||||
# Get media IDs from guid and build URLs
|
||||
if 'imdb://' in metadata['guid']:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue