~ubuntu-branches/ubuntu/precise/moovida/precise

« back to all changes in this revision

Viewing changes to docs/api/elisa.plugins.base.models.audio.TrackModel.html

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Starr-Bochicchio
  • Date: 2009-07-14 14:05:15 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090714140515-e8umtzznfvywkeow
Tags: 1.0.5-0ubuntu1
* New upstream release.
* Merge with Debian Experimental, remaining Ubuntu changes:
 - debian/rules: Python 2.6 transition.
  + Don't use site-packages
  + Move DEB_PYTHON_INSTALL_ARGS_ALL after the includes.
* Synchronize with pkg-gstreamer svn:
 - debian/copyright: Completely reworked and updated.
 - debian/rules:
  + Bumped standards version to 3.8.2; no changes required.
  + Added recommends on xdg-user-dirs-gtk and python-xdg so that media in
    standard locations will be located. 
  + Changed build-depend on python-central into python-support.
 - debian/python-moovida.preinst:
  + Added to handle the migration from python-central to python-support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html
2
 
  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
 
  "DTD/xhtml1-strict.dtd">
4
 
<html>
5
 
  <head>
6
 
    <title>API docs for &ldquo;elisa.plugins.base.models.audio.TrackModel&rdquo;</title>
7
 
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
8
 
    <link href="apidocs.css" type="text/css" rel="stylesheet" />
9
 
    <script src="sorttable.js" type="text/javascript"></script>
10
 
    
11
 
  </head>
12
 
  <body>
13
 
    <h1 class="class">Class e.p.b.m.a.TrackModel(<a href="elisa.core.components.model.Model.html">Model</a>):</h1>
14
 
    <p>
15
 
      <span id="part">Part of <a href="elisa.html">elisa</a>.<a href="elisa.plugins.html">plugins</a>.<a href="elisa.plugins.base.html">base</a>.<a href="elisa.plugins.base.models.html">models</a>.<a href="elisa.plugins.base.models.audio.html">audio</a></span>
16
 
      
17
 
      <a href="classIndex.html#elisa.plugins.base.models.audio.TrackModel">View In Hierarchy</a>
18
 
    </p>
19
 
    <div>
20
 
      <p>Known subclasses: <a href="elisa.plugins.coherence.models.UpnpTrackModel.html">elisa.plugins.coherence.models.UpnpTrackModel</a>, <a href="elisa.plugins.daap.models.DaapSongModel.html">elisa.plugins.daap.models.DaapSongModel</a>, <a href="elisa.plugins.ipod.models.IpodSongModel.html">elisa.plugins.ipod.models.IpodSongModel</a>, <a href="elisa.plugins.ipod.models.IpodTrackModel.html">elisa.plugins.ipod.models.IpodTrackModel</a>, <a href="elisa.plugins.poblesec.tests.test_dbus_player.TestTrackModel.html">elisa.plugins.poblesec.tests.test_dbus_player.TestTrackModel</a>, <a href="elisa.plugins.rss.models.RssTrackItem.html">elisa.plugins.rss.models.RssTrackItem</a></p>
21
 
    </div>
22
 
    <div>Representation of an audio track on an album.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Instance Variables</td><td class="fieldArg">title</td><td>the title of the track
23
 
 (type: <code>unicode</code>
24
 
)</td></tr><tr><td></td><td class="fieldArg">artist</td><td>the name of the artist of the track
25
 
 (type: <code>unicode</code>
26
 
)</td></tr><tr><td></td><td class="fieldArg">duration</td><td>the duration of the track (in seconds)
27
 
 (type: <code>int</code>
28
 
)</td></tr><tr><td></td><td class="fieldArg">track_number</td><td>the number of the track on the album
29
 
 (type: <code>int</code>
30
 
)</td></tr><tr><td></td><td class="fieldArg">playable_uri</td><td>the URI to query the resource provider with to get a playable model 
31
 
containing the real URI of the audio file
32
 
 (type: <a 
33
 
href="elisa.core.media_uri.MediaUri.html"><code>elisa.core.media_uri.MediaUri</code></a>
34
 
)</td></tr><tr><td></td><td class="fieldArg">album</td><td>album containing the track
35
 
 (type: <a 
36
 
href="elisa.plugins.base.models.audio.AlbumModel.html"><code>elisa.plugins.base.models.audio.AlbumModel</code></a>
37
 
)</td></tr></table></div>
38
 
 
39
 
    
40
 
    
41
 
    <div id="splitTables">
42
 
      <table class="children sortable" id="id1417">
43
 
  
44
 
  <tr>
45
 
    <th>Line #</th>
46
 
    <th>Kind</th>
47
 
    <th>Name</th>
48
 
    <th>Docs</th>
49
 
  </tr>
50
 
<tr class="method">
51
 
    
52
 
    <td class="lineno">100</td>
53
 
    <td>Method</td>
54
 
    <td><a href="elisa.plugins.base.models.audio.TrackModel.html#__init__">__init__</a></td>
55
 
    <td><span class="undocumented">Undocumented</span></td>
56
 
  </tr><tr class="method">
57
 
    
58
 
    <td class="lineno">109</td>
59
 
    <td>Method</td>
60
 
    <td><a href="elisa.plugins.base.models.audio.TrackModel.html#get_album">get_album</a></td>
61
 
    <td><span>Return a deferred that will return the album containing the track as 
62
 
an</span></td>
63
 
  </tr><tr class="method">
64
 
    
65
 
    <td class="lineno">118</td>
66
 
    <td>Method</td>
67
 
    <td><a href="elisa.plugins.base.models.audio.TrackModel.html#get_artists">get_artists</a></td>
68
 
    <td><span>Return a deferred that will return the list of artist names for the</span></td>
69
 
  </tr><tr class="method">
70
 
    
71
 
    <td class="lineno">127</td>
72
 
    <td>Method</td>
73
 
    <td><a href="elisa.plugins.base.models.audio.TrackModel.html#get_playable_model">get_playable_model</a></td>
74
 
    <td><span>Return a deferred that will return an instance of</span></td>
75
 
  </tr>
76
 
  
77
 
</table>
78
 
      
79
 
        <p>
80
 
          Inherited from <a href="elisa.core.utils.bindable.Bindable.html">Bindable</a> (via <a href="elisa.core.components.model.Model.html">Model</a>):
81
 
        </p>
82
 
        <table class="children sortable" id="id1418">
83
 
  
84
 
  <tr>
85
 
    <th>Line #</th>
86
 
    <th>Kind</th>
87
 
    <th>Name</th>
88
 
    <th>Docs</th>
89
 
  </tr>
90
 
<tr class="basemethod">
91
 
    
92
 
    <td class="lineno">34</td>
93
 
    <td>Method</td>
94
 
    <td><a href="elisa.core.utils.bindable.Bindable.html#bind">bind</a></td>
95
 
    <td><span>Bind a local <code>attribute</code> to 
96
 
<code>destination_attribute</code> of</span></td>
97
 
  </tr><tr class="basemethod">
98
 
    
99
 
    <td class="lineno">73</td>
100
 
    <td>Method</td>
101
 
    <td><a href="elisa.core.utils.bindable.Bindable.html#unbind">unbind</a></td>
102
 
    <td><span>Remove the binding of <code>attribute</code> to 
103
 
<code>destination_attribute</code> of</span></td>
104
 
  </tr><tr class="basemethod">
105
 
    
106
 
    <td class="lineno">104</td>
107
 
    <td>Method</td>
108
 
    <td><a href="elisa.core.utils.bindable.Bindable.html#unbind_object">unbind_object</a></td>
109
 
    <td><span>Remove all the bindings you have for a certain 
110
 
<code>destination_object</code>.</span></td>
111
 
  </tr><tr class="basemethod">
112
 
    
113
 
    <td class="lineno">118</td>
114
 
    <td>Method</td>
115
 
    <td><a href="elisa.core.utils.bindable.Bindable.html#__setattr__">__setattr__</a></td>
116
 
    <td><span class="undocumented">Undocumented</span></td>
117
 
  </tr><tr class="basemethod">
118
 
    
119
 
    <td class="lineno">136</td>
120
 
    <td>Method</td>
121
 
    <td><a href="elisa.core.utils.bindable.Bindable.html#__delattr__">__delattr__</a></td>
122
 
    <td><span class="undocumented">Undocumented</span></td>
123
 
  </tr>
124
 
  
125
 
</table>
126
 
      
127
 
      
128
 
    </div>
129
 
    
130
 
    
131
 
    
132
 
 
133
 
    <div class="function">
134
 
  <a name="elisa.plugins.base.models.audio.TrackModel.__init__">
135
 
    
136
 
  </a>
137
 
  <a name="__init__">
138
 
    
139
 
  </a>
140
 
  <div class="functionHeader">
141
 
    
142
 
    def
143
 
    __init__(self):
144
 
    
145
 
  </div>
146
 
  <div class="functionBody">
147
 
    <div class="interfaceinfo">overrides <a href="elisa.core.utils.bindable.Bindable.html#__init__">elisa.core.utils.bindable.Bindable.__init__</a></div><div class="interfaceinfo">overridden in <a href="elisa.plugins.ipod.models.IpodSongModel.html">elisa.plugins.ipod.models.IpodSongModel</a>, <a href="elisa.plugins.ipod.models.IpodTrackModel.html">elisa.plugins.ipod.models.IpodTrackModel</a></div>
148
 
    <div class="undocumented">Undocumented</div>
149
 
  </div>
150
 
</div><div class="function">
151
 
  <a name="elisa.plugins.base.models.audio.TrackModel.get_album">
152
 
    
153
 
  </a>
154
 
  <a name="get_album">
155
 
    
156
 
  </a>
157
 
  <div class="functionHeader">
158
 
    
159
 
    def
160
 
    get_album(self):
161
 
    
162
 
  </div>
163
 
  <div class="functionBody">
164
 
    <div class="interfaceinfo">overridden in <a href="elisa.plugins.poblesec.tests.test_dbus_player.TestTrackModel.html">elisa.plugins.poblesec.tests.test_dbus_player.TestTrackModel</a></div>
165
 
    <div>Return a deferred that will return the album containing the track as an 
166
 
instance of <a 
167
 
href="elisa.plugins.base.models.audio.AlbumModel.html"><code>elisa.plugins.base.models.audio.AlbumModel</code></a>.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2"> (type: <code>elisa.core.utils.defer.Deferred</code>
168
 
)</td></tr></table></div>
169
 
  </div>
170
 
</div><div class="function">
171
 
  <a name="elisa.plugins.base.models.audio.TrackModel.get_artists">
172
 
    
173
 
  </a>
174
 
  <a name="get_artists">
175
 
    
176
 
  </a>
177
 
  <div class="functionHeader">
178
 
    
179
 
    def
180
 
    get_artists(self):
181
 
    
182
 
  </div>
183
 
  <div class="functionBody">
184
 
    
185
 
    <div>Return a deferred that will return the list of artist names for the 
186
 
track as <code>unicode</code> instances.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2"> (type: <code>elisa.core.utils.defer.Deferred</code>
187
 
)</td></tr></table></div>
188
 
  </div>
189
 
</div><div class="function">
190
 
  <a name="elisa.plugins.base.models.audio.TrackModel.get_playable_model">
191
 
    
192
 
  </a>
193
 
  <a name="get_playable_model">
194
 
    
195
 
  </a>
196
 
  <div class="functionHeader">
197
 
    
198
 
    def
199
 
    get_playable_model(self):
200
 
    
201
 
  </div>
202
 
  <div class="functionBody">
203
 
    <div class="interfaceinfo">overridden in <a href="elisa.plugins.poblesec.tests.test_dbus_player.TestTrackModel.html">elisa.plugins.poblesec.tests.test_dbus_player.TestTrackModel</a>, <a href="elisa.plugins.rss.models.RssTrackItem.html">elisa.plugins.rss.models.RssTrackItem</a></div>
204
 
    <div>Return a deferred that will return an instance of <a 
205
 
href="elisa.plugins.base.models.media.PlayableModel.html"><code>elisa.plugins.base.models.media.PlayableModel</code></a>
206
 
for the track.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2"> (type: <code>elisa.core.utils.defer.Deferred</code>
207
 
)</td></tr></table></div>
208
 
  </div>
209
 
</div>
210
 
    <address>
211
 
      <a href="index.html">API Documentation</a> for <a href="http://elisa.fluendo.com">Elisa Media Center</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2009-05-25 19:09:45.
212
 
    </address>
213
 
  </body>
214
 
</html>
 
 
b'\\ No newline at end of file'