/usr/share/doc/screenlets/API/screenlets.plugins.Sonata-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 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 | <?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.Sonata</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> <a
href="screenlets-module.html">Home</a> </th>
<!-- Tree link -->
<th> <a
href="module-tree.html">Trees</a> </th>
<!-- Index link -->
<th> <a
href="identifier-index.html">Indices</a> </th>
<!-- Help link -->
<th> <a
href="help.html">Help</a> </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 screenlets</a> ::
<a href="screenlets.plugins-module.html">Package plugins</a> ::
Module Sonata
</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 private</a>]</span></td></tr>
<tr><td align="right"><span class="options"
>[<a href="frames.html" target="_top">frames</a
>] | <a href="screenlets.plugins.Sonata-pysrc.html"
target="_top">no frames</a>]</span></td></tr>
</table>
</td>
</tr>
</table>
<h1 class="epydoc">Source Code for <a href="screenlets.plugins.Sonata-module.html">Module screenlets.plugins.Sonata</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 <http://www.gnu.org/licenses/>.</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"># Sonata API (c) Whise (Helder Fraga) 2008 <helder.fraga@hotmail.com></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>
<a name="L17"></a><tt class="py-lineno"> 17</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</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">dbus</tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">gobject</tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</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="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="SonataAPI"></a><div id="SonataAPI-def"><a name="L23"></a><tt class="py-lineno"> 23</tt> <a class="py-toggle" href="#" id="SonataAPI-toggle" onclick="return toggle('SonataAPI');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="screenlets.plugins.Sonata.SonataAPI-class.html">SonataAPI</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="SonataAPI-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="SonataAPI-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">'Sonata 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">''</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">''</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>
<a name="L30"></a><tt class="py-lineno"> 30</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="L31"></a><tt class="py-lineno"> 31</tt> <tt class="py-line"> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</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="L33"></a><tt class="py-lineno"> 33</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">2</tt> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt> <tt class="py-line"> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</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">None</tt> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</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="L37"></a><tt class="py-lineno"> 37</tt> <tt class="py-line"> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt> <tt class="py-line"> </tt>
<a name="L39"></a><tt class="py-lineno"> 39</tt> <tt class="py-line"> <tt id="link-10" class="py-name" targets="Variable screenlets.plugins.Banshee.BansheeAPI.ns=screenlets.plugins.Banshee.BansheeAPI-class.html#ns,Variable screenlets.plugins.Exaile.ExaileAPI.ns=screenlets.plugins.Exaile.ExaileAPI-class.html#ns,Variable screenlets.plugins.Listen.ListenAPI.ns=screenlets.plugins.Listen.ListenAPI-class.html#ns,Variable screenlets.plugins.Quodlibet.QuodlibetAPI.ns=screenlets.plugins.Quodlibet.QuodlibetAPI-class.html#ns,Variable screenlets.plugins.Rhythmbox.RhythmboxAPI.ns=screenlets.plugins.Rhythmbox.RhythmboxAPI-class.html#ns,Variable screenlets.plugins.Sonata.SonataAPI.ns=screenlets.plugins.Sonata.SonataAPI-class.html#ns,Variable screenlets.plugins.Songbird.SongbirdAPI.ns=screenlets.plugins.Songbird.SongbirdAPI-class.html#ns"><a title="screenlets.plugins.Banshee.BansheeAPI.ns
screenlets.plugins.Exaile.ExaileAPI.ns
screenlets.plugins.Listen.ListenAPI.ns
screenlets.plugins.Quodlibet.QuodlibetAPI.ns
screenlets.plugins.Rhythmbox.RhythmboxAPI.ns
screenlets.plugins.Sonata.SonataAPI.ns
screenlets.plugins.Songbird.SongbirdAPI.ns" class="py-name" href="#" onclick="return doclink('link-10', 'ns', 'link-10');">ns</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"org.MPD.Sonata"</tt> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt> <tt class="py-line"> <tt id="link-11" class="py-name" targets="Variable screenlets.plugins.Banshee.BansheeAPI.iroot=screenlets.plugins.Banshee.BansheeAPI-class.html#iroot,Variable screenlets.plugins.Exaile.ExaileAPI.iroot=screenlets.plugins.Exaile.ExaileAPI-class.html#iroot,Variable screenlets.plugins.Listen.ListenAPI.iroot=screenlets.plugins.Listen.ListenAPI-class.html#iroot,Variable screenlets.plugins.Sonata.SonataAPI.iroot=screenlets.plugins.Sonata.SonataAPI-class.html#iroot"><a title="screenlets.plugins.Banshee.BansheeAPI.iroot
screenlets.plugins.Exaile.ExaileAPI.iroot
screenlets.plugins.Listen.ListenAPI.iroot
screenlets.plugins.Sonata.SonataAPI.iroot" class="py-name" href="#" onclick="return doclink('link-11', 'iroot', 'link-11');">iroot</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"/org/MPD/Sonata"</tt> </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt> <tt class="py-line"> <tt id="link-12" class="py-name" targets="Variable screenlets.plugins.Banshee.BansheeAPI.iface=screenlets.plugins.Banshee.BansheeAPI-class.html#iface,Variable screenlets.plugins.Exaile.ExaileAPI.iface=screenlets.plugins.Exaile.ExaileAPI-class.html#iface,Variable screenlets.plugins.Listen.ListenAPI.iface=screenlets.plugins.Listen.ListenAPI-class.html#iface,Variable screenlets.plugins.Sonata.SonataAPI.iface=screenlets.plugins.Sonata.SonataAPI-class.html#iface"><a title="screenlets.plugins.Banshee.BansheeAPI.iface
screenlets.plugins.Exaile.ExaileAPI.iface
screenlets.plugins.Listen.ListenAPI.iface
screenlets.plugins.Sonata.SonataAPI.iface" class="py-name" href="#" onclick="return doclink('link-12', 'iface', 'link-12');">iface</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"org.MPD.SonataInterface"</tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt> <tt class="py-line"> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt> <tt class="py-line"> <tt id="link-13" class="py-name" targets="Variable screenlets.plugins.Sonata.SonataAPI.host=screenlets.plugins.Sonata.SonataAPI-class.html#host"><a title="screenlets.plugins.Sonata.SonataAPI.host" class="py-name" href="#" onclick="return doclink('link-13', 'host', 'link-13');">host</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'localhost'</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt> <tt class="py-line"> <tt id="link-14" class="py-name" targets="Variable screenlets.plugins.Sonata.SonataAPI.port=screenlets.plugins.Sonata.SonataAPI-class.html#port"><a title="screenlets.plugins.Sonata.SonataAPI.port" class="py-name" href="#" onclick="return doclink('link-14', 'port', 'link-14');">port</a></tt> <tt class="py-op">=</tt> <tt class="py-number">6600</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt> <tt class="py-line"> <tt id="link-15" class="py-name" targets="Variable screenlets.plugins.Sonata.SonataAPI.musicdir=screenlets.plugins.Sonata.SonataAPI-class.html#musicdir"><a title="screenlets.plugins.Sonata.SonataAPI.musicdir" class="py-name" href="#" onclick="return doclink('link-15', 'musicdir', 'link-15');">musicdir</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'/media/MULTIMEDIA/music/'</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt> <tt class="py-line"> </tt>
<a name="SonataAPI.__init__"></a><div id="SonataAPI.__init__-def"><a name="L47"></a><tt class="py-lineno"> 47</tt> <a class="py-toggle" href="#" id="SonataAPI.__init__-toggle" onclick="return toggle('SonataAPI.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Sonata.SonataAPI-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="SonataAPI.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SonataAPI.__init__-expanded"><a name="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"> <tt id="link-16" class="py-name"><a title="screenlets.plugins.GenericPlayer.GenericAPI" class="py-name" href="#" onclick="return doclink('link-16', 'GenericAPI', 'link-2');">GenericAPI</a></tt><tt class="py-op">.</tt><tt id="link-17" 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-17', '__init__', 'link-17');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-18" 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-18', 'session_bus', 'link-18');">session_bus</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt> <tt class="py-line"> <tt class="py-comment"># Check if the player is active : Returns Boolean</tt> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</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="L52"></a><tt class="py-lineno"> 52</tt> <tt class="py-line"> <tt class="py-comment"># if there are other ways of checking this (like dcop in amarok)</tt> </tt>
<a name="SonataAPI.is_active"></a><div id="SonataAPI.is_active-def"><a name="L53"></a><tt class="py-lineno"> 53</tt> <a class="py-toggle" href="#" id="SonataAPI.is_active-toggle" onclick="return toggle('SonataAPI.is_active');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Sonata.SonataAPI-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="SonataAPI.is_active-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SonataAPI.is_active-expanded"><a name="L54"></a><tt class="py-lineno"> 54</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-19" class="py-name"><a title="screenlets.plugins.Banshee.BansheeAPI.ns
screenlets.plugins.Exaile.ExaileAPI.ns
screenlets.plugins.Listen.ListenAPI.ns
screenlets.plugins.Quodlibet.QuodlibetAPI.ns
screenlets.plugins.Rhythmbox.RhythmboxAPI.ns
screenlets.plugins.Sonata.SonataAPI.ns
screenlets.plugins.Songbird.SongbirdAPI.ns" class="py-name" href="#" onclick="return doclink('link-19', 'ns', 'link-10');">ns</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">dbus_iface</tt><tt class="py-op">.</tt><tt class="py-name">ListNames</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> <tt class="py-keyword">return</tt> <tt class="py-name">True</tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</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="L56"></a><tt class="py-lineno"> 56</tt> <tt class="py-line"> </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt> <tt class="py-line"> <tt class="py-comment"># Make a connection to the Player</tt> </tt>
<a name="SonataAPI.connect"></a><div id="SonataAPI.connect-def"><a name="L58"></a><tt class="py-lineno"> 58</tt> <a class="py-toggle" href="#" id="SonataAPI.connect-toggle" onclick="return toggle('SonataAPI.connect');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Sonata.SonataAPI-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="SonataAPI.connect-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SonataAPI.connect-expanded"><a name="L59"></a><tt class="py-lineno"> 59</tt> <tt class="py-line"> <tt class="py-name">proxy_obj</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name"><a title="screenlets.plugins.GenericPlayer.GenericAPI.session_bus" class="py-name" href="#" onclick="return doclink('link-20', 'session_bus', 'link-18');">session_bus</a></tt><tt class="py-op">.</tt><tt class="py-name">get_object</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name"><a title="screenlets.plugins.Banshee.BansheeAPI.ns
screenlets.plugins.Exaile.ExaileAPI.ns
screenlets.plugins.Listen.ListenAPI.ns
screenlets.plugins.Quodlibet.QuodlibetAPI.ns
screenlets.plugins.Rhythmbox.RhythmboxAPI.ns
screenlets.plugins.Sonata.SonataAPI.ns
screenlets.plugins.Songbird.SongbirdAPI.ns" class="py-name" href="#" onclick="return doclink('link-21', 'ns', 'link-10');">ns</a></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.Banshee.BansheeAPI.iroot
screenlets.plugins.Exaile.ExaileAPI.iroot
screenlets.plugins.Listen.ListenAPI.iroot
screenlets.plugins.Sonata.SonataAPI.iroot" class="py-name" href="#" onclick="return doclink('link-22', 'iroot', 'link-11');">iroot</a></tt><tt class="py-op">)</tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-23" 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-23', 'playerAPI', 'link-5');">playerAPI</a></tt> <tt class="py-op">=</tt> <tt class="py-name">dbus</tt><tt class="py-op">.</tt><tt class="py-name">Interface</tt><tt class="py-op">(</tt><tt class="py-name">proxy_obj</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.Banshee.BansheeAPI.iface
screenlets.plugins.Exaile.ExaileAPI.iface
screenlets.plugins.Listen.ListenAPI.iface
screenlets.plugins.Sonata.SonataAPI.iface" class="py-name" href="#" onclick="return doclink('link-24', 'iface', 'link-12');">iface</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L61"></a><tt class="py-lineno"> 61</tt> <tt class="py-line"> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"> <tt class="py-comment"># The following return Strings</tt> </tt>
<a name="SonataAPI.get_title"></a><div id="SonataAPI.get_title-def"><a name="L63"></a><tt class="py-lineno"> 63</tt> <a class="py-toggle" href="#" id="SonataAPI.get_title-toggle" onclick="return toggle('SonataAPI.get_title');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Sonata.SonataAPI-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="SonataAPI.get_title-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SonataAPI.get_title-expanded"><a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"> <tt class="py-name">song</tt> <tt class="py-op">=</tt> <tt id="link-25" class="py-name"><a title="screenlets.plugins.mpdclient2" class="py-name" href="#" onclick="return doclink('link-25', 'mpdclient2', 'link-0');">mpdclient2</a></tt><tt class="py-op">.</tt><tt id="link-26" 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-26', 'connect', 'link-26');">connect</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">currentsong</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">song</tt><tt class="py-op">.</tt><tt class="py-name">title</tt> </tt>
</div><a name="L66"></a><tt class="py-lineno"> 66</tt> <tt class="py-line"> </tt>
<a name="SonataAPI.get_album"></a><div id="SonataAPI.get_album-def"><a name="L67"></a><tt class="py-lineno"> 67</tt> <a class="py-toggle" href="#" id="SonataAPI.get_album-toggle" onclick="return toggle('SonataAPI.get_album');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Sonata.SonataAPI-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="SonataAPI.get_album-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SonataAPI.get_album-expanded"><a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"> <tt class="py-name">song</tt> <tt class="py-op">=</tt> <tt id="link-27" class="py-name"><a title="screenlets.plugins.mpdclient2" class="py-name" href="#" onclick="return doclink('link-27', 'mpdclient2', 'link-0');">mpdclient2</a></tt><tt class="py-op">.</tt><tt id="link-28" 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-28', 'connect', 'link-26');">connect</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">currentsong</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">song</tt><tt class="py-op">.</tt><tt id="link-29" class="py-name" targets="Variable screenlets.plugins.CoverSearch.CoverSearch.album=screenlets.plugins.CoverSearch.CoverSearch-class.html#album"><a title="screenlets.plugins.CoverSearch.CoverSearch.album" class="py-name" href="#" onclick="return doclink('link-29', 'album', 'link-29');">album</a></tt> </tt>
</div><a name="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"> </tt>
<a name="SonataAPI.get_artist"></a><div id="SonataAPI.get_artist-def"><a name="L71"></a><tt class="py-lineno"> 71</tt> <a class="py-toggle" href="#" id="SonataAPI.get_artist-toggle" onclick="return toggle('SonataAPI.get_artist');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Sonata.SonataAPI-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="SonataAPI.get_artist-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SonataAPI.get_artist-expanded"><a name="L72"></a><tt class="py-lineno"> 72</tt> <tt class="py-line"> <tt class="py-name">song</tt> <tt class="py-op">=</tt> <tt id="link-30" class="py-name"><a title="screenlets.plugins.mpdclient2" class="py-name" href="#" onclick="return doclink('link-30', 'mpdclient2', 'link-0');">mpdclient2</a></tt><tt class="py-op">.</tt><tt id="link-31" 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-31', 'connect', 'link-26');">connect</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">currentsong</tt><tt class="py-op">(</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">song</tt><tt class="py-op">.</tt><tt id="link-32" class="py-name" targets="Variable screenlets.plugins.CoverSearch.CoverSearch.artist=screenlets.plugins.CoverSearch.CoverSearch-class.html#artist"><a title="screenlets.plugins.CoverSearch.CoverSearch.artist" class="py-name" href="#" onclick="return doclink('link-32', 'artist', 'link-32');">artist</a></tt> </tt>
</div><a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"> </tt>
<a name="SonataAPI.get_cover_path"></a><div id="SonataAPI.get_cover_path-def"><a name="L75"></a><tt class="py-lineno"> 75</tt> <a class="py-toggle" href="#" id="SonataAPI.get_cover_path-toggle" onclick="return toggle('SonataAPI.get_cover_path');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Sonata.SonataAPI-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="SonataAPI.get_cover_path-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SonataAPI.get_cover_path-expanded"><a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"> <tt id="link-33" class="py-name"><a title="screenlets.plugins.CoverSearch.CoverSearch.artist" class="py-name" href="#" onclick="return doclink('link-33', 'artist', 'link-32');">artist</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-34" 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-34', 'get_artist', 'link-34');">get_artist</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"> <tt id="link-35" class="py-name"><a title="screenlets.plugins.CoverSearch.CoverSearch.album" class="py-name" href="#" onclick="return doclink('link-35', 'album', 'link-29');">album</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-36" 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-36', 'get_album', 'link-36');">get_album</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt> <tt class="py-line"> <tt class="py-name">filename</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-37" 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-37', 'path', 'link-37');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">expanduser</tt><tt class="py-op">(</tt><tt class="py-string">"~/.covers/"</tt> <tt class="py-op">+</tt> <tt id="link-38" class="py-name"><a title="screenlets.plugins.CoverSearch.CoverSearch.artist" class="py-name" href="#" onclick="return doclink('link-38', 'artist', 'link-32');">artist</a></tt> <tt class="py-op">+</tt> <tt class="py-string">"-"</tt> <tt class="py-op">+</tt> <tt id="link-39" class="py-name"><a title="screenlets.plugins.CoverSearch.CoverSearch.album" class="py-name" href="#" onclick="return doclink('link-39', 'album', 'link-29');">album</a></tt> <tt class="py-op">+</tt> <tt class="py-string">".jpg"</tt><tt class="py-op">)</tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-40" class="py-name"><a title="screenlets.ScreenletTheme.path
screenlets.backend.CachingBackend.path" class="py-name" href="#" onclick="return doclink('link-40', 'path', 'link-37');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">isfile</tt><tt class="py-op">(</tt><tt class="py-name">filename</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">filename</tt> </tt>
<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-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L83"></a><tt class="py-lineno"> 83</tt> <tt class="py-line"> <tt class="py-name">t</tt> <tt class="py-op">=</tt> <tt id="link-41" class="py-name"><a title="screenlets.plugins.mpdclient2" class="py-name" href="#" onclick="return doclink('link-41', 'mpdclient2', 'link-0');">mpdclient2</a></tt><tt class="py-op">.</tt><tt id="link-42" 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-42', 'connect', 'link-26');">connect</a></tt><tt class="py-op">(</tt><tt class="py-op">)</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-name">file</tt> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"> <tt class="py-name">t</tt> <tt class="py-op">=</tt> <tt class="py-name">t</tt><tt class="py-op">.</tt><tt id="link-43" class="py-name" targets="Variable screenlets.plugins.Convert.Converter.replace=screenlets.plugins.Convert.Converter-class.html#replace"><a title="screenlets.plugins.Convert.Converter.replace" class="py-name" href="#" onclick="return doclink('link-43', 'replace', 'link-43');">replace</a></tt><tt class="py-op">(</tt><tt class="py-string">'file://'</tt><tt class="py-op">,</tt><tt class="py-string">''</tt><tt class="py-op">)</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line"> <tt class="py-name">t</tt> <tt class="py-op">=</tt> <tt class="py-name">t</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">'/'</tt><tt class="py-op">)</tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt> <tt class="py-line"> <tt class="py-name">basePath</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
<a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">l</tt> <tt class="py-keyword">in</tt> <tt class="py-name">t</tt><tt class="py-op">:</tt> </tt>
<a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">l</tt><tt class="py-op">.</tt><tt class="py-name">find</tt><tt class="py-op">(</tt><tt class="py-string">'.'</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt> <tt class="py-line"> <tt class="py-name">basePath</tt> <tt class="py-op">=</tt> <tt class="py-name">basePath</tt> <tt class="py-op">+</tt> <tt class="py-name">l</tt> <tt class="py-op">+</tt><tt class="py-string">'/'</tt> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line"> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"> <tt class="py-name">names</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-string">'Album'</tt><tt class="py-op">,</tt> <tt class="py-string">'Cover'</tt><tt class="py-op">,</tt> <tt class="py-string">'Folde'</tt><tt class="py-op">]</tt> </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-44" 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-44', 'x', 'link-44');">x</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">listdir</tt><tt class="py-op">(</tt><tt class="py-name">basePath</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-45" class="py-name"><a title="screenlets.ScreenletTheme.path
screenlets.backend.CachingBackend.path" class="py-name" href="#" onclick="return doclink('link-45', 'path', 'link-37');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">splitext</tt><tt class="py-op">(</tt><tt id="link-46" class="py-name"><a title="screenlets.Notify.x
screenlets.Screenlet.x
screenlets.Tooltip.x" class="py-name" href="#" onclick="return doclink('link-46', 'x', 'link-44');">x</a></tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> <tt class="py-keyword">in</tt> <tt class="py-op">[</tt><tt class="py-string">".jpg"</tt><tt class="py-op">,</tt> <tt class="py-string">".png"</tt><tt class="py-op">]</tt> <tt class="py-keyword">and</tt> <tt class="py-op">(</tt><tt id="link-47" class="py-name"><a title="screenlets.Notify.x
screenlets.Screenlet.x
screenlets.Tooltip.x" class="py-name" href="#" onclick="return doclink('link-47', 'x', 'link-44');">x</a></tt><tt class="py-op">.</tt><tt class="py-name">capitalize</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-number">5</tt><tt class="py-op">]</tt> <tt class="py-keyword">in</tt> <tt class="py-name">names</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"> <tt class="py-name">coverFile</tt> <tt class="py-op">=</tt> <tt class="py-name">basePath</tt> <tt class="py-op">+</tt> <tt id="link-48" class="py-name"><a title="screenlets.Notify.x
screenlets.Screenlet.x
screenlets.Tooltip.x" class="py-name" href="#" onclick="return doclink('link-48', 'x', 'link-44');">x</a></tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">coverFile</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt> <tt class="py-line"> <tt class="py-keyword">except</tt><tt class="py-op">:</tt> <tt class="py-keyword">return</tt> <tt class="py-string">''</tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">''</tt> </tt>
</div><a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt> <tt class="py-line"> <tt class="py-comment"># Returns Boolean</tt> </tt>
<a name="SonataAPI.is_playing"></a><div id="SonataAPI.is_playing-def"><a name="L101"></a><tt class="py-lineno">101</tt> <a class="py-toggle" href="#" id="SonataAPI.is_playing-toggle" onclick="return toggle('SonataAPI.is_playing');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Sonata.SonataAPI-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="SonataAPI.is_playing-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SonataAPI.is_playing-expanded"><a name="L102"></a><tt class="py-lineno">102</tt> <tt class="py-line"> <tt class="py-name">status</tt> <tt class="py-op">=</tt> <tt id="link-49" class="py-name"><a title="screenlets.plugins.mpdclient2" class="py-name" href="#" onclick="return doclink('link-49', 'mpdclient2', 'link-0');">mpdclient2</a></tt><tt class="py-op">.</tt><tt id="link-50" 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-50', 'connect', 'link-26');">connect</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">status</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L103"></a><tt class="py-lineno">103</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt class="py-name">status</tt><tt class="py-op">.</tt><tt class="py-name">state</tt> <tt class="py-op">!=</tt> <tt class="py-string">'stop'</tt><tt class="py-op">)</tt> </tt>
</div><a name="L104"></a><tt class="py-lineno">104</tt> <tt class="py-line"> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt> <tt class="py-line"> <tt class="py-comment"># The following do not return any values</tt> </tt>
<a name="SonataAPI.play_pause"></a><div id="SonataAPI.play_pause-def"><a name="L106"></a><tt class="py-lineno">106</tt> <a class="py-toggle" href="#" id="SonataAPI.play_pause-toggle" onclick="return toggle('SonataAPI.play_pause');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Sonata.SonataAPI-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="SonataAPI.play_pause-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SonataAPI.play_pause-expanded"><a name="L107"></a><tt class="py-lineno">107</tt> <tt class="py-line"> <tt class="py-name">status</tt> <tt class="py-op">=</tt> <tt id="link-51" class="py-name"><a title="screenlets.plugins.mpdclient2" class="py-name" href="#" onclick="return doclink('link-51', 'mpdclient2', 'link-0');">mpdclient2</a></tt><tt class="py-op">.</tt><tt id="link-52" 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-52', 'connect', 'link-26');">connect</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">status</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">status</tt><tt class="py-op">.</tt><tt class="py-name">state</tt> <tt class="py-op">==</tt> <tt class="py-string">'play'</tt><tt class="py-op">:</tt> </tt>
<a name="L109"></a><tt class="py-lineno">109</tt> <tt class="py-line"> <tt id="link-53" class="py-name"><a title="screenlets.plugins.mpdclient2" class="py-name" href="#" onclick="return doclink('link-53', 'mpdclient2', 'link-0');">mpdclient2</a></tt><tt class="py-op">.</tt><tt id="link-54" 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-54', 'connect', 'link-26');">connect</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-55" 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-55', 'pause', 'link-55');">pause</a></tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">status</tt><tt class="py-op">.</tt><tt class="py-name">state</tt> <tt class="py-op">==</tt> <tt class="py-string">'pause'</tt><tt class="py-op">:</tt> </tt>
<a name="L111"></a><tt class="py-lineno">111</tt> <tt class="py-line"> <tt id="link-56" class="py-name"><a title="screenlets.plugins.mpdclient2" class="py-name" href="#" onclick="return doclink('link-56', 'mpdclient2', 'link-0');">mpdclient2</a></tt><tt class="py-op">.</tt><tt id="link-57" 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-57', 'connect', 'link-26');">connect</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-58" class="py-name"><a title="screenlets.plugins.Mplayer.Mplayer.pause" class="py-name" href="#" onclick="return doclink('link-58', 'pause', 'link-55');">pause</a></tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
<a name="L112"></a><tt class="py-lineno">112</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L113"></a><tt class="py-lineno">113</tt> <tt class="py-line"> <tt id="link-59" class="py-name"><a title="screenlets.plugins.mpdclient2" class="py-name" href="#" onclick="return doclink('link-59', 'mpdclient2', 'link-0');">mpdclient2</a></tt><tt class="py-op">.</tt><tt id="link-60" 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-60', 'connect', 'link-26');">connect</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-61" class="py-name" targets="Method screenlets.plugins.Mplayer.Mplayer.play()=screenlets.plugins.Mplayer.Mplayer-class.html#play"><a title="screenlets.plugins.Mplayer.Mplayer.play" class="py-name" href="#" onclick="return doclink('link-61', 'play', 'link-61');">play</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L114"></a><tt class="py-lineno">114</tt> <tt class="py-line"> </tt>
<a name="SonataAPI.next"></a><div id="SonataAPI.next-def"><a name="L115"></a><tt class="py-lineno">115</tt> <a class="py-toggle" href="#" id="SonataAPI.next-toggle" onclick="return toggle('SonataAPI.next');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Sonata.SonataAPI-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="SonataAPI.next-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SonataAPI.next-expanded"><a name="L116"></a><tt class="py-lineno">116</tt> <tt class="py-line"> <tt id="link-62" class="py-name"><a title="screenlets.plugins.mpdclient2" class="py-name" href="#" onclick="return doclink('link-62', 'mpdclient2', 'link-0');">mpdclient2</a></tt><tt class="py-op">.</tt><tt id="link-63" 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-63', 'connect', 'link-26');">connect</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-64" 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-64', 'next', 'link-64');">next</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L117"></a><tt class="py-lineno">117</tt> <tt class="py-line"> </tt>
<a name="SonataAPI.previous"></a><div id="SonataAPI.previous-def"><a name="L118"></a><tt class="py-lineno">118</tt> <a class="py-toggle" href="#" id="SonataAPI.previous-toggle" onclick="return toggle('SonataAPI.previous');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Sonata.SonataAPI-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="SonataAPI.previous-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SonataAPI.previous-expanded"><a name="L119"></a><tt class="py-lineno">119</tt> <tt class="py-line"> <tt id="link-65" class="py-name"><a title="screenlets.plugins.mpdclient2" class="py-name" href="#" onclick="return doclink('link-65', 'mpdclient2', 'link-0');">mpdclient2</a></tt><tt class="py-op">.</tt><tt id="link-66" 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-66', 'connect', 'link-26');">connect</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-67" 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-67', 'previous', 'link-67');">previous</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L120"></a><tt class="py-lineno">120</tt> <tt class="py-line"> </tt>
<a name="SonataAPI.register_change_callback"></a><div id="SonataAPI.register_change_callback-def"><a name="L121"></a><tt class="py-lineno">121</tt> <a class="py-toggle" href="#" id="SonataAPI.register_change_callback-toggle" onclick="return toggle('SonataAPI.register_change_callback');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Sonata.SonataAPI-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="SonataAPI.register_change_callback-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SonataAPI.register_change_callback-expanded"><a name="L122"></a><tt class="py-lineno">122</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-68" 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-68', 'callback_fn', 'link-68');">callback_fn</a></tt> <tt class="py-op">=</tt> <tt class="py-name">fn</tt> </tt>
<a name="L123"></a><tt class="py-lineno">123</tt> <tt class="py-line"> <tt class="py-comment"># Could not find a callback signal for Banshee, so just calling after some time interval</tt> </tt>
<a name="L124"></a><tt class="py-lineno">124</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-69" 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-69', '__timeout', 'link-6');">__timeout</a></tt><tt class="py-op">:</tt> </tt>
<a name="L125"></a><tt class="py-lineno">125</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-70" 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-70', '__timeout', 'link-6');">__timeout</a></tt><tt class="py-op">)</tt> </tt>
<a name="L126"></a><tt class="py-lineno">126</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-71" 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-71', '__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-72" 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-72', '__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-73" 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-73', 'info_changed', 'link-73');">info_changed</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L127"></a><tt class="py-lineno">127</tt> <tt class="py-line"> </tt>
<a name="SonataAPI.info_changed"></a><div id="SonataAPI.info_changed-def"><a name="L128"></a><tt class="py-lineno">128</tt> <a class="py-toggle" href="#" id="SonataAPI.info_changed-toggle" onclick="return toggle('SonataAPI.info_changed');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Sonata.SonataAPI-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="SonataAPI.info_changed-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SonataAPI.info_changed-expanded"><a name="L129"></a><tt class="py-lineno">129</tt> <tt class="py-line"> <tt class="py-comment"># Only call the callback function if Data has changed</tt> </tt>
<a name="L130"></a><tt class="py-lineno">130</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-74" 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-74', '__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">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-75" 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-75', '__timeout', 'link-6');">__timeout</a></tt><tt class="py-op">)</tt> </tt>
<a name="L132"></a><tt class="py-lineno">132</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L133"></a><tt class="py-lineno">133</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-76" 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-76', '__curplaying', 'link-9');">__curplaying</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">None</tt> <tt class="py-keyword">and</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-77" class="py-name" targets="Method screenlets.plugins.Amarok.AmarokAPI.is_playing()=screenlets.plugins.Amarok.AmarokAPI-class.html#is_playing,Method screenlets.plugins.Audacious.AudaciousAPI.is_playing()=screenlets.plugins.Audacious.AudaciousAPI-class.html#is_playing,Method screenlets.plugins.Banshee.BansheeAPI.is_playing()=screenlets.plugins.Banshee.BansheeAPI-class.html#is_playing,Method screenlets.plugins.Exaile.ExaileAPI.is_playing()=screenlets.plugins.Exaile.ExaileAPI-class.html#is_playing,Method screenlets.plugins.GenericPlayer.GenericAPI.is_playing()=screenlets.plugins.GenericPlayer.GenericAPI-class.html#is_playing,Method screenlets.plugins.Juk.JukAPI.is_playing()=screenlets.plugins.Juk.JukAPI-class.html#is_playing,Method screenlets.plugins.Kaffeine.KaffeineAPI.is_playing()=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#is_playing,Method screenlets.plugins.LastFMProxy.LastFMProxyAPI.is_playing()=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#is_playing,Method screenlets.plugins.Listen.ListenAPI.is_playing()=screenlets.plugins.Listen.ListenAPI-class.html#is_playing,Method screenlets.plugins.Quodlibet.QuodlibetAPI.is_playing()=screenlets.plugins.Quodlibet.QuodlibetAPI-class.html#is_playing,Method screenlets.plugins.Rhythmbox.RhythmboxAPI.is_playing()=screenlets.plugins.Rhythmbox.RhythmboxAPI-class.html#is_playing,Method screenlets.plugins.Sonata.SonataAPI.is_playing()=screenlets.plugins.Sonata.SonataAPI-class.html#is_playing,Method screenlets.plugins.Songbird.SongbirdAPI.is_playing()=screenlets.plugins.Songbird.SongbirdAPI-class.html#is_playing"><a title="screenlets.plugins.Amarok.AmarokAPI.is_playing
screenlets.plugins.Audacious.AudaciousAPI.is_playing
screenlets.plugins.Banshee.BansheeAPI.is_playing
screenlets.plugins.Exaile.ExaileAPI.is_playing
screenlets.plugins.GenericPlayer.GenericAPI.is_playing
screenlets.plugins.Juk.JukAPI.is_playing
screenlets.plugins.Kaffeine.KaffeineAPI.is_playing
screenlets.plugins.LastFMProxy.LastFMProxyAPI.is_playing
screenlets.plugins.Listen.ListenAPI.is_playing
screenlets.plugins.Quodlibet.QuodlibetAPI.is_playing
screenlets.plugins.Rhythmbox.RhythmboxAPI.is_playing
screenlets.plugins.Sonata.SonataAPI.is_playing
screenlets.plugins.Songbird.SongbirdAPI.is_playing" class="py-name" href="#" onclick="return doclink('link-77', 'is_playing', 'link-77');">is_playing</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L134"></a><tt class="py-lineno">134</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-78" 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-78', '__curplaying', 'link-9');">__curplaying</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L135"></a><tt class="py-lineno">135</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-79" 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-79', 'callback_fn', 'link-68');">callback_fn</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L136"></a><tt class="py-lineno">136</tt> <tt class="py-line"> </tt>
<a name="L137"></a><tt class="py-lineno">137</tt> <tt class="py-line"> <tt class="py-name">playinguri</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-80" class="py-name" targets="Method screenlets.plugins.Amarok.AmarokAPI.get_title()=screenlets.plugins.Amarok.AmarokAPI-class.html#get_title,Method screenlets.plugins.Audacious.AudaciousAPI.get_title()=screenlets.plugins.Audacious.AudaciousAPI-class.html#get_title,Method screenlets.plugins.Banshee.BansheeAPI.get_title()=screenlets.plugins.Banshee.BansheeAPI-class.html#get_title,Method screenlets.plugins.Exaile.ExaileAPI.get_title()=screenlets.plugins.Exaile.ExaileAPI-class.html#get_title,Method screenlets.plugins.GenericPlayer.GenericAPI.get_title()=screenlets.plugins.GenericPlayer.GenericAPI-class.html#get_title,Method screenlets.plugins.Juk.JukAPI.get_title()=screenlets.plugins.Juk.JukAPI-class.html#get_title,Method screenlets.plugins.Kaffeine.KaffeineAPI.get_title()=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#get_title,Method screenlets.plugins.LastFMProxy.LastFMProxyAPI.get_title()=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#get_title,Method screenlets.plugins.Listen.ListenAPI.get_title()=screenlets.plugins.Listen.ListenAPI-class.html#get_title,Method screenlets.plugins.Quodlibet.QuodlibetAPI.get_title()=screenlets.plugins.Quodlibet.QuodlibetAPI-class.html#get_title,Method screenlets.plugins.Rhythmbox.RhythmboxAPI.get_title()=screenlets.plugins.Rhythmbox.RhythmboxAPI-class.html#get_title,Method screenlets.plugins.Sonata.SonataAPI.get_title()=screenlets.plugins.Sonata.SonataAPI-class.html#get_title,Method screenlets.plugins.Songbird.SongbirdAPI.get_title()=screenlets.plugins.Songbird.SongbirdAPI-class.html#get_title"><a title="screenlets.plugins.Amarok.AmarokAPI.get_title
screenlets.plugins.Audacious.AudaciousAPI.get_title
screenlets.plugins.Banshee.BansheeAPI.get_title
screenlets.plugins.Exaile.ExaileAPI.get_title
screenlets.plugins.GenericPlayer.GenericAPI.get_title
screenlets.plugins.Juk.JukAPI.get_title
screenlets.plugins.Kaffeine.KaffeineAPI.get_title
screenlets.plugins.LastFMProxy.LastFMProxyAPI.get_title
screenlets.plugins.Listen.ListenAPI.get_title
screenlets.plugins.Quodlibet.QuodlibetAPI.get_title
screenlets.plugins.Rhythmbox.RhythmboxAPI.get_title
screenlets.plugins.Sonata.SonataAPI.get_title
screenlets.plugins.Songbird.SongbirdAPI.get_title" class="py-name" href="#" onclick="return doclink('link-80', 'get_title', 'link-80');">get_title</a></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-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-81" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.is_playing
screenlets.plugins.Audacious.AudaciousAPI.is_playing
screenlets.plugins.Banshee.BansheeAPI.is_playing
screenlets.plugins.Exaile.ExaileAPI.is_playing
screenlets.plugins.GenericPlayer.GenericAPI.is_playing
screenlets.plugins.Juk.JukAPI.is_playing
screenlets.plugins.Kaffeine.KaffeineAPI.is_playing
screenlets.plugins.LastFMProxy.LastFMProxyAPI.is_playing
screenlets.plugins.Listen.ListenAPI.is_playing
screenlets.plugins.Quodlibet.QuodlibetAPI.is_playing
screenlets.plugins.Rhythmbox.RhythmboxAPI.is_playing
screenlets.plugins.Sonata.SonataAPI.is_playing
screenlets.plugins.Songbird.SongbirdAPI.is_playing" class="py-name" href="#" onclick="return doclink('link-81', 'is_playing', 'link-77');">is_playing</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-82" 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-82', '__curplaying', 'link-9');">__curplaying</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">playinguri</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-83" 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-83', '__curplaying', 'link-9');">__curplaying</a></tt> <tt class="py-op">=</tt> <tt class="py-name">playinguri</tt> </tt>
<a name="L140"></a><tt class="py-lineno">140</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-84" 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-84', 'callback_fn', 'link-68');">callback_fn</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L141"></a><tt class="py-lineno">141</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-85" 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-85', '__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-86" 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-86', '__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-87" 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-87', 'info_changed', 'link-73');">info_changed</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-keyword">except</tt><tt class="py-op">:</tt> </tt>
<a name="L143"></a><tt class="py-lineno">143</tt> <tt class="py-line"> <tt class="py-comment"># The player exited ? call callback function</tt> </tt>
<a name="L144"></a><tt class="py-lineno">144</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-88" 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-88', 'callback_fn', 'link-68');">callback_fn</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L145"></a><tt class="py-lineno">145</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> <a
href="screenlets-module.html">Home</a> </th>
<!-- Tree link -->
<th> <a
href="module-tree.html">Trees</a> </th>
<!-- Index link -->
<th> <a
href="identifier-index.html">Indices</a> </th>
<!-- Help link -->
<th> <a
href="help.html">Help</a> </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:27 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>
|