%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: <% from plexpy.common import MEDIA_TYPE_HEADERS from plexpy.helpers import page types = ('movie', 'show', 'artist', 'album') %> % for media_type in types: % if data['results_list'][media_type]: