{% extends "couchpotato-base.html" %} {% block couchpotato_title %}{% if couchpotato['success'] %}{{ couchpotato['movie']['library']['info']['original_title'] }}{% endif %}{% endblock %} {% block couchpotato_content %} {% if couchpotato['success'] %} {% set info = couchpotato['movie']['library'] %}
poster
{%for image in info['info']['images']%} {% for src in info['info']['images'][image] %} {{image}} {%endfor%} {%endfor%}

{% if info['info']['year'] %} {% endif %} {% if info['info']['rating']['imdb'] %} {% endif %} {% if info['info']['genres'] %} {% endif %} {% if info['info']['release_date']['dvd'] %} {% endif %} {% if info['info']['released'] %} {% endif %} {% if info['info']['writers'] %} {% endif %} {% if info['info']['directors'] %} {% endif %} {% if info['info']['actors'] %} {% endif %} {% if info['info']['runtime'] %} {% endif %}
Year:   {{info['info']['year']}}
Rating:   {{info['info']['rating']['imdb'][0]}}/10 ({{info['info']['rating']['imdb'][1]}} votes
Genres:   {% for genre in info['info']['genres'] %} {{genre}} {%if not loop.last%}|{%endif%} {% endfor %}
DVD:   {{info['info']['release_date']['dvd']|time}}
Theater:   {{info['info']['released']}}
Writers:   {%for writer in info['info']['writers']%} {{writer}}{%if not loop.last%},{%endif%} {%endfor%}
Directors:   {%for director in info['info']['directors']%} {{director}}{%if not loop.last%},{%endif%} {%endfor%}
Actors:   {%for actor in info['info']['actors']%} {{actor}}{%if not loop.last%},{%endif%} {%endfor%}
Runtime:   {{info['info']['runtime']}}
Profile:   {% if profiles %} {% else %} {{couchpotato['movie']['profile']['label']}} {% endif %}

{% if info['plot'] %}


Plot:
{{info['plot']}}

{% endif %}
{% else %}

An error ocurred

{%endif%} {% endblock %}