Part of elisa.plugins.daap.daap_connection View In Hierarchy
elisa.plugins.daap.daap_parser.DaapParser
to parse the data into models.
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 62 | Method | __init__ | Undocumented |
| 69 | Method | login | Try to log into the server. Has to be called before trying to make |
| 127 | Method | request | request the uri and wrap the data in the
model. The parameters
|
| 150 | Method | _internal_request | Undocumented |
| 156 | Method | _request_and_fullread | Undocumented |
| 167 | Method | _request_and_parse_full | Undocumented |
| 218 | Method | _request_content_codes | Undocumented |
| Returns | (type: twisted.internet.defer.Deferred
) | |
| Raises | LoginFailed | in case the login failed. |
request the uri and wrap the data in the
model. The parameters 'session-id' and 'revision-id' are
overwritten with the values from inside this class.
You need to be logged in before trying to request anything.
FIXME: deferred returned by this method is not cancellable.| Parameters | uri | (type: elisa.core.media_uri.MediaUri
) |
| model | (type: elisa.plugins.daap.models.DaapModel
@rtype elisa.twisted.internet.defer.Deferred
) |