move ext property from BaseAudio to BaseFile
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
3fa2a8ba8f
commit
b78badc606
2 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,6 @@ class BaseAudio(BaseFile):
|
||||||
"""
|
"""
|
||||||
Represent an audio file
|
Represent an audio file
|
||||||
"""
|
"""
|
||||||
ext = StringField('Audio file extension')
|
|
||||||
duration = Field('Audio file duration', int, long, timedelta)
|
duration = Field('Audio file duration', int, long, timedelta)
|
||||||
bitrate = Field('Audio stream bit rate un Kbps', int)
|
bitrate = Field('Audio stream bit rate un Kbps', int)
|
||||||
format = StringField('Audio stream format')
|
format = StringField('Audio stream format')
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ class BaseFile(CapBaseObject):
|
||||||
"""
|
"""
|
||||||
title = StringField('File title')
|
title = StringField('File title')
|
||||||
url = StringField('File URL')
|
url = StringField('File URL')
|
||||||
|
ext = StringField('File extension')
|
||||||
author = StringField('File author')
|
author = StringField('File author')
|
||||||
description = StringField('File description')
|
description = StringField('File description')
|
||||||
date = DateField('File publication date')
|
date = DateField('File publication date')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue