14 lines
399 B
Python
14 lines
399 B
Python
# -*- coding: utf-8 -*-
|
|
# vi:si:et:sw=4:sts=4:ts=4
|
|
|
|
from django.conf.urls.defaults import *
|
|
|
|
|
|
urlpatterns = patterns("backend.views",
|
|
(r'^frame/(?P<id>.*)/(?P<position>.*)\.(?P<size>\d+).jpg$', 'frame'),
|
|
(r'^stream/(?P<id>.*).(?P<quality>.*).ogv$', 'video'),
|
|
(r'^poster/(?P<id>.*)\.(?P<size>\d+)\.jpg$', 'poster'),
|
|
(r'^poster/(?P<id>.*)\.jpg$', 'poster'),
|
|
(r'^api/$', 'api'),
|
|
)
|
|
|