%doc> USAGE DOCUMENTATION :: PLEASE LEAVE THIS AT THE TOP OF THIS FILE For Mako templating syntax documentation please visit: http://docs.makotemplates.org/en/latest/ Filename: info_collection_list.html Version: 0.1 Variable names: data [list] data :: Usable parameters == Global keys == children_type Returns the type of children in the array. children_count Returns the number of episodes in the array. children_list Returns an array of episodes. data['children_list'] :: Usable paramaters == Global keys == rating_key Returns the unique identifier for the media item. media_index Returns the episode number. title Returns the name of the episode. thumb Returns the location of the item's thumbnail. Use with pms_image_proxy. parent_thumb Returns the location of the item's parent thumbnail. Use with pms_image_proxy. DOCUMENTATION :: END %doc> % if data != None: <% types = ('movie', 'show', 'artist', 'album') headers = {'movie': 'Movies', 'show': 'TV Shows', 'season': 'Seasons', 'episode': 'Episodes', 'artist': 'Artists', 'album': 'Albums', 'track': 'Tracks', } %> % for media_type in types: % if data['results_list'][media_type]: