Add link to top level info page from library statistics

This commit is contained in:
Jonathan Wong 2015-09-29 23:34:03 -07:00
parent 5b88058133
commit 61865ace64
3 changed files with 12 additions and 6 deletions

View file

@ -778,8 +778,8 @@ class WebInterface(object):
metadata = {'type': 'library', 'library': 'movie', 'media_type': 'movie', 'title': 'Movies'}
elif item_id == 'show':
metadata = {'type': 'library', 'library': 'show', 'media_type': 'episode', 'title': 'TV Shows'}
elif item_id == 'music':
metadata = {'type': 'library', 'library': 'music', 'media_type': 'track', 'title': 'Music'}
elif item_id == 'artist':
metadata = {'type': 'library', 'library': 'artist', 'media_type': 'track', 'title': 'Music'}
else:
pms_connect = pmsconnect.PmsConnect()
result = pms_connect.get_metadata_details(rating_key=item_id)