# -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 from django.conf.urls.defaults import * urlpatterns = patterns("item.views", #frames (r'^(?P[A-Z0-9].+)/frame(?P\d+)p(?P[\d\.]+)\.jpg$', 'frame'), #timelines (r'^(?P[A-Z0-9].+)/timeline(?P\d+)p(?P\d+)\.png$', 'timeline'), (r'^(?P[A-Z0-9].+)/timeline(?P\d+)p\.png$', 'timeline_overview'), #video (r'^(?P[A-Z0-9].+)/(?P\d+p)(?P\d*)\.(?Pwebm|ogv|mp4)$', 'video'), #torrent (r'^(?P[A-Z0-9][A-Za-z0-9]+)/torrent/(?P.+?)$', 'torrent'), #icon (r'^(?P[A-Z0-9].+)/icon(?P\d*)\.jpg$', 'icon'), #poster (r'^(?P[A-Z0-9].+)/poster(?P\d+)\.jpg$', 'poster'), (r'^(?P[A-Z0-9].+)/poster\.jpg$', 'poster_local'), (r'^(?P[A-Z0-9].+)/frameposter(?P\d+).jpg$', 'poster_frame'), )