mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-15 01:32:57 -07:00
Fix "Mystery" platform in stats and activity
This commit is contained in:
parent
c12c72bbd6
commit
441572ea12
5 changed files with 30 additions and 9 deletions
|
@ -1070,6 +1070,13 @@ class PmsConnect(object):
|
|||
else:
|
||||
logger.warn(u"No known stream types found in session list.")
|
||||
|
||||
# Rename Mystery platform names
|
||||
platform_names = {'Mystery 3': 'Playstation 3',
|
||||
'Mystery 4': 'Playstation 4',
|
||||
'Mystery 5': 'Xbox 360'}
|
||||
session_output['platform'] = platform_names.get(session_output['platform'],
|
||||
session_output['platform'])
|
||||
|
||||
return session_output
|
||||
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue