pull/2721/merge
Nolan Gilley 2016-08-18 19:21:01 -04:00 committed by Robbie Trencheny
parent 85d632c272
commit 9bfac590f6
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ class PlexSensor(Entity):
sessions = self._server.sessions()
now_playing = []
for sess in sessions:
user = sess.user.title if sess.user is not self._na_type else ""
user = sess.username if sess.username is not self._na_type else ""
title = sess.title if sess.title is not self._na_type else ""
year = sess.year if sess.year is not self._na_type else ""
now_playing.append((user, "{0} ({1})".format(title, year)))