[subtitle] add language in search

This commit is contained in:
Julien Veyssier 2013-02-22 14:47:46 +01:00
commit 54e21fb21a
6 changed files with 25 additions and 14 deletions

View file

@ -31,8 +31,9 @@ class Subtitle(CapBaseObject):
"""
name = StringField('Name of subtitle')
url = StringField('Direct url to subtitle file')
fps = StringField('Framerate of corresponding video')
nb_cd = StringField('Number of cd')
fps = FloatField('Framerate of corresponding video')
nb_cd = IntField('Number of cd')
language = StringField('Language of the subtitle')
description=StringField('Description of corresponding video')
def __init__(self, id, name):