File: RBPlaylistSource.html

package info (click to toggle)
rhythmbox 0.11.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 26,232 kB
  • ctags: 11,434
  • sloc: ansic: 97,824; xml: 36,080; sh: 9,341; python: 4,193; makefile: 2,130; cpp: 153
file content (504 lines) | stat: -rw-r--r-- 22,796 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>rb-playlist-source</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="Rhythmbox Development Reference Manual">
<link rel="up" href="ch06.html" title="Sources">
<link rel="prev" href="RBPlayQueueSource.html" title="RBPlayQueueSource">
<link rel="next" href="rhythmbox-rb-podcast-source.html" title="rb-podcast-source">
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="Backends">
<link rel="chapter" href="ch02.html" title="Lib">
<link rel="chapter" href="ch03.html" title="Metadata">
<link rel="chapter" href="ch04.html" title="RhythmDB">
<link rel="chapter" href="ch05.html" title="Shell">
<link rel="chapter" href="ch06.html" title="Sources">
<link rel="chapter" href="ch07.html" title="Widgets">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="RBPlayQueueSource.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch06.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Rhythmbox Development Reference Manual</th>
<td><a accesskey="n" href="rhythmbox-rb-podcast-source.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#RBPlaylistSource.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#RBPlaylistSource.description" class="shortcut">Description</a>
                   | 
                  <a href="#RBPlaylistSource.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#RBPlaylistSource.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#RBPlaylistSource.properties" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="RBPlaylistSource"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="RBPlaylistSource.top_of_page"></a>rb-playlist-source</span></h2>
<p>rb-playlist-source — Base class for playlist sources</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="RBPlaylistSource.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
                    <a class="link" href="RBPlaylistSource.html#RBPlaylistSource-struct" title="RBPlaylistSource">RBPlaylistSource</a>;
                    <a class="link" href="RBPlaylistSource.html#RBPlaylistSourceClass" title="RBPlaylistSourceClass">RBPlaylistSourceClass</a>;
<a class="link" href="RBSource.html" title="RBSource">RBSource</a>*           <a class="link" href="RBPlaylistSource.html#rb-playlist-source-new-from-xml" title="rb_playlist_source_new_from_xml ()">rb_playlist_source_new_from_xml</a>     (RBShell *shell,
                                                         xmlNodePtr node);
void                <a class="link" href="RBPlaylistSource.html#rb-playlist-source-save-playlist" title="rb_playlist_source_save_playlist ()">rb_playlist_source_save_playlist</a>    (<a class="link" href="RBPlaylistSource.html" title="rb-playlist-source">RBPlaylistSource</a> *source,
                                                         const char *uri,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> m3u_format);
void                <a class="link" href="RBPlaylistSource.html#rb-playlist-source-save-to-xml" title="rb_playlist_source_save_to_xml ()">rb_playlist_source_save_to_xml</a>      (<a class="link" href="RBPlaylistSource.html" title="rb-playlist-source">RBPlaylistSource</a> *source,
                                                         xmlNodePtr parent_node);
void                <a class="link" href="RBPlaylistSource.html#rb-playlist-source-set-query-model" title="rb_playlist_source_set_query_model ()">rb_playlist_source_set_query_model</a>  (<a class="link" href="RBPlaylistSource.html" title="rb-playlist-source">RBPlaylistSource</a> *source,
                                                         RhythmDBQueryModel *model);
RhythmDBQueryModel* <a class="link" href="RBPlaylistSource.html#rb-playlist-source-get-query-model" title="rb_playlist_source_get_query_model ()">rb_playlist_source_get_query_model</a>  (<a class="link" href="RBPlaylistSource.html" title="rb-playlist-source">RBPlaylistSource</a> *source);
<a class="link" href="RhythmDB.html" title="rhythmdb">RhythmDB</a>*           <a class="link" href="RBPlaylistSource.html#rb-playlist-source-get-db" title="rb_playlist_source_get_db ()">rb_playlist_source_get_db</a>           (<a class="link" href="RBPlaylistSource.html" title="rb-playlist-source">RBPlaylistSource</a> *source);
void                <a class="link" href="RBPlaylistSource.html#rb-playlist-source-mark-dirty" title="rb_playlist_source_mark_dirty ()">rb_playlist_source_mark_dirty</a>       (<a class="link" href="RBPlaylistSource.html" title="rb-playlist-source">RBPlaylistSource</a> *source);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            <a class="link" href="RBPlaylistSource.html#rb-playlist-source-location-in-map" title="rb_playlist_source_location_in_map ()">rb_playlist_source_location_in_map</a>  (<a class="link" href="RBPlaylistSource.html" title="rb-playlist-source">RBPlaylistSource</a> *source,
                                                         const char *location);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            <a class="link" href="RBPlaylistSource.html#rb-playlist-source-add-to-map" title="rb_playlist_source_add_to_map ()">rb_playlist_source_add_to_map</a>       (<a class="link" href="RBPlaylistSource.html" title="rb-playlist-source">RBPlaylistSource</a> *source,
                                                         const char *location);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="RBPlaylistSource.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
   +----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
         +----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
               +----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
                     +----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
                           +----<a
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
>GtkBox</a>
                                 +----<a
href="/usr/share/gtk-doc/html/gtk/GtkHBox.html"
>GtkHBox</a>
                                       +----<a class="link" href="RBSource.html" title="RBSource">RBSource</a>
                                             +----RBPlaylistSource
                                                   +----<a class="link" href="RBAutoPlaylistSource.html" title="RBAutoPlaylistSource">RBAutoPlaylistSource</a>
                                                   +----RBStaticPlaylistSource
</pre>
</div>
<div class="refsect1" lang="en">
<a name="RBPlaylistSource.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
RBPlaylistSource implements
 AtkImplementorIface and  <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="RBPlaylistSource.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="RBPlaylistSource.html#RBPlaylistSource--db" title='The "db" property'>db</a>"                       <a class="link" href="RhythmDB.html" title="rhythmdb">RhythmDB</a>*             : Read
  "<a class="link" href="RBPlaylistSource.html#RBPlaylistSource--dirty" title='The "dirty" property'>dirty</a>"                    <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read
  "<a class="link" href="RBPlaylistSource.html#RBPlaylistSource--is-local" title='The "is-local" property'>is-local</a>"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write / Construct Only
  "<a class="link" href="RBPlaylistSource.html#RBPlaylistSource--sorting-name" title='The "sorting-name" property'>sorting-name</a>"             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="RBPlaylistSource.description"></a><h2>Description</h2>
<p>
This class provides some common infrastructure for playlist
sources.  A playlist, in this context, is a persistent user-defined
selection from a set of songs.  Playlists (static and auto) based 
on the main library are saved to the playlists.xml file stored
alongside the rhythmdb.xml file.  Playlists on portable music players
are saved on the device in the format the player itself supports.
</p>
<p>
This class provides most of the source UI (excluding the search bar),
holds some of the framework for loading and saving the playlists.xml
file, and records which playlists need to be saved.</p>
<p>

</p>
</div>
<div class="refsect1" lang="en">
<a name="RBPlaylistSource.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="RBPlaylistSource-struct"></a><h3>RBPlaylistSource</h3>
<pre class="programlisting">typedef struct _RBPlaylistSource RBPlaylistSource;</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="RBPlaylistSourceClass"></a><h3>RBPlaylistSourceClass</h3>
<pre class="programlisting">typedef struct {
	RBSourceClass parent;

	/* methods */
	void	(*impl_show_entry_view_popup)	(RBPlaylistSource *source, RBEntryView *view, gboolean over_entry);
	void	(*impl_save_contents_to_xml)	(RBPlaylistSource *source, xmlNodePtr node);
	void	(*impl_mark_dirty)		(RBPlaylistSource *source);
} RBPlaylistSourceClass;
</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="rb-playlist-source-new-from-xml"></a><h3>rb_playlist_source_new_from_xml ()</h3>
<pre class="programlisting"><a class="link" href="RBSource.html" title="RBSource">RBSource</a>*           rb_playlist_source_new_from_xml     (RBShell *shell,
                                                         xmlNodePtr node);</pre>
<p>
Constructs a playlist source instance from the XML serialized
format.  This function knows about all the playlist types that
can be saved to disk, and it hands off the XML node to the
appropriate constructor based on the 'type' attribute of
the root node of the playlist.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
<td> the <span class="type">RBShell</span> instance
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td> libxml node containing the playlist
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the playlist
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="rb-playlist-source-save-playlist"></a><h3>rb_playlist_source_save_playlist ()</h3>
<pre class="programlisting">void                rb_playlist_source_save_playlist    (<a class="link" href="RBPlaylistSource.html" title="rb-playlist-source">RBPlaylistSource</a> *source,
                                                         const char *uri,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> m3u_format);</pre>
<p>
Saves the playlist to an external file in a standard
format (M3U or PLS).</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td> a <a class="link" href="RBPlaylistSource.html" title="rb-playlist-source"><span class="type">RBPlaylistSource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td> destination URI
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>m3u_format</code></em> :</span></p></td>
<td> if TRUE, save as .m3u, otherwise .pls
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="rb-playlist-source-save-to-xml"></a><h3>rb_playlist_source_save_to_xml ()</h3>
<pre class="programlisting">void                rb_playlist_source_save_to_xml      (<a class="link" href="RBPlaylistSource.html" title="rb-playlist-source">RBPlaylistSource</a> *source,
                                                         xmlNodePtr parent_node);</pre>
<p>
Converts the playlist to XML format, below the specified
parent node.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td> the playlist source to save
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent_node</code></em> :</span></p></td>
<td> libxml node below which to save the playlist
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="rb-playlist-source-set-query-model"></a><h3>rb_playlist_source_set_query_model ()</h3>
<pre class="programlisting">void                rb_playlist_source_set_query_model  (<a class="link" href="RBPlaylistSource.html" title="rb-playlist-source">RBPlaylistSource</a> *source,
                                                         RhythmDBQueryModel *model);</pre>
<p>
Sets a new query model for the playlist.  This updates the
entry view to use the new query model and also updates the
source query-model property.
</p>
<p>
This needs to be called when the playlist subclass
creates a new query model.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td> the <a class="link" href="RBPlaylistSource.html" title="rb-playlist-source"><span class="type">RBPlaylistSource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
<td> the new <span class="type">RhythmDBQueryModel</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="rb-playlist-source-get-query-model"></a><h3>rb_playlist_source_get_query_model ()</h3>
<pre class="programlisting">RhythmDBQueryModel* rb_playlist_source_get_query_model  (<a class="link" href="RBPlaylistSource.html" title="rb-playlist-source">RBPlaylistSource</a> *source);</pre>
<p>
Returns the current <span class="type">RhythmDBQueryModel</span> for the playlist.
The caller must not unref the object once finished with it.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td> a <a class="link" href="RBPlaylistSource.html" title="rb-playlist-source"><span class="type">RBPlaylistSource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the current <span class="type">RhythmDBQueryModel</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="rb-playlist-source-get-db"></a><h3>rb_playlist_source_get_db ()</h3>
<pre class="programlisting"><a class="link" href="RhythmDB.html" title="rhythmdb">RhythmDB</a>*           rb_playlist_source_get_db           (<a class="link" href="RBPlaylistSource.html" title="rb-playlist-source">RBPlaylistSource</a> *source);</pre>
<p>
Returns the <a class="link" href="RhythmDB.html" title="rhythmdb"><span class="type">RhythmDB</span></a> instance.  The caller must not
unref the object once finished with it.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td> a <a class="link" href="RBPlaylistSource.html" title="rb-playlist-source"><span class="type">RBPlaylistSource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the <a class="link" href="RhythmDB.html" title="rhythmdb"><span class="type">RhythmDB</span></a> instance
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="rb-playlist-source-mark-dirty"></a><h3>rb_playlist_source_mark_dirty ()</h3>
<pre class="programlisting">void                rb_playlist_source_mark_dirty       (<a class="link" href="RBPlaylistSource.html" title="rb-playlist-source">RBPlaylistSource</a> *source);</pre>
<p>
Marks the playlist dirty.  This generally means that the playlist
will be saved to disk fairly soon, but the exact meaning can vary
between playlist types.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td> a <a class="link" href="RBPlaylistSource.html" title="rb-playlist-source"><span class="type">RBPlaylistSource</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="rb-playlist-source-location-in-map"></a><h3>rb_playlist_source_location_in_map ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            rb_playlist_source_location_in_map  (<a class="link" href="RBPlaylistSource.html" title="rb-playlist-source">RBPlaylistSource</a> *source,
                                                         const char *location);</pre>
<p>
</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td> a <a class="link" href="RBPlaylistSource.html" title="rb-playlist-source"><span class="type">RBPlaylistSource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>location</code></em> :</span></p></td>
<td> a URI to check
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if the specified URI is in the playlist entry map
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="rb-playlist-source-add-to-map"></a><h3>rb_playlist_source_add_to_map ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            rb_playlist_source_add_to_map       (<a class="link" href="RBPlaylistSource.html" title="rb-playlist-source">RBPlaylistSource</a> *source,
                                                         const char *location);</pre>
<p>
Adds a URI to the playlist's entry map.  This is useful when the
URI is being added to the database, but no entry exists for it yet.
When the entry is created, it will be added to the query model.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td> a <a class="link" href="RBPlaylistSource.html" title="rb-playlist-source"><span class="type">RBPlaylistSource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>location</code></em> :</span></p></td>
<td> a URI to add
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if the URI was added to the entry map,
 FALSE if it was already there.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="RBPlaylistSource.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="RBPlaylistSource--db"></a><h3>The <code class="literal">"db"</code> property</h3>
<pre class="programlisting">  "db"                       <a class="link" href="RhythmDB.html" title="rhythmdb">RhythmDB</a>*             : Read</pre>
<p>
The <a class="link" href="RhythmDB.html" title="rhythmdb"><span class="type">RhythmDB</span></a> instance</p>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="RBPlaylistSource--dirty"></a><h3>The <code class="literal">"dirty"</code> property</h3>
<pre class="programlisting">  "dirty"                    <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read</pre>
<p>
Whether the playlist has been changed since it was last saved
to disk.</p>
<p>

</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="RBPlaylistSource--is-local"></a><h3>The <code class="literal">"is-local"</code> property</h3>
<pre class="programlisting">  "is-local"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write / Construct Only</pre>
<p>
Whether the playlist is attached to the local library.
Remote DAAP playlists, for example, are not local.</p>
<p>

</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="RBPlaylistSource--sorting-name"></a><h3>The <code class="literal">"sorting-name"</code> property</h3>
<pre class="programlisting">  "sorting-name"             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>
A unique-ish name for the playlist, used to construct gconf keys
to store information relating to the playlist.</p>
<p>

</p>
<p>Default value: NULL</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.10</div>
</body>
</html>