Allow info pages to be pulled from the db instead of the Plex Server, useful for media that has been deleted.

Fix home stats user link if user has no id.
Fix bug in PlexWatch import script which switched around the episode and show titles.
This commit is contained in:
Tim 2015-07-25 12:40:38 +02:00
commit 7d9934e4b6
11 changed files with 137 additions and 64 deletions

View file

@ -58,9 +58,9 @@ from plexpy import helpers
<div class="span9">
<div class="summary-content-poster hidden-phone hidden-tablet">
% if data['type'] == 'episode':
<img src="pms_image_proxy?img=${data['parent_thumb']}&width=256&height=352">
<img src="pms_image_proxy?img=${data['parent_thumb']}&width=256&height=352&fallback=poster">
% else:
<img src="pms_image_proxy?img=${data['thumb']}&width=256&height=352">
<img src="pms_image_proxy?img=${data['thumb']}&width=256&height=352&fallback=poster">
% endif
</div>
<div class="summary-content">