rename AudioStreamInfo into StreamInfo

Allowing future use with upcoming VideoStream

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2014-01-02 18:26:34 +01:00
commit e7805cec12
10 changed files with 72 additions and 40 deletions

View file

@ -20,7 +20,7 @@
from .base import IBaseCap, CapBaseObject, Field, StringField
from .audiostream import AudioStreamInfo
from weboob.tools.capabilities.streaminfo import StreamInfo
__all__ = ['Radio', 'ICapRadio']
@ -32,7 +32,7 @@ class Radio(CapBaseObject):
"""
title = StringField('Title of radio')
description = StringField('Description of radio')
current = Field('Current emission', AudioStreamInfo)
current = Field('Current emission', StreamInfo)
streams = Field('List of streams', list)
class ICapRadio(IBaseCap):