Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Contents/Code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ def is_plex_playing(plex_status):
somethingwasdone = False
for item in plex_status.findall('Video'):
for room, client_name in configuredclients.iteritems():
if item.find('Player').get('title') == client_name:
if item.find('Player').get('title') == client_name or item.find('Player').get('product') == client_name:
client_name_room = client_name + str(room)
if not client_name_room in ACTIVE_CLIENTS:
ACTIVE_CLIENTS.append(client_name_room)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ One room is composed of **one client**, **one or multiple users** and **one or m
* ```Preset 1, brightness:``` brightness value for lights preset 1.
* ...
* ```Activate HelloHue in room 1``` Tick to activate room 1 (and fill the client, users and lights settings for room 1).
* ```Name of plex client able to trigger in room 1``` You can find the list of users in PMS -> settings -> devices. Only put ONE client per room. If your have two clients in the same room, activate an other room and fill the settings with the other clients name and the same lights names.
* ```Name of plex client able to trigger in room 1``` You can find the list of users in PMS -> settings -> devices. Only put ONE client per room. If your have two clients in the same room, activate an other room and fill the settings with the other clients name and the same lights names. If your device does not work because it does not provide a valid title like the PS4, you can use the product name instead.
* ```Name of the users able to trigger in room 1``` You can find the list of users in PMS -> settings -> users -> myhome. You can put multiple users (comma separated values, case sensitive).
* ```Name of the lights to trigger in room 1``` is the list of lights that will be triggered in room 1. You can put multiple users (comma separated values, case sensitive).
* ```When a media is playing in room 1``` is the action that will fire when a media is playing in room 1.
Expand Down