diff --git a/data/interfaces/default/info.html b/data/interfaces/default/info.html index cd20164b..30e78013 100644 --- a/data/interfaces/default/info.html +++ b/data/interfaces/default/info.html @@ -303,6 +303,19 @@ DOCUMENTATION :: END % endif % endif +
+ % if data['media_type'] in ('collection', 'playlist') and data['children_count']: + <% + if data['media_type'] == 'collection': + suffix = MEDIA_TYPE_HEADERS[data['sub_media_type']] + elif data['media_type'] == 'playlist': + suffix = MEDIA_TYPE_HEADERS[data['playlist_type']] + if data['children_count'] == 1: + suffix = suffix[:-1] + %> + Items ${data['children_count']} ${suffix} + % endif +
% if data['directors']: Directed by ${data['directors'][0]} @@ -328,11 +341,6 @@ DOCUMENTATION :: END Year ${data['year']} % endif
-
- % if data['duration']: - Items ${data['children_count']} ${'track' if data['playlist_type'] == 'audio' else 'video'}${'s' if data['children_count'] > 1 else ''} - % endif -
% if data['duration']: Runtime ${data['duration']} @@ -459,7 +467,7 @@ DOCUMENTATION :: END
-
  Loading movies list...
+
  Loading collection items...