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.
298 Method get /genres (-> list of user-configured genres)
88 Method _get_genres Undocumented
104 Method _load_decades Undocumented
118 Method _load_countries Undocumented
143 Method _load_all_genres Undocumented
159 Method _load_genres Undocumented
176 Method _load_stations Undocumented
199 Method _radio_station_from_xml Undocumented
254 Method _load_station Undocumented
274 Method _search Undocumented
294 Method _request_callback Undocumented

Inherited from ResourceProvider:

Line # Kind Name Docs
103 Method post Update the resource pointed by uri with parameters.
116 Method put Put one resource into another. Both resources are identified with URIs.
138 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_genres(self):
Undocumented
def _load_decades(self, model):
Undocumented
def _load_countries(self, model):
Undocumented
def _load_all_genres(self, model):
Undocumented
def _load_genres(self, model):
Undocumented
def _load_stations(self, genre_model):
Undocumented
def _radio_station_from_xml(self, elem, tunein_base=None):
Undocumented
def _load_station(self, url_path, station_id, model):
Undocumented
def _search(self, query, model):
Undocumented
def _request_callback(self, response):
Undocumented
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 2009-02-16 19:15:05.