ordigi/elodie/media/audio.py

27 lines
586 B
Python
Raw Normal View History

"""
2016-01-08 23:49:06 +01:00
The audio module contains classes specifically for dealing with audio files.
The :class:`Audio` class inherits from the :class:`~elodie.media.video.Video`
class.
.. moduleauthor:: Jaisen Mathai <jaisen@jmathai.com>
"""
2016-03-12 20:09:28 +01:00
from __future__ import absolute_import
2016-03-12 20:09:28 +01:00
from .video import Video
class Audio(Video):
2016-01-08 23:49:06 +01:00
"""An audio object.
:param str source: The fully qualified path to the audio file.
"""
__name__ = 'Audio'
2016-01-08 23:49:06 +01:00
#: Valid extensions for audio files.
extensions = ('m4a',)
def __init__(self, source=None):
super(Audio, self).__init__(source)