This file is indexed.

/usr/share/doc/screenlets/API/screenlets.plugins.LastFMProxy-pysrc.html is in screenlets-doc 0.1.6-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>screenlets.plugins.LastFMProxy</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="screenlets-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >Screenlets 0.1.6</th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="screenlets-module.html">Package&nbsp;screenlets</a> ::
        <a href="screenlets.plugins-module.html">Package&nbsp;plugins</a> ::
        Module&nbsp;LastFMProxy
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="screenlets.plugins.LastFMProxy-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="screenlets.plugins.LastFMProxy-module.html">Module screenlets.plugins.LastFMProxy</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment"># This program is free software: you can redistribute it and/or modify</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment"># it under the terms of the GNU General Public License as published by</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-comment"># the Free Software Foundation, either version 3 of the License, or</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-comment"># (at your option) any later version.</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-comment"># </tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-comment"># This program is distributed in the hope that it will be useful,</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-comment"># but WITHOUT ANY WARRANTY; without even the implied warranty of</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-comment"># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-comment"># GNU General Public License for more details.</tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-comment"># </tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-comment"># You should have received a copy of the GNU General Public License</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-comment"># along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"><tt class="py-comment"># LastFMProxy API by atie</tt> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">string</tt> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">gobject</tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-0" class="py-name" targets="Module screenlets.plugins.mpdclient2=screenlets.plugins.mpdclient2-module.html"><a title="screenlets.plugins.mpdclient2" class="py-name" href="#" onclick="return doclink('link-0', 'mpdclient2', 'link-0');">mpdclient2</a></tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">urllib2</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-1" class="py-name" targets="Module screenlets.plugins.GenericPlayer=screenlets.plugins.GenericPlayer-module.html"><a title="screenlets.plugins.GenericPlayer" class="py-name" href="#" onclick="return doclink('link-1', 'GenericPlayer', 'link-1');">GenericPlayer</a></tt> <tt class="py-keyword">import</tt> <tt id="link-2" class="py-name" targets="Class screenlets.plugins.GenericPlayer.GenericAPI=screenlets.plugins.GenericPlayer.GenericAPI-class.html"><a title="screenlets.plugins.GenericPlayer.GenericAPI" class="py-name" href="#" onclick="return doclink('link-2', 'GenericAPI', 'link-2');">GenericAPI</a></tt> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line"> </tt>
<a name="LastFMProxyAPI"></a><div id="LastFMProxyAPI-def"><a name="L23"></a><tt class="py-lineno"> 23</tt> <a class="py-toggle" href="#" id="LastFMProxyAPI-toggle" onclick="return toggle('LastFMProxyAPI');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html">LastFMProxyAPI</a><tt class="py-op">(</tt><tt class="py-base-class">GenericAPI</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LastFMProxyAPI-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="LastFMProxyAPI-expanded"><a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line">        <tt id="link-3" class="py-name" targets="Variable screenlets.Screenlet.__name__=screenlets.Screenlet-class.html#__name__,Variable screenlets.ScreenletTheme.__name__=screenlets.ScreenletTheme-class.html#__name__,Variable screenlets.plugins.Amarok.AmarokAPI.__name__=screenlets.plugins.Amarok.AmarokAPI-class.html#__name__,Variable screenlets.plugins.Audacious.AudaciousAPI.__name__=screenlets.plugins.Audacious.AudaciousAPI-class.html#__name__,Variable screenlets.plugins.Banshee.BansheeAPI.__name__=screenlets.plugins.Banshee.BansheeAPI-class.html#__name__,Variable screenlets.plugins.BaseConverter.BaseConverter.__name__=screenlets.plugins.BaseConverter.BaseConverter-class.html#__name__,Variable screenlets.plugins.Convert.Converter.__name__=screenlets.plugins.Convert.Converter-class.html#__name__,Variable screenlets.plugins.Convert.RatioConverter.__name__=screenlets.plugins.Convert.RatioConverter-class.html#__name__,Variable screenlets.plugins.Exaile.ExaileAPI.__name__=screenlets.plugins.Exaile.ExaileAPI-class.html#__name__,Variable screenlets.plugins.GenericPlayer.GenericAPI.__name__=screenlets.plugins.GenericPlayer.GenericAPI-class.html#__name__,Variable screenlets.plugins.Juk.JukAPI.__name__=screenlets.plugins.Juk.JukAPI-class.html#__name__,Variable screenlets.plugins.Kaffeine.KaffeineAPI.__name__=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#__name__,Variable screenlets.plugins.LastFMProxy.LastFMProxyAPI.__name__=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#__name__,Variable screenlets.plugins.LengthConverter.LengthConverter.__name__=screenlets.plugins.LengthConverter.LengthConverter-class.html#__name__,Variable screenlets.plugins.Listen.ListenAPI.__name__=screenlets.plugins.Listen.ListenAPI-class.html#__name__,Variable screenlets.plugins.Quodlibet.QuodlibetAPI.__name__=screenlets.plugins.Quodlibet.QuodlibetAPI-class.html#__name__,Variable screenlets.plugins.Rhythmbox.RhythmboxAPI.__name__=screenlets.plugins.Rhythmbox.RhythmboxAPI-class.html#__name__,Variable screenlets.plugins.SizeConverter.SizeConverter.__name__=screenlets.plugins.SizeConverter.SizeConverter-class.html#__name__,Variable screenlets.plugins.Sonata.SonataAPI.__name__=screenlets.plugins.Sonata.SonataAPI-class.html#__name__,Variable screenlets.plugins.Songbird.SongbirdAPI.__name__=screenlets.plugins.Songbird.SongbirdAPI-class.html#__name__,Variable screenlets.plugins.TemperatureConverter.TemperatureConverter.__name__=screenlets.plugins.TemperatureConverter.TemperatureConverter-class.html#__name__"><a title="screenlets.Screenlet.__name__
screenlets.ScreenletTheme.__name__
screenlets.plugins.Amarok.AmarokAPI.__name__
screenlets.plugins.Audacious.AudaciousAPI.__name__
screenlets.plugins.Banshee.BansheeAPI.__name__
screenlets.plugins.BaseConverter.BaseConverter.__name__
screenlets.plugins.Convert.Converter.__name__
screenlets.plugins.Convert.RatioConverter.__name__
screenlets.plugins.Exaile.ExaileAPI.__name__
screenlets.plugins.GenericPlayer.GenericAPI.__name__
screenlets.plugins.Juk.JukAPI.__name__
screenlets.plugins.Kaffeine.KaffeineAPI.__name__
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__name__
screenlets.plugins.LengthConverter.LengthConverter.__name__
screenlets.plugins.Listen.ListenAPI.__name__
screenlets.plugins.Quodlibet.QuodlibetAPI.__name__
screenlets.plugins.Rhythmbox.RhythmboxAPI.__name__
screenlets.plugins.SizeConverter.SizeConverter.__name__
screenlets.plugins.Sonata.SonataAPI.__name__
screenlets.plugins.Songbird.SongbirdAPI.__name__
screenlets.plugins.TemperatureConverter.TemperatureConverter.__name__" class="py-name" href="#" onclick="return doclink('link-3', '__name__', 'link-3');">__name__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'LastFMProxy API'</tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line">        <tt class="py-name">__version__</tt> <tt class="py-op">=</tt> <tt class="py-string">'0.0'</tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line">        <tt class="py-name">__author__</tt> <tt class="py-op">=</tt> <tt class="py-string">'atie'</tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line">        <tt id="link-4" class="py-name" targets="Variable screenlets.Screenlet.__desc__=screenlets.Screenlet-class.html#__desc__,Variable screenlets.plugins.Amarok.AmarokAPI.__desc__=screenlets.plugins.Amarok.AmarokAPI-class.html#__desc__,Variable screenlets.plugins.Audacious.AudaciousAPI.__desc__=screenlets.plugins.Audacious.AudaciousAPI-class.html#__desc__,Variable screenlets.plugins.Banshee.BansheeAPI.__desc__=screenlets.plugins.Banshee.BansheeAPI-class.html#__desc__,Variable screenlets.plugins.Exaile.ExaileAPI.__desc__=screenlets.plugins.Exaile.ExaileAPI-class.html#__desc__,Variable screenlets.plugins.GenericPlayer.GenericAPI.__desc__=screenlets.plugins.GenericPlayer.GenericAPI-class.html#__desc__,Variable screenlets.plugins.Juk.JukAPI.__desc__=screenlets.plugins.Juk.JukAPI-class.html#__desc__,Variable screenlets.plugins.Kaffeine.KaffeineAPI.__desc__=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#__desc__,Variable screenlets.plugins.LastFMProxy.LastFMProxyAPI.__desc__=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#__desc__,Variable screenlets.plugins.Listen.ListenAPI.__desc__=screenlets.plugins.Listen.ListenAPI-class.html#__desc__,Variable screenlets.plugins.Quodlibet.QuodlibetAPI.__desc__=screenlets.plugins.Quodlibet.QuodlibetAPI-class.html#__desc__,Variable screenlets.plugins.Rhythmbox.RhythmboxAPI.__desc__=screenlets.plugins.Rhythmbox.RhythmboxAPI-class.html#__desc__,Variable screenlets.plugins.Sonata.SonataAPI.__desc__=screenlets.plugins.Sonata.SonataAPI-class.html#__desc__,Variable screenlets.plugins.Songbird.SongbirdAPI.__desc__=screenlets.plugins.Songbird.SongbirdAPI-class.html#__desc__"><a title="screenlets.Screenlet.__desc__
screenlets.plugins.Amarok.AmarokAPI.__desc__
screenlets.plugins.Audacious.AudaciousAPI.__desc__
screenlets.plugins.Banshee.BansheeAPI.__desc__
screenlets.plugins.Exaile.ExaileAPI.__desc__
screenlets.plugins.GenericPlayer.GenericAPI.__desc__
screenlets.plugins.Juk.JukAPI.__desc__
screenlets.plugins.Kaffeine.KaffeineAPI.__desc__
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__desc__
screenlets.plugins.Listen.ListenAPI.__desc__
screenlets.plugins.Quodlibet.QuodlibetAPI.__desc__
screenlets.plugins.Rhythmbox.RhythmboxAPI.__desc__
screenlets.plugins.Sonata.SonataAPI.__desc__
screenlets.plugins.Songbird.SongbirdAPI.__desc__" class="py-name" href="#" onclick="return doclink('link-4', '__desc__', 'link-4');">__desc__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'LastFMProxy API to a Music Player'</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line"> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line">        <tt id="link-5" class="py-name" targets="Variable screenlets.plugins.Amarok.AmarokAPI.playerAPI=screenlets.plugins.Amarok.AmarokAPI-class.html#playerAPI,Variable screenlets.plugins.Audacious.AudaciousAPI.playerAPI=screenlets.plugins.Audacious.AudaciousAPI-class.html#playerAPI,Variable screenlets.plugins.Banshee.BansheeAPI.playerAPI=screenlets.plugins.Banshee.BansheeAPI-class.html#playerAPI,Variable screenlets.plugins.Exaile.ExaileAPI.playerAPI=screenlets.plugins.Exaile.ExaileAPI-class.html#playerAPI,Variable screenlets.plugins.Juk.JukAPI.playerAPI=screenlets.plugins.Juk.JukAPI-class.html#playerAPI,Variable screenlets.plugins.Kaffeine.KaffeineAPI.playerAPI=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#playerAPI,Variable screenlets.plugins.LastFMProxy.LastFMProxyAPI.playerAPI=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#playerAPI,Variable screenlets.plugins.Listen.ListenAPI.playerAPI=screenlets.plugins.Listen.ListenAPI-class.html#playerAPI,Variable screenlets.plugins.Quodlibet.QuodlibetAPI.playerAPI=screenlets.plugins.Quodlibet.QuodlibetAPI-class.html#playerAPI,Variable screenlets.plugins.Rhythmbox.RhythmboxAPI.playerAPI=screenlets.plugins.Rhythmbox.RhythmboxAPI-class.html#playerAPI,Variable screenlets.plugins.Sonata.SonataAPI.playerAPI=screenlets.plugins.Sonata.SonataAPI-class.html#playerAPI,Variable screenlets.plugins.Songbird.SongbirdAPI.playerAPI=screenlets.plugins.Songbird.SongbirdAPI-class.html#playerAPI"><a title="screenlets.plugins.Amarok.AmarokAPI.playerAPI
screenlets.plugins.Audacious.AudaciousAPI.playerAPI
screenlets.plugins.Banshee.BansheeAPI.playerAPI
screenlets.plugins.Exaile.ExaileAPI.playerAPI
screenlets.plugins.Juk.JukAPI.playerAPI
screenlets.plugins.Kaffeine.KaffeineAPI.playerAPI
screenlets.plugins.LastFMProxy.LastFMProxyAPI.playerAPI
screenlets.plugins.Listen.ListenAPI.playerAPI
screenlets.plugins.Quodlibet.QuodlibetAPI.playerAPI
screenlets.plugins.Rhythmbox.RhythmboxAPI.playerAPI
screenlets.plugins.Sonata.SonataAPI.playerAPI
screenlets.plugins.Songbird.SongbirdAPI.playerAPI" class="py-name" href="#" onclick="return doclink('link-5', 'playerAPI', 'link-5');">playerAPI</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line"> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line">        <tt id="link-6" class="py-name" targets="Variable screenlets.Notify.__timeout=screenlets.Notify-class.html#__timeout,Variable screenlets.Tooltip.__timeout=screenlets.Tooltip-class.html#__timeout,Variable screenlets.backend.CachingBackend.__timeout=screenlets.backend.CachingBackend-class.html#__timeout,Variable screenlets.plugins.Amarok.AmarokAPI.__timeout=screenlets.plugins.Amarok.AmarokAPI-class.html#__timeout,Variable screenlets.plugins.Audacious.AudaciousAPI.__timeout=screenlets.plugins.Audacious.AudaciousAPI-class.html#__timeout,Variable screenlets.plugins.Banshee.BansheeAPI.__timeout=screenlets.plugins.Banshee.BansheeAPI-class.html#__timeout,Variable screenlets.plugins.Exaile.ExaileAPI.__timeout=screenlets.plugins.Exaile.ExaileAPI-class.html#__timeout,Variable screenlets.plugins.Juk.JukAPI.__timeout=screenlets.plugins.Juk.JukAPI-class.html#__timeout,Variable screenlets.plugins.Kaffeine.KaffeineAPI.__timeout=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#__timeout,Variable screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#__timeout,Variable screenlets.plugins.Listen.ListenAPI.__timeout=screenlets.plugins.Listen.ListenAPI-class.html#__timeout,Variable screenlets.plugins.Sonata.SonataAPI.__timeout=screenlets.plugins.Sonata.SonataAPI-class.html#__timeout,Method screenlets.sensors.Sensor.__timeout()=screenlets.sensors.Sensor-class.html#__timeout"><a title="screenlets.Notify.__timeout
screenlets.Tooltip.__timeout
screenlets.backend.CachingBackend.__timeout
screenlets.plugins.Amarok.AmarokAPI.__timeout
screenlets.plugins.Audacious.AudaciousAPI.__timeout
screenlets.plugins.Banshee.BansheeAPI.__timeout
screenlets.plugins.Exaile.ExaileAPI.__timeout
screenlets.plugins.Juk.JukAPI.__timeout
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
screenlets.plugins.Listen.ListenAPI.__timeout
screenlets.plugins.Sonata.SonataAPI.__timeout
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-6', '__timeout', 'link-6');">__timeout</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line">        <tt id="link-7" class="py-name" targets="Variable screenlets.plugins.Amarok.AmarokAPI.__interval=screenlets.plugins.Amarok.AmarokAPI-class.html#__interval,Variable screenlets.plugins.Audacious.AudaciousAPI.__interval=screenlets.plugins.Audacious.AudaciousAPI-class.html#__interval,Variable screenlets.plugins.Banshee.BansheeAPI.__interval=screenlets.plugins.Banshee.BansheeAPI-class.html#__interval,Variable screenlets.plugins.Exaile.ExaileAPI.__interval=screenlets.plugins.Exaile.ExaileAPI-class.html#__interval,Variable screenlets.plugins.Juk.JukAPI.__interval=screenlets.plugins.Juk.JukAPI-class.html#__interval,Variable screenlets.plugins.Kaffeine.KaffeineAPI.__interval=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#__interval,Variable screenlets.plugins.LastFMProxy.LastFMProxyAPI.__interval=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#__interval,Variable screenlets.plugins.Listen.ListenAPI.__interval=screenlets.plugins.Listen.ListenAPI-class.html#__interval,Variable screenlets.plugins.Sonata.SonataAPI.__interval=screenlets.plugins.Sonata.SonataAPI-class.html#__interval"><a title="screenlets.plugins.Amarok.AmarokAPI.__interval
screenlets.plugins.Audacious.AudaciousAPI.__interval
screenlets.plugins.Banshee.BansheeAPI.__interval
screenlets.plugins.Exaile.ExaileAPI.__interval
screenlets.plugins.Juk.JukAPI.__interval
screenlets.plugins.Kaffeine.KaffeineAPI.__interval
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__interval
screenlets.plugins.Listen.ListenAPI.__interval
screenlets.plugins.Sonata.SonataAPI.__interval" class="py-name" href="#" onclick="return doclink('link-7', '__interval', 'link-7');">__interval</a></tt> <tt class="py-op">=</tt> <tt class="py-number">3</tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line"> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line">        <tt id="link-8" class="py-name" targets="Variable screenlets.plugins.Amarok.AmarokAPI.callbackFn=screenlets.plugins.Amarok.AmarokAPI-class.html#callbackFn,Variable screenlets.plugins.Audacious.AudaciousAPI.callbackFn=screenlets.plugins.Audacious.AudaciousAPI-class.html#callbackFn,Variable screenlets.plugins.Banshee.BansheeAPI.callbackFn=screenlets.plugins.Banshee.BansheeAPI-class.html#callbackFn,Variable screenlets.plugins.Exaile.ExaileAPI.callbackFn=screenlets.plugins.Exaile.ExaileAPI-class.html#callbackFn,Variable screenlets.plugins.Juk.JukAPI.callbackFn=screenlets.plugins.Juk.JukAPI-class.html#callbackFn,Variable screenlets.plugins.Kaffeine.KaffeineAPI.callbackFn=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#callbackFn,Variable screenlets.plugins.LastFMProxy.LastFMProxyAPI.callbackFn=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#callbackFn,Variable screenlets.plugins.Listen.ListenAPI.callbackFn=screenlets.plugins.Listen.ListenAPI-class.html#callbackFn,Variable screenlets.plugins.Sonata.SonataAPI.callbackFn=screenlets.plugins.Sonata.SonataAPI-class.html#callbackFn"><a title="screenlets.plugins.Amarok.AmarokAPI.callbackFn
screenlets.plugins.Audacious.AudaciousAPI.callbackFn
screenlets.plugins.Banshee.BansheeAPI.callbackFn
screenlets.plugins.Exaile.ExaileAPI.callbackFn
screenlets.plugins.Juk.JukAPI.callbackFn
screenlets.plugins.Kaffeine.KaffeineAPI.callbackFn
screenlets.plugins.LastFMProxy.LastFMProxyAPI.callbackFn
screenlets.plugins.Listen.ListenAPI.callbackFn
screenlets.plugins.Sonata.SonataAPI.callbackFn" class="py-name" href="#" onclick="return doclink('link-8', 'callbackFn', 'link-8');">callbackFn</a></tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line">        <tt id="link-9" class="py-name" targets="Variable screenlets.plugins.Amarok.AmarokAPI.__curplaying=screenlets.plugins.Amarok.AmarokAPI-class.html#__curplaying,Variable screenlets.plugins.Audacious.AudaciousAPI.__curplaying=screenlets.plugins.Audacious.AudaciousAPI-class.html#__curplaying,Variable screenlets.plugins.Banshee.BansheeAPI.__curplaying=screenlets.plugins.Banshee.BansheeAPI-class.html#__curplaying,Variable screenlets.plugins.Exaile.ExaileAPI.__curplaying=screenlets.plugins.Exaile.ExaileAPI-class.html#__curplaying,Variable screenlets.plugins.Juk.JukAPI.__curplaying=screenlets.plugins.Juk.JukAPI-class.html#__curplaying,Variable screenlets.plugins.Kaffeine.KaffeineAPI.__curplaying=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#__curplaying,Variable screenlets.plugins.LastFMProxy.LastFMProxyAPI.__curplaying=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#__curplaying,Variable screenlets.plugins.Listen.ListenAPI.__curplaying=screenlets.plugins.Listen.ListenAPI-class.html#__curplaying,Variable screenlets.plugins.Sonata.SonataAPI.__curplaying=screenlets.plugins.Sonata.SonataAPI-class.html#__curplaying"><a title="screenlets.plugins.Amarok.AmarokAPI.__curplaying
screenlets.plugins.Audacious.AudaciousAPI.__curplaying
screenlets.plugins.Banshee.BansheeAPI.__curplaying
screenlets.plugins.Exaile.ExaileAPI.__curplaying
screenlets.plugins.Juk.JukAPI.__curplaying
screenlets.plugins.Kaffeine.KaffeineAPI.__curplaying
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__curplaying
screenlets.plugins.Listen.ListenAPI.__curplaying
screenlets.plugins.Sonata.SonataAPI.__curplaying" class="py-name" href="#" onclick="return doclink('link-9', '__curplaying', 'link-9');">__curplaying</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line"> </tt>
<a name="LastFMProxyAPI.__init__"></a><div id="LastFMProxyAPI.__init__-def"><a name="L37"></a><tt class="py-lineno"> 37</tt> <a class="py-toggle" href="#" id="LastFMProxyAPI.__init__-toggle" onclick="return toggle('LastFMProxyAPI.__init__');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">session_bus</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LastFMProxyAPI.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="LastFMProxyAPI.__init__-expanded"><a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line">                <tt class="py-comment"># Ignore the session_bus. Initialize a mpdclient connection</tt> </tt>
<a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line">                <tt id="link-10" class="py-name"><a title="screenlets.plugins.GenericPlayer.GenericAPI" class="py-name" href="#" onclick="return doclink('link-10', 'GenericAPI', 'link-2');">GenericAPI</a></tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Method screenlets.Notify.__init__()=screenlets.Notify-class.html#__init__,Method screenlets.Screenlet.__init__()=screenlets.Screenlet-class.html#__init__,Method screenlets.ScreenletTheme.__init__()=screenlets.ScreenletTheme-class.html#__init__,Method screenlets.ShapedWidget.__init__()=screenlets.ShapedWidget-class.html#__init__,Method screenlets.Tooltip.__init__()=screenlets.Tooltip-class.html#__init__,Method screenlets.WrapLabel.__init__()=screenlets.WrapLabel-class.html#__init__,Method screenlets.backend.CachingBackend.__init__()=screenlets.backend.CachingBackend-class.html#__init__,Method screenlets.backend.GconfBackend.__init__()=screenlets.backend.GconfBackend-class.html#__init__,Method screenlets.backend.ScreenletsBackend.__init__()=screenlets.backend.ScreenletsBackend-class.html#__init__,Method screenlets.install.ScreenletInstaller.__init__()=screenlets.install.ScreenletInstaller-class.html#__init__,Method screenlets.menu.ApplicationMenu.__init__()=screenlets.menu.ApplicationMenu-class.html#__init__,Method screenlets.menu.ImageMenuItem.__init__()=screenlets.menu.ImageMenuItem-class.html#__init__,Method screenlets.options.account_option.AccountOption.__init__()=screenlets.options.account_option.AccountOption-class.html#__init__,Method screenlets.options.base.EditableOptions.__init__()=screenlets.options.base.EditableOptions-class.html#__init__,Method screenlets.options.base.Option.__init__()=screenlets.options.base.Option-class.html#__init__,Method screenlets.options.base.OptionsDialog.__init__()=screenlets.options.base.OptionsDialog-class.html#__init__,Method screenlets.options.list_option.ListOptionDialog.__init__()=screenlets.options.list_option.ListOptionDialog-class.html#__init__,Method screenlets.plugins.Amarok.AmarokAPI.__init__()=screenlets.plugins.Amarok.AmarokAPI-class.html#__init__,Method screenlets.plugins.AmazonCoverArtSearch.AmazonCoverArtSearch.__init__()=screenlets.plugins.AmazonCoverArtSearch.AmazonCoverArtSearch-class.html#__init__,Method screenlets.plugins.Audacious.AudaciousAPI.__init__()=screenlets.plugins.Audacious.AudaciousAPI-class.html#__init__,Method screenlets.plugins.Banshee.BansheeAPI.__init__()=screenlets.plugins.Banshee.BansheeAPI-class.html#__init__,Method screenlets.plugins.Convert.Converter.__init__()=screenlets.plugins.Convert.Converter-class.html#__init__,Method screenlets.plugins.CoverSearch.CoverSearch.__init__()=screenlets.plugins.CoverSearch.CoverSearch-class.html#__init__,Method screenlets.plugins.Exaile.ExaileAPI.__init__()=screenlets.plugins.Exaile.ExaileAPI-class.html#__init__,Method screenlets.plugins.Flickr.Flickr.__init__()=screenlets.plugins.Flickr.Flickr-class.html#__init__,Method screenlets.plugins.GenericPlayer.GenericAPI.__init__()=screenlets.plugins.GenericPlayer.GenericAPI-class.html#__init__,Method screenlets.plugins.Gstreamer.gstreamer.__init__()=screenlets.plugins.Gstreamer.gstreamer-class.html#__init__,Method screenlets.plugins.Juk.JukAPI.__init__()=screenlets.plugins.Juk.JukAPI-class.html#__init__,Method screenlets.plugins.Kaffeine.KaffeineAPI.__init__()=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#__init__,Method screenlets.plugins.LastFMProxy.LastFMProxyAPI.__init__()=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#__init__,Method screenlets.plugins.Listen.ListenAPI.__init__()=screenlets.plugins.Listen.ListenAPI-class.html#__init__,Method screenlets.plugins.Loader.GnomeVFSAsyncSrc.__init__()=screenlets.plugins.Loader.GnomeVFSAsyncSrc-class.html#__init__,Method screenlets.plugins.Mail.IMAPBackend.__init__()=screenlets.plugins.Mail.IMAPBackend-class.html#__init__,Method screenlets.plugins.Mail.MailCheckBackend.__init__()=screenlets.plugins.Mail.MailCheckBackend-class.html#__init__,Method screenlets.plugins.Mail.Mailer.__init__()=screenlets.plugins.Mail.Mailer-class.html#__init__,Method screenlets.plugins.Mail.POP3Backend.__init__()=screenlets.plugins.Mail.POP3Backend-class.html#__init__,Method screenlets.plugins.Mplayer.Mplayer.__init__()=screenlets.plugins.Mplayer.Mplayer-class.html#__init__,Method screenlets.plugins.Proxy.Proxy.__init__()=screenlets.plugins.Proxy.Proxy-class.html#__init__,Method screenlets.plugins.Quodlibet.QuodlibetAPI.__init__()=screenlets.plugins.Quodlibet.QuodlibetAPI-class.html#__init__,Method screenlets.plugins.Rhythmbox.RhythmboxAPI.__init__()=screenlets.plugins.Rhythmbox.RhythmboxAPI-class.html#__init__,Method screenlets.plugins.Sonata.SonataAPI.__init__()=screenlets.plugins.Sonata.SonataAPI-class.html#__init__,Method screenlets.plugins.Songbird.SongbirdAPI.__init__()=screenlets.plugins.Songbird.SongbirdAPI-class.html#__init__,Method screenlets.plugins.TemperatureConverter.TemperatureConverter.__init__()=screenlets.plugins.TemperatureConverter.TemperatureConverter-class.html#__init__,Method screenlets.plugins.iCal.DateSet.__init__()=screenlets.plugins.iCal.DateSet-class.html#__init__,Method screenlets.plugins.iCal.ICalEvent.__init__()=screenlets.plugins.iCal.ICalEvent-class.html#__init__,Method screenlets.plugins.iCal.ICalReader.__init__()=screenlets.plugins.iCal.ICalReader-class.html#__init__,Method screenlets.plugins.keyring.KeyRing.Key.__init__()=screenlets.plugins.keyring.KeyRing.Key-class.html#__init__,Method screenlets.plugins.keyring.KeyRing.__init__()=screenlets.plugins.keyring.KeyRing-class.html#__init__,Method screenlets.plugins.mpdclient2.command_sender.__init__()=screenlets.plugins.mpdclient2.command_sender-class.html#__init__,Method screenlets.plugins.mpdclient2.mpd_connection.__init__()=screenlets.plugins.mpdclient2.mpd_connection-class.html#__init__,Method screenlets.plugins.mpdclient2.response_fetcher.__init__()=screenlets.plugins.mpdclient2.response_fetcher-class.html#__init__,Method screenlets.plugins.mpdclient2.sender_n_fetcher.__init__()=screenlets.plugins.mpdclient2.sender_n_fetcher-class.html#__init__,Method screenlets.plugins.mpdclient2.socket_talker.__init__()=screenlets.plugins.mpdclient2.socket_talker-class.html#__init__,Method screenlets.sensors.CPUSensor.__init__()=screenlets.sensors.CPUSensor-class.html#__init__,Method screenlets.sensors.MemorySensor.__init__()=screenlets.sensors.MemorySensor-class.html#__init__,Method screenlets.sensors.NetSensor.__init__()=screenlets.sensors.NetSensor-class.html#__init__,Method screenlets.sensors.Sensor.__init__()=screenlets.sensors.Sensor-class.html#__init__,Method screenlets.services.ScreenletService.__init__()=screenlets.services.ScreenletService-class.html#__init__,Method screenlets.session.ScreenletSession.__init__()=screenlets.session.ScreenletSession-class.html#__init__,Method screenlets.utils.FileMonitor.__init__()=screenlets.utils.FileMonitor-class.html#__init__,Method screenlets.utils.IniReader.__init__()=screenlets.utils.IniReader-class.html#__init__,Method screenlets.utils.MLStripper.__init__()=screenlets.utils.MLStripper-class.html#__init__,Method screenlets.utils.Notifier.__init__()=screenlets.utils.Notifier-class.html#__init__,Method screenlets.utils.ScreenletInfo.__init__()=screenlets.utils.ScreenletInfo-class.html#__init__"><a title="screenlets.Notify.__init__
screenlets.Screenlet.__init__
screenlets.ScreenletTheme.__init__
screenlets.ShapedWidget.__init__
screenlets.Tooltip.__init__
screenlets.WrapLabel.__init__
screenlets.backend.CachingBackend.__init__
screenlets.backend.GconfBackend.__init__
screenlets.backend.ScreenletsBackend.__init__
screenlets.install.ScreenletInstaller.__init__
screenlets.menu.ApplicationMenu.__init__
screenlets.menu.ImageMenuItem.__init__
screenlets.options.account_option.AccountOption.__init__
screenlets.options.base.EditableOptions.__init__
screenlets.options.base.Option.__init__
screenlets.options.base.OptionsDialog.__init__
screenlets.options.list_option.ListOptionDialog.__init__
screenlets.plugins.Amarok.AmarokAPI.__init__
screenlets.plugins.AmazonCoverArtSearch.AmazonCoverArtSearch.__init__
screenlets.plugins.Audacious.AudaciousAPI.__init__
screenlets.plugins.Banshee.BansheeAPI.__init__
screenlets.plugins.Convert.Converter.__init__
screenlets.plugins.CoverSearch.CoverSearch.__init__
screenlets.plugins.Exaile.ExaileAPI.__init__
screenlets.plugins.Flickr.Flickr.__init__
screenlets.plugins.GenericPlayer.GenericAPI.__init__
screenlets.plugins.Gstreamer.gstreamer.__init__
screenlets.plugins.Juk.JukAPI.__init__
screenlets.plugins.Kaffeine.KaffeineAPI.__init__
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__init__
screenlets.plugins.Listen.ListenAPI.__init__
screenlets.plugins.Loader.GnomeVFSAsyncSrc.__init__
screenlets.plugins.Mail.IMAPBackend.__init__
screenlets.plugins.Mail.MailCheckBackend.__init__
screenlets.plugins.Mail.Mailer.__init__
screenlets.plugins.Mail.POP3Backend.__init__
screenlets.plugins.Mplayer.Mplayer.__init__
screenlets.plugins.Proxy.Proxy.__init__
screenlets.plugins.Quodlibet.QuodlibetAPI.__init__
screenlets.plugins.Rhythmbox.RhythmboxAPI.__init__
screenlets.plugins.Sonata.SonataAPI.__init__
screenlets.plugins.Songbird.SongbirdAPI.__init__
screenlets.plugins.TemperatureConverter.TemperatureConverter.__init__
screenlets.plugins.iCal.DateSet.__init__
screenlets.plugins.iCal.ICalEvent.__init__
screenlets.plugins.iCal.ICalReader.__init__
screenlets.plugins.keyring.KeyRing.Key.__init__
screenlets.plugins.keyring.KeyRing.__init__
screenlets.plugins.mpdclient2.command_sender.__init__
screenlets.plugins.mpdclient2.mpd_connection.__init__
screenlets.plugins.mpdclient2.response_fetcher.__init__
screenlets.plugins.mpdclient2.sender_n_fetcher.__init__
screenlets.plugins.mpdclient2.socket_talker.__init__
screenlets.sensors.CPUSensor.__init__
screenlets.sensors.MemorySensor.__init__
screenlets.sensors.NetSensor.__init__
screenlets.sensors.Sensor.__init__
screenlets.services.ScreenletService.__init__
screenlets.session.ScreenletSession.__init__
screenlets.utils.FileMonitor.__init__
screenlets.utils.IniReader.__init__
screenlets.utils.MLStripper.__init__
screenlets.utils.Notifier.__init__
screenlets.utils.ScreenletInfo.__init__" class="py-name" href="#" onclick="return doclink('link-11', '__init__', 'link-11');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-12" class="py-name" targets="Variable screenlets.plugins.GenericPlayer.GenericAPI.session_bus=screenlets.plugins.GenericPlayer.GenericAPI-class.html#session_bus"><a title="screenlets.plugins.GenericPlayer.GenericAPI.session_bus" class="py-name" href="#" onclick="return doclink('link-12', 'session_bus', 'link-12');">session_bus</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line">         </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line">        <tt class="py-comment"># Check if the player is active : Returns Boolean</tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line">        <tt class="py-comment"># A handle to the dbus interface is passed in : doesn't need to be used</tt> </tt>
<a name="LastFMProxyAPI.is_active"></a><div id="LastFMProxyAPI.is_active-def"><a name="L43"></a><tt class="py-lineno"> 43</tt> <a class="py-toggle" href="#" id="LastFMProxyAPI.is_active-toggle" onclick="return toggle('LastFMProxyAPI.is_active');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#is_active">is_active</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">dbus_iface</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LastFMProxyAPI.is_active-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="LastFMProxyAPI.is_active-expanded"><a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line">                <tt class="py-name">app</tt> <tt class="py-op">=</tt> <tt id="link-13" class="py-name"><a title="screenlets.plugins.mpdclient2" class="py-name" href="#" onclick="return doclink('link-13', 'mpdclient2', 'link-0');">mpdclient2</a></tt><tt class="py-op">.</tt><tt id="link-14" class="py-name" targets="Method screenlets.plugins.Amarok.AmarokAPI.connect()=screenlets.plugins.Amarok.AmarokAPI-class.html#connect,Method screenlets.plugins.Audacious.AudaciousAPI.connect()=screenlets.plugins.Audacious.AudaciousAPI-class.html#connect,Method screenlets.plugins.Banshee.BansheeAPI.connect()=screenlets.plugins.Banshee.BansheeAPI-class.html#connect,Method screenlets.plugins.Exaile.ExaileAPI.connect()=screenlets.plugins.Exaile.ExaileAPI-class.html#connect,Method screenlets.plugins.GenericPlayer.GenericAPI.connect()=screenlets.plugins.GenericPlayer.GenericAPI-class.html#connect,Method screenlets.plugins.Juk.JukAPI.connect()=screenlets.plugins.Juk.JukAPI-class.html#connect,Method screenlets.plugins.Kaffeine.KaffeineAPI.connect()=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#connect,Method screenlets.plugins.LastFMProxy.LastFMProxyAPI.connect()=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#connect,Method screenlets.plugins.Listen.ListenAPI.connect()=screenlets.plugins.Listen.ListenAPI-class.html#connect,Method screenlets.plugins.Quodlibet.QuodlibetAPI.connect()=screenlets.plugins.Quodlibet.QuodlibetAPI-class.html#connect,Method screenlets.plugins.Rhythmbox.RhythmboxAPI.connect()=screenlets.plugins.Rhythmbox.RhythmboxAPI-class.html#connect,Method screenlets.plugins.Sonata.SonataAPI.connect()=screenlets.plugins.Sonata.SonataAPI-class.html#connect,Method screenlets.plugins.Songbird.SongbirdAPI.connect()=screenlets.plugins.Songbird.SongbirdAPI-class.html#connect,Function screenlets.plugins.mpdclient2.connect()=screenlets.plugins.mpdclient2-module.html#connect"><a title="screenlets.plugins.Amarok.AmarokAPI.connect
screenlets.plugins.Audacious.AudaciousAPI.connect
screenlets.plugins.Banshee.BansheeAPI.connect
screenlets.plugins.Exaile.ExaileAPI.connect
screenlets.plugins.GenericPlayer.GenericAPI.connect
screenlets.plugins.Juk.JukAPI.connect
screenlets.plugins.Kaffeine.KaffeineAPI.connect
screenlets.plugins.LastFMProxy.LastFMProxyAPI.connect
screenlets.plugins.Listen.ListenAPI.connect
screenlets.plugins.Quodlibet.QuodlibetAPI.connect
screenlets.plugins.Rhythmbox.RhythmboxAPI.connect
screenlets.plugins.Sonata.SonataAPI.connect
screenlets.plugins.Songbird.SongbirdAPI.connect
screenlets.plugins.mpdclient2.connect" class="py-name" href="#" onclick="return doclink('link-14', 'connect', 'link-14');">connect</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">app</tt><tt class="py-op">:</tt> <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line">                <tt class="py-keyword">else</tt><tt class="py-op">:</tt>  </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line">                        <tt class="py-name">proc</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">popen</tt><tt class="py-op">(</tt><tt class="py-string">"""ps axo "%p,%a" | grep "last" | grep -v grep|cut -d',' -f1"""</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">read</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line">                        <tt class="py-name">procs</tt> <tt class="py-op">=</tt> <tt class="py-name">proc</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">'\n'</tt><tt class="py-op">)</tt> </tt>
<a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line">                        <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">procs</tt><tt class="py-op">)</tt> <tt class="py-op">&gt;</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line">                                <tt class="py-keyword">return</tt> <tt class="py-name">True</tt> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">                        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">                                <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
</div><a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line"> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line"> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">        <tt class="py-comment"># Make a connection to the Player</tt> </tt>
<a name="LastFMProxyAPI.connect"></a><div id="LastFMProxyAPI.connect-def"><a name="L56"></a><tt class="py-lineno"> 56</tt> <a class="py-toggle" href="#" id="LastFMProxyAPI.connect-toggle" onclick="return toggle('LastFMProxyAPI.connect');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#connect">connect</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LastFMProxyAPI.connect-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="LastFMProxyAPI.connect-expanded"><a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-15" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.playerAPI
screenlets.plugins.Audacious.AudaciousAPI.playerAPI
screenlets.plugins.Banshee.BansheeAPI.playerAPI
screenlets.plugins.Exaile.ExaileAPI.playerAPI
screenlets.plugins.Juk.JukAPI.playerAPI
screenlets.plugins.Kaffeine.KaffeineAPI.playerAPI
screenlets.plugins.LastFMProxy.LastFMProxyAPI.playerAPI
screenlets.plugins.Listen.ListenAPI.playerAPI
screenlets.plugins.Quodlibet.QuodlibetAPI.playerAPI
screenlets.plugins.Rhythmbox.RhythmboxAPI.playerAPI
screenlets.plugins.Sonata.SonataAPI.playerAPI
screenlets.plugins.Songbird.SongbirdAPI.playerAPI" class="py-name" href="#" onclick="return doclink('link-15', 'playerAPI', 'link-5');">playerAPI</a></tt> <tt class="py-op">=</tt> <tt id="link-16" class="py-name"><a title="screenlets.plugins.mpdclient2" class="py-name" href="#" onclick="return doclink('link-16', 'mpdclient2', 'link-0');">mpdclient2</a></tt><tt class="py-op">.</tt><tt id="link-17" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.connect
screenlets.plugins.Audacious.AudaciousAPI.connect
screenlets.plugins.Banshee.BansheeAPI.connect
screenlets.plugins.Exaile.ExaileAPI.connect
screenlets.plugins.GenericPlayer.GenericAPI.connect
screenlets.plugins.Juk.JukAPI.connect
screenlets.plugins.Kaffeine.KaffeineAPI.connect
screenlets.plugins.LastFMProxy.LastFMProxyAPI.connect
screenlets.plugins.Listen.ListenAPI.connect
screenlets.plugins.Quodlibet.QuodlibetAPI.connect
screenlets.plugins.Rhythmbox.RhythmboxAPI.connect
screenlets.plugins.Sonata.SonataAPI.connect
screenlets.plugins.Songbird.SongbirdAPI.connect
screenlets.plugins.mpdclient2.connect" class="py-name" href="#" onclick="return doclink('link-17', 'connect', 'link-14');">connect</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line">                 </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line">        <tt class="py-comment"># Get LastFMProxy dump</tt> </tt>
<a name="LastFMProxyAPI.getdump"></a><div id="LastFMProxyAPI.getdump-def"><a name="L60"></a><tt class="py-lineno"> 60</tt> <a class="py-toggle" href="#" id="LastFMProxyAPI.getdump-toggle" onclick="return toggle('LastFMProxyAPI.getdump');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#getdump">getdump</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LastFMProxyAPI.getdump-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="LastFMProxyAPI.getdump-expanded"><a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line">                <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line">                        <tt class="py-name">dump</tt> <tt class="py-op">=</tt> <tt class="py-name">urllib2</tt><tt class="py-op">.</tt><tt class="py-name">urlopen</tt><tt class="py-op">(</tt><tt class="py-string">'http://localhost:1881/np'</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">read</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">                <tt class="py-keyword">except</tt> <tt class="py-name">urllib2</tt><tt class="py-op">.</tt><tt class="py-name">HTTPError</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">                        <tt class="py-keyword">print</tt> <tt class="py-string">"Cannot retrieve URL: HTTP Error Code"</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">.</tt><tt class="py-name">code</tt> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line">                <tt class="py-keyword">except</tt> <tt class="py-name">urllib2</tt><tt class="py-op">.</tt><tt class="py-name">URLError</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">                        <tt class="py-keyword">print</tt> <tt class="py-string">"Cannot retrieve URL: "</tt> <tt class="py-op">+</tt> <tt class="py-name">e</tt><tt class="py-op">.</tt><tt class="py-name">reason</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> </tt>
<a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">dump</tt>      </tt>
</div><a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">                 </tt>
<a name="LastFMProxyAPI.getBetween"></a><div id="LastFMProxyAPI.getBetween-def"><a name="L69"></a><tt class="py-lineno"> 69</tt> <a class="py-toggle" href="#" id="LastFMProxyAPI.getBetween-toggle" onclick="return toggle('LastFMProxyAPI.getBetween');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#getBetween">getBetween</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">dump</tt><tt class="py-op">,</tt> <tt class="py-param">first</tt><tt class="py-op">,</tt> <tt class="py-param">last</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LastFMProxyAPI.getBetween-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="LastFMProxyAPI.getBetween-expanded"><a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line">                <tt id="link-18" class="py-name" targets="Variable screenlets.Notify.x=screenlets.Notify-class.html#x,Variable screenlets.Screenlet.x=screenlets.Screenlet-class.html#x,Variable screenlets.Tooltip.x=screenlets.Tooltip-class.html#x"><a title="screenlets.Notify.x
screenlets.Screenlet.x
screenlets.Tooltip.x" class="py-name" href="#" onclick="return doclink('link-18', 'x', 'link-18');">x</a></tt> <tt class="py-op">=</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">first</tt><tt class="py-op">)</tt> </tt>
<a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">                <tt class="py-name">begin</tt> <tt class="py-op">=</tt> <tt class="py-name">dump</tt><tt class="py-op">.</tt><tt class="py-name">find</tt><tt class="py-op">(</tt><tt class="py-name">first</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt><tt id="link-19" class="py-name"><a title="screenlets.Notify.x
screenlets.Screenlet.x
screenlets.Tooltip.x" class="py-name" href="#" onclick="return doclink('link-19', 'x', 'link-18');">x</a></tt> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line">                <tt class="py-name">end</tt> <tt class="py-op">=</tt> <tt class="py-name">dump</tt><tt class="py-op">.</tt><tt class="py-name">find</tt><tt class="py-op">(</tt><tt class="py-name">last</tt><tt class="py-op">,</tt> <tt class="py-name">begin</tt><tt class="py-op">)</tt> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">dump</tt><tt class="py-op">[</tt><tt class="py-name">begin</tt><tt class="py-op">:</tt><tt class="py-name">end</tt><tt class="py-op">]</tt> </tt>
</div><a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line"> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">        <tt class="py-comment"># The following return Strings</tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line">        <tt class="py-comment"># FIXME, maybe.</tt> </tt>
<a name="LastFMProxyAPI.get_title"></a><div id="LastFMProxyAPI.get_title-def"><a name="L77"></a><tt class="py-lineno"> 77</tt> <a class="py-toggle" href="#" id="LastFMProxyAPI.get_title-toggle" onclick="return toggle('LastFMProxyAPI.get_title');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#get_title">get_title</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LastFMProxyAPI.get_title-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="LastFMProxyAPI.get_title-expanded"><a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">                <tt class="py-comment">#return getattr(self.playerAPI.currentsong(), 'np_title = ', ';')</tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">                <tt class="py-name">dump</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name" targets="Method screenlets.plugins.LastFMProxy.LastFMProxyAPI.getdump()=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#getdump"><a title="screenlets.plugins.LastFMProxy.LastFMProxyAPI.getdump" class="py-name" href="#" onclick="return doclink('link-20', 'getdump', 'link-20');">getdump</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name" targets="Method screenlets.plugins.LastFMProxy.LastFMProxyAPI.getBetween()=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#getBetween,Function screenlets.utils.getBetween()=screenlets.utils-module.html#getBetween"><a title="screenlets.plugins.LastFMProxy.LastFMProxyAPI.getBetween
screenlets.utils.getBetween" class="py-name" href="#" onclick="return doclink('link-21', 'getBetween', 'link-21');">getBetween</a></tt><tt class="py-op">(</tt><tt class="py-name">dump</tt><tt class="py-op">,</tt> <tt class="py-string">'np_title = \''</tt><tt class="py-op">,</tt> <tt class="py-string">'\';'</tt><tt class="py-op">)</tt> </tt>
</div><a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line">         </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">        <tt class="py-comment"># FIXME if necessary</tt> </tt>
<a name="LastFMProxyAPI.get_album"></a><div id="LastFMProxyAPI.get_album-def"><a name="L83"></a><tt class="py-lineno"> 83</tt> <a class="py-toggle" href="#" id="LastFMProxyAPI.get_album-toggle" onclick="return toggle('LastFMProxyAPI.get_album');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#get_album">get_album</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LastFMProxyAPI.get_album-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="LastFMProxyAPI.get_album-expanded"><a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">                <tt class="py-name">dump</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name"><a title="screenlets.plugins.LastFMProxy.LastFMProxyAPI.getdump" class="py-name" href="#" onclick="return doclink('link-22', 'getdump', 'link-20');">getdump</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-23" class="py-name"><a title="screenlets.plugins.LastFMProxy.LastFMProxyAPI.getBetween
screenlets.utils.getBetween" class="py-name" href="#" onclick="return doclink('link-23', 'getBetween', 'link-21');">getBetween</a></tt><tt class="py-op">(</tt><tt class="py-name">dump</tt><tt class="py-op">,</tt> <tt class="py-string">'np_album = \''</tt><tt class="py-op">,</tt> <tt class="py-string">'\';'</tt><tt class="py-op">)</tt> </tt>
</div><a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line">     </tt>
<a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line">        <tt class="py-comment"># FIXME if necessary</tt> </tt>
<a name="LastFMProxyAPI.get_artist"></a><div id="LastFMProxyAPI.get_artist-def"><a name="L88"></a><tt class="py-lineno"> 88</tt> <a class="py-toggle" href="#" id="LastFMProxyAPI.get_artist-toggle" onclick="return toggle('LastFMProxyAPI.get_artist');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#get_artist">get_artist</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LastFMProxyAPI.get_artist-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="LastFMProxyAPI.get_artist-expanded"><a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">                <tt class="py-name">dump</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-24" class="py-name"><a title="screenlets.plugins.LastFMProxy.LastFMProxyAPI.getdump" class="py-name" href="#" onclick="return doclink('link-24', 'getdump', 'link-20');">getdump</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-25" class="py-name"><a title="screenlets.plugins.LastFMProxy.LastFMProxyAPI.getBetween
screenlets.utils.getBetween" class="py-name" href="#" onclick="return doclink('link-25', 'getBetween', 'link-21');">getBetween</a></tt><tt class="py-op">(</tt><tt class="py-name">dump</tt><tt class="py-op">,</tt> <tt class="py-string">'np_creator = \''</tt><tt class="py-op">,</tt> <tt class="py-string">'\';'</tt><tt class="py-op">)</tt> </tt>
</div><a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line">     </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line">    <tt class="py-comment"># FIXME, if necessary, currently by the amazoncoverartsearch </tt> </tt>
<a name="LastFMProxyAPI.get_cover_path"></a><div id="LastFMProxyAPI.get_cover_path-def"><a name="L93"></a><tt class="py-lineno"> 93</tt> <a class="py-toggle" href="#" id="LastFMProxyAPI.get_cover_path-toggle" onclick="return toggle('LastFMProxyAPI.get_cover_path');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#get_cover_path">get_cover_path</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LastFMProxyAPI.get_cover_path-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="LastFMProxyAPI.get_cover_path-expanded"><a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line">                <tt class="py-comment">#return os.environ['HOME']+"/.covers/"+self.get_artist()+\</tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line">        <tt class="py-comment"># " - "+self.get_album()+".jpg"</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line">                <tt class="py-comment">#return ""</tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line">                <tt class="py-comment"># No need to search Amazon, one image file for now playing</tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line">                <tt class="py-comment">#path = os.environ['HOME']+"/.covers/image_by_lfproxy.jpg"</tt> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line">                <tt id="link-26" class="py-name" targets="Variable screenlets.ScreenletTheme.path=screenlets.ScreenletTheme-class.html#path,Variable screenlets.backend.CachingBackend.path=screenlets.backend.CachingBackend-class.html#path"><a title="screenlets.ScreenletTheme.path
screenlets.backend.CachingBackend.path" class="py-name" href="#" onclick="return doclink('link-26', 'path', 'link-26');">path</a></tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">environ</tt><tt class="py-op">[</tt><tt class="py-string">'HOME'</tt><tt class="py-op">]</tt><tt class="py-op">+</tt><tt class="py-string">"/.covers/"</tt><tt class="py-op">+</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-27" class="py-name" targets="Method screenlets.plugins.Amarok.AmarokAPI.get_artist()=screenlets.plugins.Amarok.AmarokAPI-class.html#get_artist,Method screenlets.plugins.Audacious.AudaciousAPI.get_artist()=screenlets.plugins.Audacious.AudaciousAPI-class.html#get_artist,Method screenlets.plugins.Banshee.BansheeAPI.get_artist()=screenlets.plugins.Banshee.BansheeAPI-class.html#get_artist,Method screenlets.plugins.Exaile.ExaileAPI.get_artist()=screenlets.plugins.Exaile.ExaileAPI-class.html#get_artist,Method screenlets.plugins.GenericPlayer.GenericAPI.get_artist()=screenlets.plugins.GenericPlayer.GenericAPI-class.html#get_artist,Method screenlets.plugins.Juk.JukAPI.get_artist()=screenlets.plugins.Juk.JukAPI-class.html#get_artist,Method screenlets.plugins.Kaffeine.KaffeineAPI.get_artist()=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#get_artist,Method screenlets.plugins.LastFMProxy.LastFMProxyAPI.get_artist()=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#get_artist,Method screenlets.plugins.Listen.ListenAPI.get_artist()=screenlets.plugins.Listen.ListenAPI-class.html#get_artist,Method screenlets.plugins.Quodlibet.QuodlibetAPI.get_artist()=screenlets.plugins.Quodlibet.QuodlibetAPI-class.html#get_artist,Method screenlets.plugins.Rhythmbox.RhythmboxAPI.get_artist()=screenlets.plugins.Rhythmbox.RhythmboxAPI-class.html#get_artist,Method screenlets.plugins.Sonata.SonataAPI.get_artist()=screenlets.plugins.Sonata.SonataAPI-class.html#get_artist,Method screenlets.plugins.Songbird.SongbirdAPI.get_artist()=screenlets.plugins.Songbird.SongbirdAPI-class.html#get_artist"><a title="screenlets.plugins.Amarok.AmarokAPI.get_artist
screenlets.plugins.Audacious.AudaciousAPI.get_artist
screenlets.plugins.Banshee.BansheeAPI.get_artist
screenlets.plugins.Exaile.ExaileAPI.get_artist
screenlets.plugins.GenericPlayer.GenericAPI.get_artist
screenlets.plugins.Juk.JukAPI.get_artist
screenlets.plugins.Kaffeine.KaffeineAPI.get_artist
screenlets.plugins.LastFMProxy.LastFMProxyAPI.get_artist
screenlets.plugins.Listen.ListenAPI.get_artist
screenlets.plugins.Quodlibet.QuodlibetAPI.get_artist
screenlets.plugins.Rhythmbox.RhythmboxAPI.get_artist
screenlets.plugins.Sonata.SonataAPI.get_artist
screenlets.plugins.Songbird.SongbirdAPI.get_artist" class="py-name" href="#" onclick="return doclink('link-27', 'get_artist', 'link-27');">get_artist</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">+</tt>\ </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line">         <tt class="py-string">" - "</tt><tt class="py-op">+</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-28" class="py-name" targets="Method screenlets.plugins.Amarok.AmarokAPI.get_album()=screenlets.plugins.Amarok.AmarokAPI-class.html#get_album,Method screenlets.plugins.Audacious.AudaciousAPI.get_album()=screenlets.plugins.Audacious.AudaciousAPI-class.html#get_album,Method screenlets.plugins.Banshee.BansheeAPI.get_album()=screenlets.plugins.Banshee.BansheeAPI-class.html#get_album,Method screenlets.plugins.Exaile.ExaileAPI.get_album()=screenlets.plugins.Exaile.ExaileAPI-class.html#get_album,Method screenlets.plugins.GenericPlayer.GenericAPI.get_album()=screenlets.plugins.GenericPlayer.GenericAPI-class.html#get_album,Method screenlets.plugins.Juk.JukAPI.get_album()=screenlets.plugins.Juk.JukAPI-class.html#get_album,Method screenlets.plugins.Kaffeine.KaffeineAPI.get_album()=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#get_album,Method screenlets.plugins.LastFMProxy.LastFMProxyAPI.get_album()=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#get_album,Method screenlets.plugins.Listen.ListenAPI.get_album()=screenlets.plugins.Listen.ListenAPI-class.html#get_album,Method screenlets.plugins.Quodlibet.QuodlibetAPI.get_album()=screenlets.plugins.Quodlibet.QuodlibetAPI-class.html#get_album,Method screenlets.plugins.Rhythmbox.RhythmboxAPI.get_album()=screenlets.plugins.Rhythmbox.RhythmboxAPI-class.html#get_album,Method screenlets.plugins.Sonata.SonataAPI.get_album()=screenlets.plugins.Sonata.SonataAPI-class.html#get_album,Method screenlets.plugins.Songbird.SongbirdAPI.get_album()=screenlets.plugins.Songbird.SongbirdAPI-class.html#get_album"><a title="screenlets.plugins.Amarok.AmarokAPI.get_album
screenlets.plugins.Audacious.AudaciousAPI.get_album
screenlets.plugins.Banshee.BansheeAPI.get_album
screenlets.plugins.Exaile.ExaileAPI.get_album
screenlets.plugins.GenericPlayer.GenericAPI.get_album
screenlets.plugins.Juk.JukAPI.get_album
screenlets.plugins.Kaffeine.KaffeineAPI.get_album
screenlets.plugins.LastFMProxy.LastFMProxyAPI.get_album
screenlets.plugins.Listen.ListenAPI.get_album
screenlets.plugins.Quodlibet.QuodlibetAPI.get_album
screenlets.plugins.Rhythmbox.RhythmboxAPI.get_album
screenlets.plugins.Sonata.SonataAPI.get_album
screenlets.plugins.Songbird.SongbirdAPI.get_album" class="py-name" href="#" onclick="return doclink('link-28', 'get_album', 'link-28');">get_album</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">+</tt><tt class="py-string">".jpg"</tt> </tt>
<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line">                <tt class="py-name">dump</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-29" class="py-name"><a title="screenlets.plugins.LastFMProxy.LastFMProxyAPI.getdump" class="py-name" href="#" onclick="return doclink('link-29', 'getdump', 'link-20');">getdump</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line">                <tt class="py-name">f</tt> <tt class="py-op">=</tt> <tt id="link-30" class="py-name" targets="Method screenlets.utils.FileMonitor.open()=screenlets.utils.FileMonitor-class.html#open"><a title="screenlets.utils.FileMonitor.open" class="py-name" href="#" onclick="return doclink('link-30', 'open', 'link-30');">open</a></tt><tt class="py-op">(</tt><tt id="link-31" class="py-name"><a title="screenlets.ScreenletTheme.path
screenlets.backend.CachingBackend.path" class="py-name" href="#" onclick="return doclink('link-31', 'path', 'link-26');">path</a></tt><tt class="py-op">,</tt> <tt class="py-string">'wb'</tt><tt class="py-op">)</tt> </tt>
<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line">                <tt id="link-32" class="py-name" targets="Variable screenlets.options.file_option.FileOption.image=screenlets.options.file_option.FileOption-class.html#image"><a title="screenlets.options.file_option.FileOption.image" class="py-name" href="#" onclick="return doclink('link-32', 'image', 'link-32');">image</a></tt> <tt class="py-op">=</tt> <tt class="py-name">urllib2</tt><tt class="py-op">.</tt><tt class="py-name">urlopen</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-33" class="py-name"><a title="screenlets.plugins.LastFMProxy.LastFMProxyAPI.getBetween
screenlets.utils.getBetween" class="py-name" href="#" onclick="return doclink('link-33', 'getBetween', 'link-21');">getBetween</a></tt><tt class="py-op">(</tt><tt class="py-name">dump</tt><tt class="py-op">,</tt> <tt class="py-string">'np_image = \''</tt><tt class="py-op">,</tt> </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line">                <tt class="py-string">'\''</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">read</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line">                <tt class="py-name">f</tt><tt class="py-op">.</tt><tt class="py-name">write</tt><tt class="py-op">(</tt><tt id="link-34" class="py-name"><a title="screenlets.options.file_option.FileOption.image" class="py-name" href="#" onclick="return doclink('link-34', 'image', 'link-32');">image</a></tt><tt class="py-op">)</tt> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line">                <tt class="py-name">f</tt><tt class="py-op">.</tt><tt id="link-35" class="py-name" targets="Method screenlets.Screenlet.close()=screenlets.Screenlet-class.html#close,Method screenlets.plugins.Mplayer.Mplayer.close()=screenlets.plugins.Mplayer.Mplayer-class.html#close,Method screenlets.utils.FileMonitor.close()=screenlets.utils.FileMonitor-class.html#close"><a title="screenlets.Screenlet.close
screenlets.plugins.Mplayer.Mplayer.close
screenlets.utils.FileMonitor.close" class="py-name" href="#" onclick="return doclink('link-35', 'close', 'link-35');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt id="link-36" class="py-name"><a title="screenlets.ScreenletTheme.path
screenlets.backend.CachingBackend.path" class="py-name" href="#" onclick="return doclink('link-36', 'path', 'link-26');">path</a></tt> </tt>
</div><a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line"> </tt>
<a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line"> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line">        <tt class="py-comment"># Returns Boolean</tt> </tt>
<a name="LastFMProxyAPI.is_playing"></a><div id="LastFMProxyAPI.is_playing-def"><a name="L111"></a><tt class="py-lineno">111</tt> <a class="py-toggle" href="#" id="LastFMProxyAPI.is_playing-toggle" onclick="return toggle('LastFMProxyAPI.is_playing');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#is_playing">is_playing</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LastFMProxyAPI.is_playing-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="LastFMProxyAPI.is_playing-expanded"><a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-37" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.playerAPI
screenlets.plugins.Audacious.AudaciousAPI.playerAPI
screenlets.plugins.Banshee.BansheeAPI.playerAPI
screenlets.plugins.Exaile.ExaileAPI.playerAPI
screenlets.plugins.Juk.JukAPI.playerAPI
screenlets.plugins.Kaffeine.KaffeineAPI.playerAPI
screenlets.plugins.LastFMProxy.LastFMProxyAPI.playerAPI
screenlets.plugins.Listen.ListenAPI.playerAPI
screenlets.plugins.Quodlibet.QuodlibetAPI.playerAPI
screenlets.plugins.Rhythmbox.RhythmboxAPI.playerAPI
screenlets.plugins.Sonata.SonataAPI.playerAPI
screenlets.plugins.Songbird.SongbirdAPI.playerAPI" class="py-name" href="#" onclick="return doclink('link-37', 'playerAPI', 'link-5');">playerAPI</a></tt><tt class="py-op">.</tt><tt class="py-name">status</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">state</tt> <tt class="py-keyword">in</tt> <tt class="py-op">[</tt><tt class="py-string">'play'</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
<a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">                        <tt class="py-keyword">return</tt> <tt class="py-name">True</tt> </tt>
<a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line">                <tt class="py-keyword">else</tt><tt class="py-op">:</tt> <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
</div><a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line"> </tt>
<a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line">        <tt class="py-comment"># The following do not return any values</tt> </tt>
<a name="LastFMProxyAPI.play_pause"></a><div id="LastFMProxyAPI.play_pause-def"><a name="L117"></a><tt class="py-lineno">117</tt> <a class="py-toggle" href="#" id="LastFMProxyAPI.play_pause-toggle" onclick="return toggle('LastFMProxyAPI.play_pause');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#play_pause">play_pause</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LastFMProxyAPI.play_pause-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="LastFMProxyAPI.play_pause-expanded"><a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-38" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.playerAPI
screenlets.plugins.Audacious.AudaciousAPI.playerAPI
screenlets.plugins.Banshee.BansheeAPI.playerAPI
screenlets.plugins.Exaile.ExaileAPI.playerAPI
screenlets.plugins.Juk.JukAPI.playerAPI
screenlets.plugins.Kaffeine.KaffeineAPI.playerAPI
screenlets.plugins.LastFMProxy.LastFMProxyAPI.playerAPI
screenlets.plugins.Listen.ListenAPI.playerAPI
screenlets.plugins.Quodlibet.QuodlibetAPI.playerAPI
screenlets.plugins.Rhythmbox.RhythmboxAPI.playerAPI
screenlets.plugins.Sonata.SonataAPI.playerAPI
screenlets.plugins.Songbird.SongbirdAPI.playerAPI" class="py-name" href="#" onclick="return doclink('link-38', 'playerAPI', 'link-5');">playerAPI</a></tt><tt class="py-op">.</tt><tt id="link-39" class="py-name" targets="Method screenlets.plugins.Mplayer.Mplayer.pause()=screenlets.plugins.Mplayer.Mplayer-class.html#pause"><a title="screenlets.plugins.Mplayer.Mplayer.pause" class="py-name" href="#" onclick="return doclink('link-39', 'pause', 'link-39');">pause</a></tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
</div><a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line"> </tt>
<a name="LastFMProxyAPI.next"></a><div id="LastFMProxyAPI.next-def"><a name="L120"></a><tt class="py-lineno">120</tt> <a class="py-toggle" href="#" id="LastFMProxyAPI.next-toggle" onclick="return toggle('LastFMProxyAPI.next');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#next">next</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LastFMProxyAPI.next-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="LastFMProxyAPI.next-expanded"><a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-40" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.playerAPI
screenlets.plugins.Audacious.AudaciousAPI.playerAPI
screenlets.plugins.Banshee.BansheeAPI.playerAPI
screenlets.plugins.Exaile.ExaileAPI.playerAPI
screenlets.plugins.Juk.JukAPI.playerAPI
screenlets.plugins.Kaffeine.KaffeineAPI.playerAPI
screenlets.plugins.LastFMProxy.LastFMProxyAPI.playerAPI
screenlets.plugins.Listen.ListenAPI.playerAPI
screenlets.plugins.Quodlibet.QuodlibetAPI.playerAPI
screenlets.plugins.Rhythmbox.RhythmboxAPI.playerAPI
screenlets.plugins.Sonata.SonataAPI.playerAPI
screenlets.plugins.Songbird.SongbirdAPI.playerAPI" class="py-name" href="#" onclick="return doclink('link-40', 'playerAPI', 'link-5');">playerAPI</a></tt><tt class="py-op">.</tt><tt id="link-41" class="py-name" targets="Method screenlets.plugins.Amarok.AmarokAPI.next()=screenlets.plugins.Amarok.AmarokAPI-class.html#next,Method screenlets.plugins.Audacious.AudaciousAPI.next()=screenlets.plugins.Audacious.AudaciousAPI-class.html#next,Method screenlets.plugins.Banshee.BansheeAPI.next()=screenlets.plugins.Banshee.BansheeAPI-class.html#next,Method screenlets.plugins.Exaile.ExaileAPI.next()=screenlets.plugins.Exaile.ExaileAPI-class.html#next,Method screenlets.plugins.GenericPlayer.GenericAPI.next()=screenlets.plugins.GenericPlayer.GenericAPI-class.html#next,Method screenlets.plugins.Juk.JukAPI.next()=screenlets.plugins.Juk.JukAPI-class.html#next,Method screenlets.plugins.Kaffeine.KaffeineAPI.next()=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#next,Method screenlets.plugins.LastFMProxy.LastFMProxyAPI.next()=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#next,Method screenlets.plugins.Listen.ListenAPI.next()=screenlets.plugins.Listen.ListenAPI-class.html#next,Method screenlets.plugins.Quodlibet.QuodlibetAPI.next()=screenlets.plugins.Quodlibet.QuodlibetAPI-class.html#next,Method screenlets.plugins.Rhythmbox.RhythmboxAPI.next()=screenlets.plugins.Rhythmbox.RhythmboxAPI-class.html#next,Method screenlets.plugins.Sonata.SonataAPI.next()=screenlets.plugins.Sonata.SonataAPI-class.html#next,Method screenlets.plugins.Songbird.SongbirdAPI.next()=screenlets.plugins.Songbird.SongbirdAPI-class.html#next"><a title="screenlets.plugins.Amarok.AmarokAPI.next
screenlets.plugins.Audacious.AudaciousAPI.next
screenlets.plugins.Banshee.BansheeAPI.next
screenlets.plugins.Exaile.ExaileAPI.next
screenlets.plugins.GenericPlayer.GenericAPI.next
screenlets.plugins.Juk.JukAPI.next
screenlets.plugins.Kaffeine.KaffeineAPI.next
screenlets.plugins.LastFMProxy.LastFMProxyAPI.next
screenlets.plugins.Listen.ListenAPI.next
screenlets.plugins.Quodlibet.QuodlibetAPI.next
screenlets.plugins.Rhythmbox.RhythmboxAPI.next
screenlets.plugins.Sonata.SonataAPI.next
screenlets.plugins.Songbird.SongbirdAPI.next" class="py-name" href="#" onclick="return doclink('link-41', 'next', 'link-41');">next</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line"> </tt>
<a name="LastFMProxyAPI.previous"></a><div id="LastFMProxyAPI.previous-def"><a name="L123"></a><tt class="py-lineno">123</tt> <a class="py-toggle" href="#" id="LastFMProxyAPI.previous-toggle" onclick="return toggle('LastFMProxyAPI.previous');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#previous">previous</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LastFMProxyAPI.previous-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="LastFMProxyAPI.previous-expanded"><a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-42" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.playerAPI
screenlets.plugins.Audacious.AudaciousAPI.playerAPI
screenlets.plugins.Banshee.BansheeAPI.playerAPI
screenlets.plugins.Exaile.ExaileAPI.playerAPI
screenlets.plugins.Juk.JukAPI.playerAPI
screenlets.plugins.Kaffeine.KaffeineAPI.playerAPI
screenlets.plugins.LastFMProxy.LastFMProxyAPI.playerAPI
screenlets.plugins.Listen.ListenAPI.playerAPI
screenlets.plugins.Quodlibet.QuodlibetAPI.playerAPI
screenlets.plugins.Rhythmbox.RhythmboxAPI.playerAPI
screenlets.plugins.Sonata.SonataAPI.playerAPI
screenlets.plugins.Songbird.SongbirdAPI.playerAPI" class="py-name" href="#" onclick="return doclink('link-42', 'playerAPI', 'link-5');">playerAPI</a></tt><tt class="py-op">.</tt><tt id="link-43" class="py-name" targets="Method screenlets.plugins.Amarok.AmarokAPI.previous()=screenlets.plugins.Amarok.AmarokAPI-class.html#previous,Method screenlets.plugins.Audacious.AudaciousAPI.previous()=screenlets.plugins.Audacious.AudaciousAPI-class.html#previous,Method screenlets.plugins.Banshee.BansheeAPI.previous()=screenlets.plugins.Banshee.BansheeAPI-class.html#previous,Method screenlets.plugins.Exaile.ExaileAPI.previous()=screenlets.plugins.Exaile.ExaileAPI-class.html#previous,Method screenlets.plugins.GenericPlayer.GenericAPI.previous()=screenlets.plugins.GenericPlayer.GenericAPI-class.html#previous,Method screenlets.plugins.Juk.JukAPI.previous()=screenlets.plugins.Juk.JukAPI-class.html#previous,Method screenlets.plugins.Kaffeine.KaffeineAPI.previous()=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#previous,Method screenlets.plugins.LastFMProxy.LastFMProxyAPI.previous()=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#previous,Method screenlets.plugins.Listen.ListenAPI.previous()=screenlets.plugins.Listen.ListenAPI-class.html#previous,Method screenlets.plugins.Quodlibet.QuodlibetAPI.previous()=screenlets.plugins.Quodlibet.QuodlibetAPI-class.html#previous,Method screenlets.plugins.Rhythmbox.RhythmboxAPI.previous()=screenlets.plugins.Rhythmbox.RhythmboxAPI-class.html#previous,Method screenlets.plugins.Sonata.SonataAPI.previous()=screenlets.plugins.Sonata.SonataAPI-class.html#previous,Method screenlets.plugins.Songbird.SongbirdAPI.previous()=screenlets.plugins.Songbird.SongbirdAPI-class.html#previous"><a title="screenlets.plugins.Amarok.AmarokAPI.previous
screenlets.plugins.Audacious.AudaciousAPI.previous
screenlets.plugins.Banshee.BansheeAPI.previous
screenlets.plugins.Exaile.ExaileAPI.previous
screenlets.plugins.GenericPlayer.GenericAPI.previous
screenlets.plugins.Juk.JukAPI.previous
screenlets.plugins.Kaffeine.KaffeineAPI.previous
screenlets.plugins.LastFMProxy.LastFMProxyAPI.previous
screenlets.plugins.Listen.ListenAPI.previous
screenlets.plugins.Quodlibet.QuodlibetAPI.previous
screenlets.plugins.Rhythmbox.RhythmboxAPI.previous
screenlets.plugins.Sonata.SonataAPI.previous
screenlets.plugins.Songbird.SongbirdAPI.previous" class="py-name" href="#" onclick="return doclink('link-43', 'previous', 'link-43');">previous</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line"> </tt>
<a name="LastFMProxyAPI.register_change_callback"></a><div id="LastFMProxyAPI.register_change_callback-def"><a name="L126"></a><tt class="py-lineno">126</tt> <a class="py-toggle" href="#" id="LastFMProxyAPI.register_change_callback-toggle" onclick="return toggle('LastFMProxyAPI.register_change_callback');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#register_change_callback">register_change_callback</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">fn</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LastFMProxyAPI.register_change_callback-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="LastFMProxyAPI.register_change_callback-expanded"><a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-44" class="py-name" targets="Variable screenlets.plugins.CoverSearch.CoverSearch.callback_fn=screenlets.plugins.CoverSearch.CoverSearch-class.html#callback_fn,Variable screenlets.plugins.Quodlibet.QuodlibetAPI.callback_fn=screenlets.plugins.Quodlibet.QuodlibetAPI-class.html#callback_fn,Variable screenlets.plugins.Rhythmbox.RhythmboxAPI.callback_fn=screenlets.plugins.Rhythmbox.RhythmboxAPI-class.html#callback_fn,Variable screenlets.plugins.Songbird.SongbirdAPI.callback_fn=screenlets.plugins.Songbird.SongbirdAPI-class.html#callback_fn"><a title="screenlets.plugins.CoverSearch.CoverSearch.callback_fn
screenlets.plugins.Quodlibet.QuodlibetAPI.callback_fn
screenlets.plugins.Rhythmbox.RhythmboxAPI.callback_fn
screenlets.plugins.Songbird.SongbirdAPI.callback_fn" class="py-name" href="#" onclick="return doclink('link-44', 'callback_fn', 'link-44');">callback_fn</a></tt> <tt class="py-op">=</tt> <tt class="py-name">fn</tt> </tt>
<a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line">                <tt class="py-comment"># Could not find a callback signal for mpd, so just calling after some time interval</tt> </tt>
<a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-45" class="py-name"><a title="screenlets.Notify.__timeout
screenlets.Tooltip.__timeout
screenlets.backend.CachingBackend.__timeout
screenlets.plugins.Amarok.AmarokAPI.__timeout
screenlets.plugins.Audacious.AudaciousAPI.__timeout
screenlets.plugins.Banshee.BansheeAPI.__timeout
screenlets.plugins.Exaile.ExaileAPI.__timeout
screenlets.plugins.Juk.JukAPI.__timeout
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
screenlets.plugins.Listen.ListenAPI.__timeout
screenlets.plugins.Sonata.SonataAPI.__timeout
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-45', '__timeout', 'link-6');">__timeout</a></tt><tt class="py-op">:</tt> </tt>
<a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line">                        <tt class="py-name">gobject</tt><tt class="py-op">.</tt><tt class="py-name">source_remove</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-46" class="py-name"><a title="screenlets.Notify.__timeout
screenlets.Tooltip.__timeout
screenlets.backend.CachingBackend.__timeout
screenlets.plugins.Amarok.AmarokAPI.__timeout
screenlets.plugins.Audacious.AudaciousAPI.__timeout
screenlets.plugins.Banshee.BansheeAPI.__timeout
screenlets.plugins.Exaile.ExaileAPI.__timeout
screenlets.plugins.Juk.JukAPI.__timeout
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
screenlets.plugins.Listen.ListenAPI.__timeout
screenlets.plugins.Sonata.SonataAPI.__timeout
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-46', '__timeout', 'link-6');">__timeout</a></tt><tt class="py-op">)</tt> </tt>
<a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-47" class="py-name"><a title="screenlets.Notify.__timeout
screenlets.Tooltip.__timeout
screenlets.backend.CachingBackend.__timeout
screenlets.plugins.Amarok.AmarokAPI.__timeout
screenlets.plugins.Audacious.AudaciousAPI.__timeout
screenlets.plugins.Banshee.BansheeAPI.__timeout
screenlets.plugins.Exaile.ExaileAPI.__timeout
screenlets.plugins.Juk.JukAPI.__timeout
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
screenlets.plugins.Listen.ListenAPI.__timeout
screenlets.plugins.Sonata.SonataAPI.__timeout
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-47', '__timeout', 'link-6');">__timeout</a></tt> <tt class="py-op">=</tt> <tt class="py-name">gobject</tt><tt class="py-op">.</tt><tt class="py-name">timeout_add</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-48" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__interval
screenlets.plugins.Audacious.AudaciousAPI.__interval
screenlets.plugins.Banshee.BansheeAPI.__interval
screenlets.plugins.Exaile.ExaileAPI.__interval
screenlets.plugins.Juk.JukAPI.__interval
screenlets.plugins.Kaffeine.KaffeineAPI.__interval
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__interval
screenlets.plugins.Listen.ListenAPI.__interval
screenlets.plugins.Sonata.SonataAPI.__interval" class="py-name" href="#" onclick="return doclink('link-48', '__interval', 'link-7');">__interval</a></tt> <tt class="py-op">*</tt> <tt class="py-number">1000</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-49" class="py-name" targets="Method screenlets.plugins.Amarok.AmarokAPI.info_changed()=screenlets.plugins.Amarok.AmarokAPI-class.html#info_changed,Method screenlets.plugins.Audacious.AudaciousAPI.info_changed()=screenlets.plugins.Audacious.AudaciousAPI-class.html#info_changed,Method screenlets.plugins.Banshee.BansheeAPI.info_changed()=screenlets.plugins.Banshee.BansheeAPI-class.html#info_changed,Method screenlets.plugins.Exaile.ExaileAPI.info_changed()=screenlets.plugins.Exaile.ExaileAPI-class.html#info_changed,Method screenlets.plugins.Juk.JukAPI.info_changed()=screenlets.plugins.Juk.JukAPI-class.html#info_changed,Method screenlets.plugins.Kaffeine.KaffeineAPI.info_changed()=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#info_changed,Method screenlets.plugins.LastFMProxy.LastFMProxyAPI.info_changed()=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#info_changed,Method screenlets.plugins.Listen.ListenAPI.info_changed()=screenlets.plugins.Listen.ListenAPI-class.html#info_changed,Method screenlets.plugins.Quodlibet.QuodlibetAPI.info_changed()=screenlets.plugins.Quodlibet.QuodlibetAPI-class.html#info_changed,Method screenlets.plugins.Rhythmbox.RhythmboxAPI.info_changed()=screenlets.plugins.Rhythmbox.RhythmboxAPI-class.html#info_changed,Method screenlets.plugins.Sonata.SonataAPI.info_changed()=screenlets.plugins.Sonata.SonataAPI-class.html#info_changed,Method screenlets.plugins.Songbird.SongbirdAPI.info_changed()=screenlets.plugins.Songbird.SongbirdAPI-class.html#info_changed"><a title="screenlets.plugins.Amarok.AmarokAPI.info_changed
screenlets.plugins.Audacious.AudaciousAPI.info_changed
screenlets.plugins.Banshee.BansheeAPI.info_changed
screenlets.plugins.Exaile.ExaileAPI.info_changed
screenlets.plugins.Juk.JukAPI.info_changed
screenlets.plugins.Kaffeine.KaffeineAPI.info_changed
screenlets.plugins.LastFMProxy.LastFMProxyAPI.info_changed
screenlets.plugins.Listen.ListenAPI.info_changed
screenlets.plugins.Quodlibet.QuodlibetAPI.info_changed
screenlets.plugins.Rhythmbox.RhythmboxAPI.info_changed
screenlets.plugins.Sonata.SonataAPI.info_changed
screenlets.plugins.Songbird.SongbirdAPI.info_changed" class="py-name" href="#" onclick="return doclink('link-49', 'info_changed', 'link-49');">info_changed</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line">                <tt class="py-comment">#self.playerAPI.connect_to_signal("playingUriChanged", self.info_changed)</tt> </tt>
<a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line"> </tt>
<a name="LastFMProxyAPI.info_changed"></a><div id="LastFMProxyAPI.info_changed-def"><a name="L134"></a><tt class="py-lineno">134</tt> <a class="py-toggle" href="#" id="LastFMProxyAPI.info_changed-toggle" onclick="return toggle('LastFMProxyAPI.info_changed');">-</a><tt class="py-line">        <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#info_changed">info_changed</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">signal</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="LastFMProxyAPI.info_changed-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="LastFMProxyAPI.info_changed-expanded"><a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line">                <tt class="py-comment"># Only call the callback function if Data has changed</tt> </tt>
<a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-50" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__curplaying
screenlets.plugins.Audacious.AudaciousAPI.__curplaying
screenlets.plugins.Banshee.BansheeAPI.__curplaying
screenlets.plugins.Exaile.ExaileAPI.__curplaying
screenlets.plugins.Juk.JukAPI.__curplaying
screenlets.plugins.Kaffeine.KaffeineAPI.__curplaying
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__curplaying
screenlets.plugins.Listen.ListenAPI.__curplaying
screenlets.plugins.Sonata.SonataAPI.__curplaying" class="py-name" href="#" onclick="return doclink('link-50', '__curplaying', 'link-9');">__curplaying</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">getattr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-51" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.playerAPI
screenlets.plugins.Audacious.AudaciousAPI.playerAPI
screenlets.plugins.Banshee.BansheeAPI.playerAPI
screenlets.plugins.Exaile.ExaileAPI.playerAPI
screenlets.plugins.Juk.JukAPI.playerAPI
screenlets.plugins.Kaffeine.KaffeineAPI.playerAPI
screenlets.plugins.LastFMProxy.LastFMProxyAPI.playerAPI
screenlets.plugins.Listen.ListenAPI.playerAPI
screenlets.plugins.Quodlibet.QuodlibetAPI.playerAPI
screenlets.plugins.Rhythmbox.RhythmboxAPI.playerAPI
screenlets.plugins.Sonata.SonataAPI.playerAPI
screenlets.plugins.Songbird.SongbirdAPI.playerAPI" class="py-name" href="#" onclick="return doclink('link-51', 'playerAPI', 'link-5');">playerAPI</a></tt><tt class="py-op">.</tt><tt class="py-name">currentsong</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line">                <tt class="py-string">'title'</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line">                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-52" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__curplaying
screenlets.plugins.Audacious.AudaciousAPI.__curplaying
screenlets.plugins.Banshee.BansheeAPI.__curplaying
screenlets.plugins.Exaile.ExaileAPI.__curplaying
screenlets.plugins.Juk.JukAPI.__curplaying
screenlets.plugins.Kaffeine.KaffeineAPI.__curplaying
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__curplaying
screenlets.plugins.Listen.ListenAPI.__curplaying
screenlets.plugins.Sonata.SonataAPI.__curplaying" class="py-name" href="#" onclick="return doclink('link-52', '__curplaying', 'link-9');">__curplaying</a></tt> <tt class="py-op">=</tt> <tt class="py-name">getattr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-53" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.playerAPI
screenlets.plugins.Audacious.AudaciousAPI.playerAPI
screenlets.plugins.Banshee.BansheeAPI.playerAPI
screenlets.plugins.Exaile.ExaileAPI.playerAPI
screenlets.plugins.Juk.JukAPI.playerAPI
screenlets.plugins.Kaffeine.KaffeineAPI.playerAPI
screenlets.plugins.LastFMProxy.LastFMProxyAPI.playerAPI
screenlets.plugins.Listen.ListenAPI.playerAPI
screenlets.plugins.Quodlibet.QuodlibetAPI.playerAPI
screenlets.plugins.Rhythmbox.RhythmboxAPI.playerAPI
screenlets.plugins.Sonata.SonataAPI.playerAPI
screenlets.plugins.Songbird.SongbirdAPI.playerAPI" class="py-name" href="#" onclick="return doclink('link-53', 'playerAPI', 'link-5');">playerAPI</a></tt><tt class="py-op">.</tt><tt class="py-name">currentsong</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-string">'title'</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line">                        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-54" class="py-name"><a title="screenlets.plugins.CoverSearch.CoverSearch.callback_fn
screenlets.plugins.Quodlibet.QuodlibetAPI.callback_fn
screenlets.plugins.Rhythmbox.RhythmboxAPI.callback_fn
screenlets.plugins.Songbird.SongbirdAPI.callback_fn" class="py-name" href="#" onclick="return doclink('link-54', 'callback_fn', 'link-44');">callback_fn</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line"> </tt>
<a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-55" class="py-name"><a title="screenlets.Notify.__timeout
screenlets.Tooltip.__timeout
screenlets.backend.CachingBackend.__timeout
screenlets.plugins.Amarok.AmarokAPI.__timeout
screenlets.plugins.Audacious.AudaciousAPI.__timeout
screenlets.plugins.Banshee.BansheeAPI.__timeout
screenlets.plugins.Exaile.ExaileAPI.__timeout
screenlets.plugins.Juk.JukAPI.__timeout
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
screenlets.plugins.Listen.ListenAPI.__timeout
screenlets.plugins.Sonata.SonataAPI.__timeout
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-55', '__timeout', 'link-6');">__timeout</a></tt><tt class="py-op">:</tt> </tt>
<a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line">                        <tt class="py-name">gobject</tt><tt class="py-op">.</tt><tt class="py-name">source_remove</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-56" class="py-name"><a title="screenlets.Notify.__timeout
screenlets.Tooltip.__timeout
screenlets.backend.CachingBackend.__timeout
screenlets.plugins.Amarok.AmarokAPI.__timeout
screenlets.plugins.Audacious.AudaciousAPI.__timeout
screenlets.plugins.Banshee.BansheeAPI.__timeout
screenlets.plugins.Exaile.ExaileAPI.__timeout
screenlets.plugins.Juk.JukAPI.__timeout
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
screenlets.plugins.Listen.ListenAPI.__timeout
screenlets.plugins.Sonata.SonataAPI.__timeout
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-56', '__timeout', 'link-6');">__timeout</a></tt><tt class="py-op">)</tt> </tt>
<a name="L143"></a><tt class="py-lineno">143</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-57" class="py-name"><a title="screenlets.Notify.__timeout
screenlets.Tooltip.__timeout
screenlets.backend.CachingBackend.__timeout
screenlets.plugins.Amarok.AmarokAPI.__timeout
screenlets.plugins.Audacious.AudaciousAPI.__timeout
screenlets.plugins.Banshee.BansheeAPI.__timeout
screenlets.plugins.Exaile.ExaileAPI.__timeout
screenlets.plugins.Juk.JukAPI.__timeout
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
screenlets.plugins.Listen.ListenAPI.__timeout
screenlets.plugins.Sonata.SonataAPI.__timeout
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-57', '__timeout', 'link-6');">__timeout</a></tt> <tt class="py-op">=</tt> <tt class="py-name">gobject</tt><tt class="py-op">.</tt><tt class="py-name">timeout_add</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-58" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__interval
screenlets.plugins.Audacious.AudaciousAPI.__interval
screenlets.plugins.Banshee.BansheeAPI.__interval
screenlets.plugins.Exaile.ExaileAPI.__interval
screenlets.plugins.Juk.JukAPI.__interval
screenlets.plugins.Kaffeine.KaffeineAPI.__interval
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__interval
screenlets.plugins.Listen.ListenAPI.__interval
screenlets.plugins.Sonata.SonataAPI.__interval" class="py-name" href="#" onclick="return doclink('link-58', '__interval', 'link-7');">__interval</a></tt> <tt class="py-op">*</tt> <tt class="py-number">1000</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-59" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.info_changed
screenlets.plugins.Audacious.AudaciousAPI.info_changed
screenlets.plugins.Banshee.BansheeAPI.info_changed
screenlets.plugins.Exaile.ExaileAPI.info_changed
screenlets.plugins.Juk.JukAPI.info_changed
screenlets.plugins.Kaffeine.KaffeineAPI.info_changed
screenlets.plugins.LastFMProxy.LastFMProxyAPI.info_changed
screenlets.plugins.Listen.ListenAPI.info_changed
screenlets.plugins.Quodlibet.QuodlibetAPI.info_changed
screenlets.plugins.Rhythmbox.RhythmboxAPI.info_changed
screenlets.plugins.Sonata.SonataAPI.info_changed
screenlets.plugins.Songbird.SongbirdAPI.info_changed" class="py-name" href="#" onclick="return doclink('link-59', 'info_changed', 'link-49');">info_changed</a></tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="screenlets-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >Screenlets 0.1.6</th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed Jan  4 16:58:25 2012
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>