Part of elisa.plugins.ipod.ipod_resource View In Hierarchy
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 44 | Method | __init__ | Undocumented |
| 48 | Method | get | the action parameter of the uri tells what informations are |
| 107 | Method | _get_tracks | Undocumented |
| 197 | Method | _parse_tracks | parse all tracks on the ipod and store them in a TrackListModel |
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. |
| 142 | Method | clean | Clean the component. |
the search parameter tells which tracks should be requested
possible search values are: albums, songs and artists (which is the default search)
the search can also be narrowed by setting artist and/or album parameter to search only for example for all albums of a given artist.
for each different request, a different model is returned, which is always a list model that contains a list of artist, album or song models
examples (all for tracks at the moment): get songs from artist a: ipod://mnt_point/?action=tracks&search=songs&artist=a
get albums from artist a: ipod://mnt_point/?action=tracks&search=albums&artist=a
get all artists: ipod://mnt_point/?action=tracks&search=artist or (because it is the default search): ipod://mnt_point/?action=tracks
contextual models are not supported!