Make platform overrides more in line with what plex should have made them
This commit is contained in:
parent
2e3cfcde81
commit
9eb58a7b02
1 changed files with 2 additions and 2 deletions
|
@ -122,9 +122,9 @@ class TautulliAPI(object):
|
||||||
# Platform Overrides
|
# Platform Overrides
|
||||||
platform_name = session.platform
|
platform_name = session.platform
|
||||||
if platform_name in 'osx':
|
if platform_name in 'osx':
|
||||||
platform_name = 'Plex Mac OS'
|
platform_name = 'MacOS'
|
||||||
if platform_name in 'windows':
|
if platform_name in 'windows':
|
||||||
platform_name = 'Plex Windows'
|
platform_name = 'Windows'
|
||||||
|
|
||||||
hash_id = hashit(f'{session.session_id}{session.session_key}{session.username}{session.full_title}')
|
hash_id = hashit(f'{session.session_id}{session.session_key}{session.username}{session.full_title}')
|
||||||
influx_payload.append(
|
influx_payload.append(
|
||||||
|
|
Loading…
Reference in a new issue