#import sickbeard #import datetime #import re #import os.path #from sickbeard.common import * #from sickbeard import sbdatetime #from sickbeard.helpers import anon_url
#if not $trending_shows

Trakt API did not return any results, please check your config.

#else #for $cur_show in $trending_shows: #set $image = re.sub(r'(?im)(.*)(\..*?)$', r'\1-300\2', $cur_show['images']['poster'], 0)
<%= (cur_show['title'], ' ')[ '' == cur_show['title']] %>

$cur_show['ratings']['percentage']%

$cur_show['ratings']['votes'] votes
#end for #end if