Set max width on media title in history tables

Add watch history to show media info page
This commit is contained in:
Tim 2015-06-23 14:10:37 +02:00
parent 01601605e1
commit a4a44ec34f
6 changed files with 30 additions and 6 deletions

View file

@ -362,6 +362,9 @@ class WebInterface(object):
if 'rating_key' in kwargs:
rating_key = kwargs.get('rating_key', "")
custom_where = 'rating_key = %s' % rating_key
if 'grandparent_rating_key' in kwargs:
rating_key = kwargs.get('grandparent_rating_key', "")
custom_where = 'grandparent_rating_key = %s' % rating_key
plex_watch = plexwatch.PlexWatch()
history = plex_watch.get_history(start, length, kwargs, custom_where)