347
347
</div><a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"> <tt class="py-comment">#return self.playerAPI.get_artist()</tt> </tt>
348
348
<a name="L65"></a><tt class="py-lineno"> 65</tt> <tt class="py-line"> </tt>
349
349
<a name="ListenAPI.get_cover_path"></a><div id="ListenAPI.get_cover_path-def"><a name="L66"></a><tt class="py-lineno"> 66</tt> <a class="py-toggle" href="#" id="ListenAPI.get_cover_path-toggle" onclick="return toggle('ListenAPI.get_cover_path');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Listen.ListenAPI-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>
350
</div><div id="ListenAPI.get_cover_path-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="ListenAPI.get_cover_path-expanded"><a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"> <tt class="py-keyword">return</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">"/.listen/cover/"</tt><tt class="py-op">+</tt>\ </tt>
351
<a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"> <tt class="py-name">string</tt><tt class="py-op">.</tt><tt class="py-name">lower</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
352
screenlets.plugins.Audacious.AudaciousAPI.get_artist
353
screenlets.plugins.Banshee.BansheeAPI.get_artist
354
screenlets.plugins.Exaile.ExaileAPI.get_artist
355
screenlets.plugins.GenericPlayer.GenericAPI.get_artist
356
screenlets.plugins.Juk.JukAPI.get_artist
357
screenlets.plugins.Kaffeine.KaffeineAPI.get_artist
358
screenlets.plugins.LastFMProxy.LastFMProxyAPI.get_artist
359
screenlets.plugins.Listen.ListenAPI.get_artist
360
screenlets.plugins.Quodlibet.QuodlibetAPI.get_artist
361
screenlets.plugins.Rhythmbox.RhythmboxAPI.get_artist
362
screenlets.plugins.Sonata.SonataAPI.get_artist
363
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 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
350
</div><div id="ListenAPI.get_cover_path-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="ListenAPI.get_cover_path-expanded"><a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"> <tt class="py-keyword">return</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">"/.cache/listen/cover/"</tt><tt class="py-op">+</tt>\ </tt>
351
<a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"> <tt class="py-name">string</tt><tt class="py-op">.</tt><tt class="py-name">lower</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_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
364
352
screenlets.plugins.Audacious.AudaciousAPI.get_album
365
353
screenlets.plugins.Banshee.BansheeAPI.get_album
366
354
screenlets.plugins.Exaile.ExaileAPI.get_album
467
455
screenlets.plugins.Quodlibet.QuodlibetAPI.previous
468
456
screenlets.plugins.Rhythmbox.RhythmboxAPI.previous
469
457
screenlets.plugins.Sonata.SonataAPI.previous
470
screenlets.plugins.Songbird.SongbirdAPI.previous" class="py-name" href="#" onclick="return doclink('link-35', 'previous', 'link-35');">previous</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
458
screenlets.plugins.Songbird.SongbirdAPI.previous" class="py-name" href="#" onclick="return doclink('link-34', 'previous', 'link-34');">previous</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
471
459
</div><a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"> </tt>
472
460
<a name="ListenAPI.register_change_callback"></a><div id="ListenAPI.register_change_callback-def"><a name="L85"></a><tt class="py-lineno"> 85</tt> <a class="py-toggle" href="#" id="ListenAPI.register_change_callback-toggle" onclick="return toggle('ListenAPI.register_change_callback');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Listen.ListenAPI-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>
473
</div><div id="ListenAPI.register_change_callback-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="ListenAPI.register_change_callback-expanded"><a name="L86"></a><tt class="py-lineno"> 86</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-36" 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
461
</div><div id="ListenAPI.register_change_callback-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="ListenAPI.register_change_callback-expanded"><a name="L86"></a><tt class="py-lineno"> 86</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-35" 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
474
462
screenlets.plugins.Quodlibet.QuodlibetAPI.callback_fn
475
463
screenlets.plugins.Rhythmbox.RhythmboxAPI.callback_fn
476
screenlets.plugins.Songbird.SongbirdAPI.callback_fn" class="py-name" href="#" onclick="return doclink('link-36', 'callback_fn', 'link-36');">callback_fn</a></tt> <tt class="py-op">=</tt> <tt class="py-name">fn</tt> </tt>
464
screenlets.plugins.Songbird.SongbirdAPI.callback_fn" class="py-name" href="#" onclick="return doclink('link-35', 'callback_fn', 'link-35');">callback_fn</a></tt> <tt class="py-op">=</tt> <tt class="py-name">fn</tt> </tt>
477
465
<a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"> <tt class="py-comment"># Could not find a callback signal for Listen, so just calling after some time interval</tt> </tt>
478
<a name="L88"></a><tt class="py-lineno"> 88</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.Notify.__timeout
479
screenlets.Tooltip.__timeout
480
screenlets.backend.CachingBackend.__timeout
481
screenlets.plugins.Amarok.AmarokAPI.__timeout
482
screenlets.plugins.Audacious.AudaciousAPI.__timeout
483
screenlets.plugins.Banshee.BansheeAPI.__timeout
484
screenlets.plugins.Exaile.ExaileAPI.__timeout
485
screenlets.plugins.Juk.JukAPI.__timeout
486
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
487
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
488
screenlets.plugins.Listen.ListenAPI.__timeout
489
screenlets.plugins.Sonata.SonataAPI.__timeout
490
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-37', '__timeout', 'link-8');">__timeout</a></tt><tt class="py-op">:</tt> </tt>
491
<a name="L89"></a><tt class="py-lineno"> 89</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-38" class="py-name"><a title="screenlets.Notify.__timeout
492
screenlets.Tooltip.__timeout
493
screenlets.backend.CachingBackend.__timeout
494
screenlets.plugins.Amarok.AmarokAPI.__timeout
495
screenlets.plugins.Audacious.AudaciousAPI.__timeout
496
screenlets.plugins.Banshee.BansheeAPI.__timeout
497
screenlets.plugins.Exaile.ExaileAPI.__timeout
498
screenlets.plugins.Juk.JukAPI.__timeout
499
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
500
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
501
screenlets.plugins.Listen.ListenAPI.__timeout
502
screenlets.plugins.Sonata.SonataAPI.__timeout
503
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-38', '__timeout', 'link-8');">__timeout</a></tt><tt class="py-op">)</tt> </tt>
504
<a name="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-39" class="py-name"><a title="screenlets.Notify.__timeout
505
screenlets.Tooltip.__timeout
506
screenlets.backend.CachingBackend.__timeout
507
screenlets.plugins.Amarok.AmarokAPI.__timeout
508
screenlets.plugins.Audacious.AudaciousAPI.__timeout
509
screenlets.plugins.Banshee.BansheeAPI.__timeout
510
screenlets.plugins.Exaile.ExaileAPI.__timeout
511
screenlets.plugins.Juk.JukAPI.__timeout
512
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
513
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
514
screenlets.plugins.Listen.ListenAPI.__timeout
515
screenlets.plugins.Sonata.SonataAPI.__timeout
516
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-39', '__timeout', 'link-8');">__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-40" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__interval
466
<a name="L88"></a><tt class="py-lineno"> 88</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-36" class="py-name"><a title="screenlets.Notify.__timeout
467
screenlets.Tooltip.__timeout
468
screenlets.backend.CachingBackend.__timeout
469
screenlets.plugins.Amarok.AmarokAPI.__timeout
470
screenlets.plugins.Audacious.AudaciousAPI.__timeout
471
screenlets.plugins.Banshee.BansheeAPI.__timeout
472
screenlets.plugins.Exaile.ExaileAPI.__timeout
473
screenlets.plugins.Juk.JukAPI.__timeout
474
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
475
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
476
screenlets.plugins.Listen.ListenAPI.__timeout
477
screenlets.plugins.Sonata.SonataAPI.__timeout
478
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-36', '__timeout', 'link-8');">__timeout</a></tt><tt class="py-op">:</tt> </tt>
479
<a name="L89"></a><tt class="py-lineno"> 89</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-37" class="py-name"><a title="screenlets.Notify.__timeout
480
screenlets.Tooltip.__timeout
481
screenlets.backend.CachingBackend.__timeout
482
screenlets.plugins.Amarok.AmarokAPI.__timeout
483
screenlets.plugins.Audacious.AudaciousAPI.__timeout
484
screenlets.plugins.Banshee.BansheeAPI.__timeout
485
screenlets.plugins.Exaile.ExaileAPI.__timeout
486
screenlets.plugins.Juk.JukAPI.__timeout
487
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
488
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
489
screenlets.plugins.Listen.ListenAPI.__timeout
490
screenlets.plugins.Sonata.SonataAPI.__timeout
491
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-37', '__timeout', 'link-8');">__timeout</a></tt><tt class="py-op">)</tt> </tt>
492
<a name="L90"></a><tt class="py-lineno"> 90</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.Notify.__timeout
493
screenlets.Tooltip.__timeout
494
screenlets.backend.CachingBackend.__timeout
495
screenlets.plugins.Amarok.AmarokAPI.__timeout
496
screenlets.plugins.Audacious.AudaciousAPI.__timeout
497
screenlets.plugins.Banshee.BansheeAPI.__timeout
498
screenlets.plugins.Exaile.ExaileAPI.__timeout
499
screenlets.plugins.Juk.JukAPI.__timeout
500
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
501
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
502
screenlets.plugins.Listen.ListenAPI.__timeout
503
screenlets.plugins.Sonata.SonataAPI.__timeout
504
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-38', '__timeout', 'link-8');">__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-39" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__interval
517
505
screenlets.plugins.Audacious.AudaciousAPI.__interval
518
506
screenlets.plugins.Banshee.BansheeAPI.__interval
519
507
screenlets.plugins.Exaile.ExaileAPI.__interval
532
520
screenlets.plugins.Quodlibet.QuodlibetAPI.info_changed
533
521
screenlets.plugins.Rhythmbox.RhythmboxAPI.info_changed
534
522
screenlets.plugins.Sonata.SonataAPI.info_changed
535
screenlets.plugins.Songbird.SongbirdAPI.info_changed" class="py-name" href="#" onclick="return doclink('link-41', 'info_changed', 'link-41');">info_changed</a></tt><tt class="py-op">)</tt> </tt>
523
screenlets.plugins.Songbird.SongbirdAPI.info_changed" class="py-name" href="#" onclick="return doclink('link-40', 'info_changed', 'link-40');">info_changed</a></tt><tt class="py-op">)</tt> </tt>
536
524
</div><a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"> <tt class="py-comment">#self.playerAPI.connect_to_signal("playingUriChanged", self.info_changed)</tt> </tt>
537
525
<a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"> </tt>
538
526
<a name="ListenAPI.info_changed"></a><div id="ListenAPI.info_changed-def"><a name="L93"></a><tt class="py-lineno"> 93</tt> <a class="py-toggle" href="#" id="ListenAPI.info_changed-toggle" onclick="return toggle('ListenAPI.info_changed');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Listen.ListenAPI-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>
539
527
</div><div id="ListenAPI.info_changed-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="ListenAPI.info_changed-expanded"><a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"> <tt class="py-comment"># Only call the callback function if Data has changed</tt> </tt>
540
<a name="L95"></a><tt class="py-lineno"> 95</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-42" class="py-name"><a title="screenlets.Notify.__timeout
541
screenlets.Tooltip.__timeout
542
screenlets.backend.CachingBackend.__timeout
543
screenlets.plugins.Amarok.AmarokAPI.__timeout
544
screenlets.plugins.Audacious.AudaciousAPI.__timeout
545
screenlets.plugins.Banshee.BansheeAPI.__timeout
546
screenlets.plugins.Exaile.ExaileAPI.__timeout
547
screenlets.plugins.Juk.JukAPI.__timeout
548
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
549
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
550
screenlets.plugins.Listen.ListenAPI.__timeout
551
screenlets.plugins.Sonata.SonataAPI.__timeout
552
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-42', '__timeout', 'link-8');">__timeout</a></tt><tt class="py-op">:</tt> </tt>
553
<a name="L96"></a><tt class="py-lineno"> 96</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-43" class="py-name"><a title="screenlets.Notify.__timeout
554
screenlets.Tooltip.__timeout
555
screenlets.backend.CachingBackend.__timeout
556
screenlets.plugins.Amarok.AmarokAPI.__timeout
557
screenlets.plugins.Audacious.AudaciousAPI.__timeout
558
screenlets.plugins.Banshee.BansheeAPI.__timeout
559
screenlets.plugins.Exaile.ExaileAPI.__timeout
560
screenlets.plugins.Juk.JukAPI.__timeout
561
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
562
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
563
screenlets.plugins.Listen.ListenAPI.__timeout
564
screenlets.plugins.Sonata.SonataAPI.__timeout
565
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-43', '__timeout', 'link-8');">__timeout</a></tt><tt class="py-op">)</tt> </tt>
528
<a name="L95"></a><tt class="py-lineno"> 95</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-41" class="py-name"><a title="screenlets.Notify.__timeout
529
screenlets.Tooltip.__timeout
530
screenlets.backend.CachingBackend.__timeout
531
screenlets.plugins.Amarok.AmarokAPI.__timeout
532
screenlets.plugins.Audacious.AudaciousAPI.__timeout
533
screenlets.plugins.Banshee.BansheeAPI.__timeout
534
screenlets.plugins.Exaile.ExaileAPI.__timeout
535
screenlets.plugins.Juk.JukAPI.__timeout
536
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
537
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
538
screenlets.plugins.Listen.ListenAPI.__timeout
539
screenlets.plugins.Sonata.SonataAPI.__timeout
540
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-41', '__timeout', 'link-8');">__timeout</a></tt><tt class="py-op">:</tt> </tt>
541
<a name="L96"></a><tt class="py-lineno"> 96</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-42" class="py-name"><a title="screenlets.Notify.__timeout
542
screenlets.Tooltip.__timeout
543
screenlets.backend.CachingBackend.__timeout
544
screenlets.plugins.Amarok.AmarokAPI.__timeout
545
screenlets.plugins.Audacious.AudaciousAPI.__timeout
546
screenlets.plugins.Banshee.BansheeAPI.__timeout
547
screenlets.plugins.Exaile.ExaileAPI.__timeout
548
screenlets.plugins.Juk.JukAPI.__timeout
549
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
550
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
551
screenlets.plugins.Listen.ListenAPI.__timeout
552
screenlets.plugins.Sonata.SonataAPI.__timeout
553
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-42', '__timeout', 'link-8');">__timeout</a></tt><tt class="py-op">)</tt> </tt>
566
554
<a name="L97"></a><tt class="py-lineno"> 97</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
567
<a name="L98"></a><tt class="py-lineno"> 98</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-44" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__curplaying
568
screenlets.plugins.Audacious.AudaciousAPI.__curplaying
569
screenlets.plugins.Banshee.BansheeAPI.__curplaying
570
screenlets.plugins.Exaile.ExaileAPI.__curplaying
571
screenlets.plugins.Juk.JukAPI.__curplaying
572
screenlets.plugins.Kaffeine.KaffeineAPI.__curplaying
573
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__curplaying
574
screenlets.plugins.Listen.ListenAPI.__curplaying
575
screenlets.plugins.Sonata.SonataAPI.__curplaying" class="py-name" href="#" onclick="return doclink('link-44', '__curplaying', 'link-11');">__curplaying</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-45" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.playerAPI
576
screenlets.plugins.Audacious.AudaciousAPI.playerAPI
577
screenlets.plugins.Banshee.BansheeAPI.playerAPI
578
screenlets.plugins.Exaile.ExaileAPI.playerAPI
579
screenlets.plugins.Juk.JukAPI.playerAPI
580
screenlets.plugins.Kaffeine.KaffeineAPI.playerAPI
581
screenlets.plugins.LastFMProxy.LastFMProxyAPI.playerAPI
582
screenlets.plugins.Listen.ListenAPI.playerAPI
583
screenlets.plugins.Quodlibet.QuodlibetAPI.playerAPI
584
screenlets.plugins.Rhythmbox.RhythmboxAPI.playerAPI
585
screenlets.plugins.Sonata.SonataAPI.playerAPI
586
screenlets.plugins.Songbird.SongbirdAPI.playerAPI" class="py-name" href="#" onclick="return doclink('link-45', 'playerAPI', 'link-7');">playerAPI</a></tt><tt class="py-op">.</tt><tt class="py-name">current_playing</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
587
<a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-46" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__curplaying
588
screenlets.plugins.Audacious.AudaciousAPI.__curplaying
589
screenlets.plugins.Banshee.BansheeAPI.__curplaying
590
screenlets.plugins.Exaile.ExaileAPI.__curplaying
591
screenlets.plugins.Juk.JukAPI.__curplaying
592
screenlets.plugins.Kaffeine.KaffeineAPI.__curplaying
593
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__curplaying
594
screenlets.plugins.Listen.ListenAPI.__curplaying
595
screenlets.plugins.Sonata.SonataAPI.__curplaying" class="py-name" href="#" onclick="return doclink('link-46', '__curplaying', 'link-11');">__curplaying</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-47" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.playerAPI
596
screenlets.plugins.Audacious.AudaciousAPI.playerAPI
597
screenlets.plugins.Banshee.BansheeAPI.playerAPI
598
screenlets.plugins.Exaile.ExaileAPI.playerAPI
599
screenlets.plugins.Juk.JukAPI.playerAPI
600
screenlets.plugins.Kaffeine.KaffeineAPI.playerAPI
601
screenlets.plugins.LastFMProxy.LastFMProxyAPI.playerAPI
602
screenlets.plugins.Listen.ListenAPI.playerAPI
603
screenlets.plugins.Quodlibet.QuodlibetAPI.playerAPI
604
screenlets.plugins.Rhythmbox.RhythmboxAPI.playerAPI
605
screenlets.plugins.Sonata.SonataAPI.playerAPI
606
screenlets.plugins.Songbird.SongbirdAPI.playerAPI" class="py-name" href="#" onclick="return doclink('link-47', 'playerAPI', 'link-7');">playerAPI</a></tt><tt class="py-op">.</tt><tt class="py-name">current_playing</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
607
<a name="L100"></a><tt class="py-lineno">100</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-48" class="py-name"><a title="screenlets.plugins.CoverSearch.CoverSearch.callback_fn
555
<a name="L98"></a><tt class="py-lineno"> 98</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-43" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__curplaying
556
screenlets.plugins.Audacious.AudaciousAPI.__curplaying
557
screenlets.plugins.Banshee.BansheeAPI.__curplaying
558
screenlets.plugins.Exaile.ExaileAPI.__curplaying
559
screenlets.plugins.Juk.JukAPI.__curplaying
560
screenlets.plugins.Kaffeine.KaffeineAPI.__curplaying
561
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__curplaying
562
screenlets.plugins.Listen.ListenAPI.__curplaying
563
screenlets.plugins.Sonata.SonataAPI.__curplaying" class="py-name" href="#" onclick="return doclink('link-43', '__curplaying', 'link-11');">__curplaying</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-44" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.playerAPI
564
screenlets.plugins.Audacious.AudaciousAPI.playerAPI
565
screenlets.plugins.Banshee.BansheeAPI.playerAPI
566
screenlets.plugins.Exaile.ExaileAPI.playerAPI
567
screenlets.plugins.Juk.JukAPI.playerAPI
568
screenlets.plugins.Kaffeine.KaffeineAPI.playerAPI
569
screenlets.plugins.LastFMProxy.LastFMProxyAPI.playerAPI
570
screenlets.plugins.Listen.ListenAPI.playerAPI
571
screenlets.plugins.Quodlibet.QuodlibetAPI.playerAPI
572
screenlets.plugins.Rhythmbox.RhythmboxAPI.playerAPI
573
screenlets.plugins.Sonata.SonataAPI.playerAPI
574
screenlets.plugins.Songbird.SongbirdAPI.playerAPI" class="py-name" href="#" onclick="return doclink('link-44', 'playerAPI', 'link-7');">playerAPI</a></tt><tt class="py-op">.</tt><tt class="py-name">current_playing</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
575
<a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-45" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__curplaying
576
screenlets.plugins.Audacious.AudaciousAPI.__curplaying
577
screenlets.plugins.Banshee.BansheeAPI.__curplaying
578
screenlets.plugins.Exaile.ExaileAPI.__curplaying
579
screenlets.plugins.Juk.JukAPI.__curplaying
580
screenlets.plugins.Kaffeine.KaffeineAPI.__curplaying
581
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__curplaying
582
screenlets.plugins.Listen.ListenAPI.__curplaying
583
screenlets.plugins.Sonata.SonataAPI.__curplaying" class="py-name" href="#" onclick="return doclink('link-45', '__curplaying', 'link-11');">__curplaying</a></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.plugins.Amarok.AmarokAPI.playerAPI
584
screenlets.plugins.Audacious.AudaciousAPI.playerAPI
585
screenlets.plugins.Banshee.BansheeAPI.playerAPI
586
screenlets.plugins.Exaile.ExaileAPI.playerAPI
587
screenlets.plugins.Juk.JukAPI.playerAPI
588
screenlets.plugins.Kaffeine.KaffeineAPI.playerAPI
589
screenlets.plugins.LastFMProxy.LastFMProxyAPI.playerAPI
590
screenlets.plugins.Listen.ListenAPI.playerAPI
591
screenlets.plugins.Quodlibet.QuodlibetAPI.playerAPI
592
screenlets.plugins.Rhythmbox.RhythmboxAPI.playerAPI
593
screenlets.plugins.Sonata.SonataAPI.playerAPI
594
screenlets.plugins.Songbird.SongbirdAPI.playerAPI" class="py-name" href="#" onclick="return doclink('link-46', 'playerAPI', 'link-7');">playerAPI</a></tt><tt class="py-op">.</tt><tt class="py-name">current_playing</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
595
<a name="L100"></a><tt class="py-lineno">100</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.plugins.CoverSearch.CoverSearch.callback_fn
608
596
screenlets.plugins.Quodlibet.QuodlibetAPI.callback_fn
609
597
screenlets.plugins.Rhythmbox.RhythmboxAPI.callback_fn
610
screenlets.plugins.Songbird.SongbirdAPI.callback_fn" class="py-name" href="#" onclick="return doclink('link-48', 'callback_fn', 'link-36');">callback_fn</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
598
screenlets.plugins.Songbird.SongbirdAPI.callback_fn" class="py-name" href="#" onclick="return doclink('link-47', 'callback_fn', 'link-35');">callback_fn</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
611
599
<a name="L101"></a><tt class="py-lineno">101</tt> <tt class="py-line"> </tt>
612
<a name="L102"></a><tt class="py-lineno">102</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-49" class="py-name"><a title="screenlets.Notify.__timeout
600
<a name="L102"></a><tt class="py-lineno">102</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-48" class="py-name"><a title="screenlets.Notify.__timeout
613
601
screenlets.Tooltip.__timeout
614
602
screenlets.backend.CachingBackend.__timeout
615
603
screenlets.plugins.Amarok.AmarokAPI.__timeout