Another update to recently added and recently watched.

Recently added albums now include artist name.
Recently watched episodes now include show name.
This commit is contained in:
JonnyWong16 2015-08-18 02:26:52 -07:00
commit 6cb1c057cf
4 changed files with 22 additions and 14 deletions

View file

@ -18,6 +18,7 @@ time Returns the last watched time of the media.
title Returns the name of the movie or episode.
== Only if 'type' is 'episode ==
parent_title Returns the name of the TV Show a season belongs too.
parent_index Returns the season number.
index Returns the episode number.
@ -39,8 +40,9 @@ DOCUMENTATION :: END
</div>
<div class="dashboard-recent-media-metacontainer">
% if item['type'] == 'episode':
<h3>${item['parent_title']}</h3>
<h3>${item['title']}</h3>
<h3>(Season ${item['parentIndex']}, Episode ${item['index']})</h3>
<h3>(Season ${item['parent_index']}, Episode ${item['index']})</h3>
% elif item['type'] == 'movie':
<h3>${item['title']}</h3>
<h3>(${item['year']})</h3>