Class e.p.s.s.ShoutcastResource(ResourceProvider):

Part of elisa.plugins.shoutcast.shoutcast_resource View In Hierarchy

This class implements support for the shoutcast servers and playlist
Line # Kind Name Docs
66 Method __init__ Undocumented
76 Method clean Clean the component.
293 Method get /genres (-> list of user-configured genres)

Inherited from ResourceProvider:

Line # Kind Name Docs
94 Method post Update the resource pointed by uri with parameters.
107 Method put Put one resource into another. Both resources are identified with URIs.
129 Method delete Delete a Resource represented by a URI.

Inherited from Component (via ResourceProvider):

Line # Kind Name Docs
85 Class PathDescriptor Undocumented
97 Class Method create Create and initialize the component.
130 Method initialize Initialize the component.
def __init__(self):
Undocumented
def clean(self):

Clean the component.

This method is called when a component is not needed anymore to clean its state.
Returnsa deferred called when the component has finished cleaning its state (type: twisted.internet.defer.Deferred )
def get(self, uri, context_model=None):

/genres (-> list of user-configured genres) /genre/genre_name (-> list of streams) /station/path/to/stream/base?id=station_id

/popular_stations (-> list of stations) /stations_by_country (-> list of countries) /country/name (-> list of stations) /decades (-> list of user-configured decades) /decade/name (-> list of stations)

/search/query (-> list of stations)

/all_genres (-> all genres available on shoutcast)

Later: /favorites (-> list of stations)
API Documentation for Elisa Media Center, generated by pydoctor at 2008-08-25 19:17:22.