Added more detail to history items

* Year for movies
* Season and episode number for episodes
* Album name for tracks
This commit is contained in:
Jonathan Wong 2015-08-22 05:17:30 -07:00
parent 95cd2b4f81
commit e976e6cf5c
2 changed files with 12 additions and 3 deletions

View file

@ -39,6 +39,10 @@ class DataFactory(object):
'session_history_metadata.thumb',
'session_history_metadata.parent_thumb',
'session_history_metadata.grandparent_thumb',
'session_history_metadata.media_index',
'session_history_metadata.parent_media_index',
'session_history_metadata.parent_title',
'session_history_metadata.year',
'session_history.started',
'session_history.paused_counter',
'session_history.stopped',
@ -98,6 +102,10 @@ class DataFactory(object):
"ip_address": item["ip_address"],
"full_title": item["full_title"],
"thumb": thumb,
"media_index": item["media_index"],
"parent_media_index": item["parent_media_index"],
"parent_title": item["parent_title"],
"year": item["year"],
"started": item["started"],
"paused_counter": item["paused_counter"],
"stopped": item["stopped"],