101
101
screenlets.plugins.Sonata.SonataAPI.__name__
102
102
screenlets.plugins.Songbird.SongbirdAPI.__name__
103
103
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">'Audacious API'</tt> </tt>
104
<a name="L20"></a><tt class="py-lineno"> 20</tt> <tt class="py-line"> <tt id="link-4" class="py-name" targets="Variable screenlets.plugins.Amarok.AmarokAPI.__version__=screenlets.plugins.Amarok.AmarokAPI-class.html#__version__,Variable screenlets.plugins.Audacious.AudaciousAPI.__version__=screenlets.plugins.Audacious.AudaciousAPI-class.html#__version__,Variable screenlets.plugins.Banshee.BansheeAPI.__version__=screenlets.plugins.Banshee.BansheeAPI-class.html#__version__,Variable screenlets.plugins.Exaile.ExaileAPI.__version__=screenlets.plugins.Exaile.ExaileAPI-class.html#__version__,Variable screenlets.plugins.GenericPlayer.GenericAPI.__version__=screenlets.plugins.GenericPlayer.GenericAPI-class.html#__version__,Variable screenlets.plugins.Juk.JukAPI.__version__=screenlets.plugins.Juk.JukAPI-class.html#__version__,Variable screenlets.plugins.Kaffeine.KaffeineAPI.__version__=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#__version__,Variable screenlets.plugins.LastFMProxy.LastFMProxyAPI.__version__=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#__version__,Variable screenlets.plugins.Listen.ListenAPI.__version__=screenlets.plugins.Listen.ListenAPI-class.html#__version__,Variable screenlets.plugins.Quodlibet.QuodlibetAPI.__version__=screenlets.plugins.Quodlibet.QuodlibetAPI-class.html#__version__,Variable screenlets.plugins.Rhythmbox.RhythmboxAPI.__version__=screenlets.plugins.Rhythmbox.RhythmboxAPI-class.html#__version__,Variable screenlets.plugins.Sonata.SonataAPI.__version__=screenlets.plugins.Sonata.SonataAPI-class.html#__version__,Variable screenlets.plugins.Songbird.SongbirdAPI.__version__=screenlets.plugins.Songbird.SongbirdAPI-class.html#__version__"><a title="screenlets.plugins.Amarok.AmarokAPI.__version__
105
screenlets.plugins.Audacious.AudaciousAPI.__version__
106
screenlets.plugins.Banshee.BansheeAPI.__version__
107
screenlets.plugins.Exaile.ExaileAPI.__version__
108
screenlets.plugins.GenericPlayer.GenericAPI.__version__
109
screenlets.plugins.Juk.JukAPI.__version__
110
screenlets.plugins.Kaffeine.KaffeineAPI.__version__
111
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__version__
112
screenlets.plugins.Listen.ListenAPI.__version__
113
screenlets.plugins.Quodlibet.QuodlibetAPI.__version__
114
screenlets.plugins.Rhythmbox.RhythmboxAPI.__version__
115
screenlets.plugins.Sonata.SonataAPI.__version__
116
screenlets.plugins.Songbird.SongbirdAPI.__version__" class="py-name" href="#" onclick="return doclink('link-4', '__version__', 'link-4');">__version__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'0.0'</tt> </tt>
117
<a name="L21"></a><tt class="py-lineno"> 21</tt> <tt class="py-line"> <tt id="link-5" class="py-name" targets="Variable screenlets.plugins.Amarok.AmarokAPI.__author__=screenlets.plugins.Amarok.AmarokAPI-class.html#__author__,Variable screenlets.plugins.Audacious.AudaciousAPI.__author__=screenlets.plugins.Audacious.AudaciousAPI-class.html#__author__,Variable screenlets.plugins.Banshee.BansheeAPI.__author__=screenlets.plugins.Banshee.BansheeAPI-class.html#__author__,Variable screenlets.plugins.Exaile.ExaileAPI.__author__=screenlets.plugins.Exaile.ExaileAPI-class.html#__author__,Variable screenlets.plugins.GenericPlayer.GenericAPI.__author__=screenlets.plugins.GenericPlayer.GenericAPI-class.html#__author__,Variable screenlets.plugins.Juk.JukAPI.__author__=screenlets.plugins.Juk.JukAPI-class.html#__author__,Variable screenlets.plugins.Kaffeine.KaffeineAPI.__author__=screenlets.plugins.Kaffeine.KaffeineAPI-class.html#__author__,Variable screenlets.plugins.LastFMProxy.LastFMProxyAPI.__author__=screenlets.plugins.LastFMProxy.LastFMProxyAPI-class.html#__author__,Variable screenlets.plugins.Listen.ListenAPI.__author__=screenlets.plugins.Listen.ListenAPI-class.html#__author__,Variable screenlets.plugins.Quodlibet.QuodlibetAPI.__author__=screenlets.plugins.Quodlibet.QuodlibetAPI-class.html#__author__,Variable screenlets.plugins.Rhythmbox.RhythmboxAPI.__author__=screenlets.plugins.Rhythmbox.RhythmboxAPI-class.html#__author__,Variable screenlets.plugins.Sonata.SonataAPI.__author__=screenlets.plugins.Sonata.SonataAPI-class.html#__author__,Variable screenlets.plugins.Songbird.SongbirdAPI.__author__=screenlets.plugins.Songbird.SongbirdAPI-class.html#__author__"><a title="screenlets.plugins.Amarok.AmarokAPI.__author__
118
screenlets.plugins.Audacious.AudaciousAPI.__author__
119
screenlets.plugins.Banshee.BansheeAPI.__author__
120
screenlets.plugins.Exaile.ExaileAPI.__author__
121
screenlets.plugins.GenericPlayer.GenericAPI.__author__
122
screenlets.plugins.Juk.JukAPI.__author__
123
screenlets.plugins.Kaffeine.KaffeineAPI.__author__
124
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__author__
125
screenlets.plugins.Listen.ListenAPI.__author__
126
screenlets.plugins.Quodlibet.QuodlibetAPI.__author__
127
screenlets.plugins.Rhythmbox.RhythmboxAPI.__author__
128
screenlets.plugins.Sonata.SonataAPI.__author__
129
screenlets.plugins.Songbird.SongbirdAPI.__author__" class="py-name" href="#" onclick="return doclink('link-5', '__author__', 'link-5');">__author__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'Whise (Helder Fraga)'</tt> </tt>
130
<a name="L22"></a><tt class="py-lineno"> 22</tt> <tt class="py-line"> <tt id="link-6" 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__
104
<a name="L20"></a><tt class="py-lineno"> 20</tt> <tt class="py-line"> <tt class="py-name">__version__</tt> <tt class="py-op">=</tt> <tt class="py-string">'0.0'</tt> </tt>
105
<a name="L21"></a><tt class="py-lineno"> 21</tt> <tt class="py-line"> <tt class="py-name">__author__</tt> <tt class="py-op">=</tt> <tt class="py-string">'Whise (Helder Fraga)'</tt> </tt>
106
<a name="L22"></a><tt class="py-lineno"> 22</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__
131
107
screenlets.plugins.Amarok.AmarokAPI.__desc__
132
108
screenlets.plugins.Audacious.AudaciousAPI.__desc__
133
109
screenlets.plugins.Banshee.BansheeAPI.__desc__
195
171
screenlets.plugins.Kaffeine.KaffeineAPI.__curplaying
196
172
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__curplaying
197
173
screenlets.plugins.Listen.ListenAPI.__curplaying
198
screenlets.plugins.Sonata.SonataAPI.__curplaying" class="py-name" href="#" onclick="return doclink('link-11', '__curplaying', 'link-11');">__curplaying</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
174
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>
199
175
<a name="L31"></a><tt class="py-lineno"> 31</tt> <tt class="py-line"> </tt>
200
176
<a name="L32"></a><tt class="py-lineno"> 32</tt> <tt class="py-line"> </tt>
201
177
<a name="AudaciousAPI.__init__"></a><div id="AudaciousAPI.__init__-def"><a name="L33"></a><tt class="py-lineno"> 33</tt> <a class="py-toggle" href="#" id="AudaciousAPI.__init__-toggle" onclick="return toggle('AudaciousAPI.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Audacious.AudaciousAPI-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>
202
178
</div><div id="AudaciousAPI.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="AudaciousAPI.__init__-expanded"><a name="L34"></a><tt class="py-lineno"> 34</tt> <tt class="py-line"> <tt class="py-comment"># Ignore the session_bus. Initialize a dcop connection</tt> </tt>
203
<a name="L35"></a><tt class="py-lineno"> 35</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt id="link-12" class="py-name"><a title="screenlets.plugins.GenericPlayer.GenericAPI" class="py-name" href="#" onclick="return doclink('link-12', 'GenericAPI', 'link-1');">GenericAPI</a></tt><tt class="py-op">.</tt><tt id="link-13" 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.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.AccountOption.__init__()=screenlets.options.AccountOption-class.html#__init__,Method screenlets.options.EditableOptions.__init__()=screenlets.options.EditableOptions-class.html#__init__,Method screenlets.options.FileOption.__init__()=screenlets.options.FileOption-class.html#__init__,Method screenlets.options.FloatOption.__init__()=screenlets.options.FloatOption-class.html#__init__,Method screenlets.options.IntOption.__init__()=screenlets.options.IntOption-class.html#__init__,Method screenlets.options.ListOptionDialog.__init__()=screenlets.options.ListOptionDialog-class.html#__init__,Method screenlets.options.Option.__init__()=screenlets.options.Option-class.html#__init__,Method screenlets.options.OptionsDialog.__init__()=screenlets.options.OptionsDialog-class.html#__init__,Method screenlets.options.StringOption.__init__()=screenlets.options.StringOption-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.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.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.Notifier.__init__()=screenlets.utils.Notifier-class.html#__init__,Method screenlets.utils.ScreenletInfo.__init__()=screenlets.utils.ScreenletInfo-class.html#__init__"><a title="screenlets.Notify.__init__
179
<a name="L35"></a><tt class="py-lineno"> 35</tt> <tt class="py-line"> <tt id="link-10" class="py-name"><a title="screenlets.plugins.GenericPlayer.GenericAPI" class="py-name" href="#" onclick="return doclink('link-10', 'GenericAPI', 'link-1');">GenericAPI</a></tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Method screenlets.Notify.__init__()=screenlets.Notify-class.html#__init__,Method screenlets.Screenlet.__init__()=screenlets.Screenlet-class.html#__init__,Method screenlets.ScreenletTheme.__init__()=screenlets.ScreenletTheme-class.html#__init__,Method screenlets.ShapedWidget.__init__()=screenlets.ShapedWidget-class.html#__init__,Method screenlets.Tooltip.__init__()=screenlets.Tooltip-class.html#__init__,Method screenlets.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.AccountOption.__init__()=screenlets.options.AccountOption-class.html#__init__,Method screenlets.options.EditableOptions.__init__()=screenlets.options.EditableOptions-class.html#__init__,Method screenlets.options.FileOption.__init__()=screenlets.options.FileOption-class.html#__init__,Method screenlets.options.FloatOption.__init__()=screenlets.options.FloatOption-class.html#__init__,Method screenlets.options.IntOption.__init__()=screenlets.options.IntOption-class.html#__init__,Method screenlets.options.ListOptionDialog.__init__()=screenlets.options.ListOptionDialog-class.html#__init__,Method screenlets.options.Option.__init__()=screenlets.options.Option-class.html#__init__,Method screenlets.options.OptionsDialog.__init__()=screenlets.options.OptionsDialog-class.html#__init__,Method screenlets.options.StringOption.__init__()=screenlets.options.StringOption-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.Notifier.__init__()=screenlets.utils.Notifier-class.html#__init__,Method screenlets.utils.ScreenletInfo.__init__()=screenlets.utils.ScreenletInfo-class.html#__init__"><a title="screenlets.Notify.__init__
204
180
screenlets.Screenlet.__init__
205
181
screenlets.ScreenletTheme.__init__
206
182
screenlets.ShapedWidget.__init__
269
241
screenlets.utils.FileMonitor.__init__
270
242
screenlets.utils.IniReader.__init__
271
243
screenlets.utils.Notifier.__init__
272
screenlets.utils.ScreenletInfo.__init__" class="py-name" href="#" onclick="return doclink('link-13', '__init__', 'link-13');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-14" 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-14', 'session_bus', 'link-14');">session_bus</a></tt><tt class="py-op">)</tt> </tt>
244
screenlets.utils.ScreenletInfo.__init__" class="py-name" href="#" onclick="return doclink('link-11', '__init__', 'link-11');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-12" class="py-name" targets="Variable screenlets.plugins.GenericPlayer.GenericAPI.session_bus=screenlets.plugins.GenericPlayer.GenericAPI-class.html#session_bus"><a title="screenlets.plugins.GenericPlayer.GenericAPI.session_bus" class="py-name" href="#" onclick="return doclink('link-12', 'session_bus', 'link-12');">session_bus</a></tt><tt class="py-op">)</tt> </tt>
273
245
</div><a name="L36"></a><tt class="py-lineno"> 36</tt> <tt class="py-line"> </tt>
274
246
<a name="L37"></a><tt class="py-lineno"> 37</tt> <tt class="py-line"> <tt class="py-comment"># Check if the player is active : Returns Boolean</tt> </tt>
275
<a name="L38"></a><tt class="py-lineno"> 38</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># A handle to the dbus interface is passed in : doesn't need to be used</tt> </tt>
276
<a name="L39"></a><tt class="py-lineno"> 39</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># if there are other ways of checking this (like dcop in amarok)</tt> </tt>
277
<a name="AudaciousAPI.is_active"></a><div id="AudaciousAPI.is_active-def"><a name="L40"></a><tt class="py-lineno"> 40</tt> <a class="py-toggle" href="#" id="AudaciousAPI.is_active-toggle" onclick="return toggle('AudaciousAPI.is_active');">-</a><tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Audacious.AudaciousAPI-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>
247
<a name="L38"></a><tt class="py-lineno"> 38</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>
248
<a name="L39"></a><tt class="py-lineno"> 39</tt> <tt class="py-line"> <tt class="py-comment"># if there are other ways of checking this (like dcop in amarok)</tt> </tt>
249
<a name="AudaciousAPI.is_active"></a><div id="AudaciousAPI.is_active-def"><a name="L40"></a><tt class="py-lineno"> 40</tt> <a class="py-toggle" href="#" id="AudaciousAPI.is_active-toggle" onclick="return toggle('AudaciousAPI.is_active');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Audacious.AudaciousAPI-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>
278
250
</div><div id="AudaciousAPI.is_active-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="AudaciousAPI.is_active-expanded"><a name="L41"></a><tt class="py-lineno"> 41</tt> <tt class="py-line"> <tt class="py-name">proc</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">popen</tt><tt class="py-op">(</tt><tt class="py-string">"""ps axo "%p,%a" | grep "audacious" | grep -v grep|cut -d',' -f1"""</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">read</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
279
251
<a name="L42"></a><tt class="py-lineno"> 42</tt> <tt class="py-line"> <tt class="py-name">procs</tt> <tt class="py-op">=</tt> <tt class="py-name">proc</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">'\n'</tt><tt class="py-op">)</tt> </tt>
280
252
<a name="L43"></a><tt class="py-lineno"> 43</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">procs</tt><tt class="py-op">)</tt> <tt class="py-op">></tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
285
257
</div><div id="AudaciousAPI.connect-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="AudaciousAPI.connect-expanded"><a name="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt>
286
258
</div><a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"> </tt>
287
259
<a name="L50"></a><tt class="py-lineno"> 50</tt> <tt class="py-line"> <tt class="py-comment"># The following return Strings</tt> </tt>
288
<a name="AudaciousAPI.get_title"></a><div id="AudaciousAPI.get_title-def"><a name="L51"></a><tt class="py-lineno"> 51</tt> <a class="py-toggle" href="#" id="AudaciousAPI.get_title-toggle" onclick="return toggle('AudaciousAPI.get_title');">-</a><tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Audacious.AudaciousAPI-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>
260
<a name="AudaciousAPI.get_title"></a><div id="AudaciousAPI.get_title-def"><a name="L51"></a><tt class="py-lineno"> 51</tt> <a class="py-toggle" href="#" id="AudaciousAPI.get_title-toggle" onclick="return toggle('AudaciousAPI.get_title');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Audacious.AudaciousAPI-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>
289
261
</div><div id="AudaciousAPI.get_title-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="AudaciousAPI.get_title-expanded"><a name="L52"></a><tt class="py-lineno"> 52</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
290
<a name="L53"></a><tt class="py-lineno"> 53</tt> <tt class="py-line"> <tt class="py-name">a</tt> <tt class="py-op">=</tt> <tt id="link-15" class="py-name"><a title="screenlets.plugins.mpdclient2.commands" class="py-name" href="#" onclick="return doclink('link-15', 'commands', 'link-2');">commands</a></tt><tt class="py-op">.</tt><tt class="py-name">getoutput</tt><tt class="py-op">(</tt><tt class="py-string">'audtool --current-song'</tt><tt class="py-op">)</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 class="py-op">[</tt><tt class="py-number">2</tt><tt class="py-op">]</tt> </tt>
262
<a name="L53"></a><tt class="py-lineno"> 53</tt> <tt class="py-line"> <tt class="py-name">a</tt> <tt class="py-op">=</tt> <tt id="link-13" class="py-name"><a title="screenlets.plugins.mpdclient2.commands" class="py-name" href="#" onclick="return doclink('link-13', 'commands', 'link-2');">commands</a></tt><tt class="py-op">.</tt><tt class="py-name">getoutput</tt><tt class="py-op">(</tt><tt class="py-string">'audtool --current-song'</tt><tt class="py-op">)</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 class="py-op">[</tt><tt class="py-number">2</tt><tt class="py-op">]</tt> </tt>
291
263
<a name="L54"></a><tt class="py-lineno"> 54</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">a</tt> </tt>
292
264
<a name="L55"></a><tt class="py-lineno"> 55</tt> <tt class="py-line"> <tt class="py-keyword">except</tt><tt class="py-op">:</tt> </tt>
293
265
<a name="L56"></a><tt class="py-lineno"> 56</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">''</tt> </tt>
294
266
</div><a name="L57"></a><tt class="py-lineno"> 57</tt> <tt class="py-line"> </tt>
295
267
<a name="AudaciousAPI.get_album"></a><div id="AudaciousAPI.get_album-def"><a name="L58"></a><tt class="py-lineno"> 58</tt> <a class="py-toggle" href="#" id="AudaciousAPI.get_album-toggle" onclick="return toggle('AudaciousAPI.get_album');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Audacious.AudaciousAPI-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>
296
268
</div><div id="AudaciousAPI.get_album-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="AudaciousAPI.get_album-expanded"><a name="L59"></a><tt class="py-lineno"> 59</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
297
<a name="L60"></a><tt class="py-lineno"> 60</tt> <tt class="py-line"> <tt class="py-name">a</tt> <tt class="py-op">=</tt> <tt id="link-16" class="py-name"><a title="screenlets.plugins.mpdclient2.commands" class="py-name" href="#" onclick="return doclink('link-16', 'commands', 'link-2');">commands</a></tt><tt class="py-op">.</tt><tt class="py-name">getoutput</tt><tt class="py-op">(</tt><tt class="py-string">'audtool --current-song'</tt><tt class="py-op">)</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 class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> </tt>
269
<a name="L60"></a><tt class="py-lineno"> 60</tt> <tt class="py-line"> <tt class="py-name">a</tt> <tt class="py-op">=</tt> <tt id="link-14" class="py-name"><a title="screenlets.plugins.mpdclient2.commands" class="py-name" href="#" onclick="return doclink('link-14', 'commands', 'link-2');">commands</a></tt><tt class="py-op">.</tt><tt class="py-name">getoutput</tt><tt class="py-op">(</tt><tt class="py-string">'audtool --current-song'</tt><tt class="py-op">)</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 class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> </tt>
298
270
<a name="L61"></a><tt class="py-lineno"> 61</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">a</tt> </tt>
299
271
<a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"> <tt class="py-keyword">except</tt><tt class="py-op">:</tt> </tt>
300
272
<a name="L63"></a><tt class="py-lineno"> 63</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">''</tt> </tt>
301
273
</div><a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"> </tt>
302
274
<a name="AudaciousAPI.get_artist"></a><div id="AudaciousAPI.get_artist-def"><a name="L65"></a><tt class="py-lineno"> 65</tt> <a class="py-toggle" href="#" id="AudaciousAPI.get_artist-toggle" onclick="return toggle('AudaciousAPI.get_artist');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Audacious.AudaciousAPI-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>
303
275
</div><div id="AudaciousAPI.get_artist-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="AudaciousAPI.get_artist-expanded"><a name="L66"></a><tt class="py-lineno"> 66</tt> <tt class="py-line"> <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
304
<a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"> <tt class="py-name">a</tt> <tt class="py-op">=</tt> <tt id="link-17" class="py-name"><a title="screenlets.plugins.mpdclient2.commands" class="py-name" href="#" onclick="return doclink('link-17', 'commands', 'link-2');">commands</a></tt><tt class="py-op">.</tt><tt class="py-name">getoutput</tt><tt class="py-op">(</tt><tt class="py-string">'audtool --current-song'</tt><tt class="py-op">)</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 class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt>
276
<a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"> <tt class="py-name">a</tt> <tt class="py-op">=</tt> <tt id="link-15" class="py-name"><a title="screenlets.plugins.mpdclient2.commands" class="py-name" href="#" onclick="return doclink('link-15', 'commands', 'link-2');">commands</a></tt><tt class="py-op">.</tt><tt class="py-name">getoutput</tt><tt class="py-op">(</tt><tt class="py-string">'audtool --current-song'</tt><tt class="py-op">)</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 class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt>
305
277
<a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">a</tt> </tt>
306
278
<a name="L69"></a><tt class="py-lineno"> 69</tt> <tt class="py-line"> <tt class="py-keyword">except</tt><tt class="py-op">:</tt> </tt>
307
279
<a name="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">''</tt> </tt>
318
290
<a name="L81"></a><tt class="py-lineno"> 81</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>
319
291
<a name="L82"></a><tt class="py-lineno"> 82</tt> <tt class="py-line"> </tt>
320
292
<a name="L83"></a><tt class="py-lineno"> 83</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>
321
<a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-20" 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
322
screenlets.Screenlet.x
323
screenlets.Tooltip.x" class="py-name" href="#" onclick="return doclink('link-20', 'x', 'link-20');">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>
324
<a name="L85"></a><tt class="py-lineno"> 85</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-21" 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
325
screenlets.backend.CachingBackend.path" class="py-name" href="#" onclick="return doclink('link-21', 'path', 'link-21');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">splitext</tt><tt class="py-op">(</tt><tt id="link-22" class="py-name"><a title="screenlets.Notify.x
326
screenlets.Screenlet.x
327
screenlets.Tooltip.x" class="py-name" href="#" onclick="return doclink('link-22', 'x', 'link-20');">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-23" class="py-name"><a title="screenlets.Notify.x
328
screenlets.Screenlet.x
329
screenlets.Tooltip.x" class="py-name" href="#" onclick="return doclink('link-23', 'x', 'link-20');">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>
330
<a name="L86"></a><tt class="py-lineno"> 86</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-24" class="py-name"><a title="screenlets.Notify.x
331
screenlets.Screenlet.x
332
screenlets.Tooltip.x" class="py-name" href="#" onclick="return doclink('link-24', 'x', 'link-20');">x</a></tt> </tt>
293
<a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-18" class="py-name" targets="Variable screenlets.Notify.x=screenlets.Notify-class.html#x,Variable screenlets.Screenlet.x=screenlets.Screenlet-class.html#x,Variable screenlets.Tooltip.x=screenlets.Tooltip-class.html#x"><a title="screenlets.Notify.x
294
screenlets.Screenlet.x
295
screenlets.Tooltip.x" class="py-name" href="#" onclick="return doclink('link-18', 'x', 'link-18');">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>
296
<a name="L85"></a><tt class="py-lineno"> 85</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-19" 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
297
screenlets.backend.CachingBackend.path" class="py-name" href="#" onclick="return doclink('link-19', 'path', 'link-19');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">splitext</tt><tt class="py-op">(</tt><tt id="link-20" class="py-name"><a title="screenlets.Notify.x
298
screenlets.Screenlet.x
299
screenlets.Tooltip.x" class="py-name" href="#" onclick="return doclink('link-20', 'x', 'link-18');">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-21" class="py-name"><a title="screenlets.Notify.x
300
screenlets.Screenlet.x
301
screenlets.Tooltip.x" class="py-name" href="#" onclick="return doclink('link-21', 'x', 'link-18');">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>
302
<a name="L86"></a><tt class="py-lineno"> 86</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-22" class="py-name"><a title="screenlets.Notify.x
303
screenlets.Screenlet.x
304
screenlets.Tooltip.x" class="py-name" href="#" onclick="return doclink('link-22', 'x', 'link-18');">x</a></tt> </tt>
333
305
<a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">coverFile</tt> </tt>
334
306
<a name="L88"></a><tt class="py-lineno"> 88</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>
335
307
<a name="L89"></a><tt class="py-lineno"> 89</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">''</tt> </tt>
336
308
</div><a name="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line"><tt class="py-comment">#path</tt> </tt>
337
<a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt>
309
<a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"> </tt>
338
310
<a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"> <tt class="py-comment"># Returns Boolean</tt> </tt>
339
<a name="AudaciousAPI.is_playing"></a><div id="AudaciousAPI.is_playing-def"><a name="L93"></a><tt class="py-lineno"> 93</tt> <a class="py-toggle" href="#" id="AudaciousAPI.is_playing-toggle" onclick="return toggle('AudaciousAPI.is_playing');">-</a><tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Audacious.AudaciousAPI-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>
311
<a name="AudaciousAPI.is_playing"></a><div id="AudaciousAPI.is_playing-def"><a name="L93"></a><tt class="py-lineno"> 93</tt> <a class="py-toggle" href="#" id="AudaciousAPI.is_playing-toggle" onclick="return toggle('AudaciousAPI.is_playing');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Audacious.AudaciousAPI-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>
340
312
</div><div id="AudaciousAPI.is_playing-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="AudaciousAPI.is_playing-expanded"><a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">True</tt> </tt>
341
313
</div><a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"> </tt>
342
314
<a name="L96"></a><tt class="py-lineno"> 96</tt> <tt class="py-line"> <tt class="py-comment"># The following do not return any values</tt> </tt>
343
<a name="AudaciousAPI.play_pause"></a><div id="AudaciousAPI.play_pause-def"><a name="L97"></a><tt class="py-lineno"> 97</tt> <a class="py-toggle" href="#" id="AudaciousAPI.play_pause-toggle" onclick="return toggle('AudaciousAPI.play_pause');">-</a><tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Audacious.AudaciousAPI-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>
315
<a name="AudaciousAPI.play_pause"></a><div id="AudaciousAPI.play_pause-def"><a name="L97"></a><tt class="py-lineno"> 97</tt> <a class="py-toggle" href="#" id="AudaciousAPI.play_pause-toggle" onclick="return toggle('AudaciousAPI.play_pause');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Audacious.AudaciousAPI-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>
344
316
</div><div id="AudaciousAPI.play_pause-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="AudaciousAPI.play_pause-expanded"><a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">system</tt><tt class="py-op">(</tt><tt class="py-string">'audtool --playback-playpause &'</tt><tt class="py-op">)</tt> </tt>
345
317
</div><a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"> </tt>
346
318
<a name="AudaciousAPI.next"></a><div id="AudaciousAPI.next-def"><a name="L100"></a><tt class="py-lineno">100</tt> <a class="py-toggle" href="#" id="AudaciousAPI.next-toggle" onclick="return toggle('AudaciousAPI.next');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Audacious.AudaciousAPI-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>
350
322
</div><div id="AudaciousAPI.previous-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="AudaciousAPI.previous-expanded"><a name="L104"></a><tt class="py-lineno">104</tt> <tt class="py-line"> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">system</tt><tt class="py-op">(</tt><tt class="py-string">'audtool --playlist-reverse &'</tt><tt class="py-op">)</tt> </tt>
351
323
</div><a name="L105"></a><tt class="py-lineno">105</tt> <tt class="py-line"> </tt>
352
324
<a name="AudaciousAPI.register_change_callback"></a><div id="AudaciousAPI.register_change_callback-def"><a name="L106"></a><tt class="py-lineno">106</tt> <a class="py-toggle" href="#" id="AudaciousAPI.register_change_callback-toggle" onclick="return toggle('AudaciousAPI.register_change_callback');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Audacious.AudaciousAPI-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>
353
</div><div id="AudaciousAPI.register_change_callback-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="AudaciousAPI.register_change_callback-expanded"><a name="L107"></a><tt class="py-lineno">107</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-25" 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
325
</div><div id="AudaciousAPI.register_change_callback-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="AudaciousAPI.register_change_callback-expanded"><a name="L107"></a><tt class="py-lineno">107</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-23" 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
354
326
screenlets.plugins.Quodlibet.QuodlibetAPI.callback_fn
355
327
screenlets.plugins.Rhythmbox.RhythmboxAPI.callback_fn
356
screenlets.plugins.Songbird.SongbirdAPI.callback_fn" class="py-name" href="#" onclick="return doclink('link-25', 'callback_fn', 'link-25');">callback_fn</a></tt> <tt class="py-op">=</tt> <tt class="py-name">fn</tt> </tt>
328
screenlets.plugins.Songbird.SongbirdAPI.callback_fn" class="py-name" href="#" onclick="return doclink('link-23', 'callback_fn', 'link-23');">callback_fn</a></tt> <tt class="py-op">=</tt> <tt class="py-name">fn</tt> </tt>
357
329
<a name="L108"></a><tt class="py-lineno">108</tt> <tt class="py-line"> <tt class="py-comment"># Could not find a callback signal for Listen, so just calling after some time interval</tt> </tt>
358
<a name="L109"></a><tt class="py-lineno">109</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name"><a title="screenlets.Notify.__timeout
359
screenlets.Tooltip.__timeout
360
screenlets.backend.CachingBackend.__timeout
361
screenlets.plugins.Amarok.AmarokAPI.__timeout
362
screenlets.plugins.Audacious.AudaciousAPI.__timeout
363
screenlets.plugins.Banshee.BansheeAPI.__timeout
364
screenlets.plugins.Exaile.ExaileAPI.__timeout
365
screenlets.plugins.Juk.JukAPI.__timeout
366
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
367
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
368
screenlets.plugins.Listen.ListenAPI.__timeout
369
screenlets.plugins.Sonata.SonataAPI.__timeout
370
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-26', '__timeout', 'link-8');">__timeout</a></tt><tt class="py-op">:</tt> </tt>
371
<a name="L110"></a><tt class="py-lineno">110</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-27" class="py-name"><a title="screenlets.Notify.__timeout
372
screenlets.Tooltip.__timeout
373
screenlets.backend.CachingBackend.__timeout
374
screenlets.plugins.Amarok.AmarokAPI.__timeout
375
screenlets.plugins.Audacious.AudaciousAPI.__timeout
376
screenlets.plugins.Banshee.BansheeAPI.__timeout
377
screenlets.plugins.Exaile.ExaileAPI.__timeout
378
screenlets.plugins.Juk.JukAPI.__timeout
379
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
380
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
381
screenlets.plugins.Listen.ListenAPI.__timeout
382
screenlets.plugins.Sonata.SonataAPI.__timeout
383
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-27', '__timeout', 'link-8');">__timeout</a></tt><tt class="py-op">)</tt> </tt>
384
<a name="L111"></a><tt class="py-lineno">111</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-28" class="py-name"><a title="screenlets.Notify.__timeout
385
screenlets.Tooltip.__timeout
386
screenlets.backend.CachingBackend.__timeout
387
screenlets.plugins.Amarok.AmarokAPI.__timeout
388
screenlets.plugins.Audacious.AudaciousAPI.__timeout
389
screenlets.plugins.Banshee.BansheeAPI.__timeout
390
screenlets.plugins.Exaile.ExaileAPI.__timeout
391
screenlets.plugins.Juk.JukAPI.__timeout
392
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
393
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
394
screenlets.plugins.Listen.ListenAPI.__timeout
395
screenlets.plugins.Sonata.SonataAPI.__timeout
396
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-28', '__timeout', 'link-8');">__timeout</a></tt> <tt class="py-op">=</tt> <tt class="py-name">gobject</tt><tt class="py-op">.</tt><tt class="py-name">timeout_add</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-29" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__interval
330
<a name="L109"></a><tt class="py-lineno">109</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-24" class="py-name"><a title="screenlets.Notify.__timeout
331
screenlets.Tooltip.__timeout
332
screenlets.backend.CachingBackend.__timeout
333
screenlets.plugins.Amarok.AmarokAPI.__timeout
334
screenlets.plugins.Audacious.AudaciousAPI.__timeout
335
screenlets.plugins.Banshee.BansheeAPI.__timeout
336
screenlets.plugins.Exaile.ExaileAPI.__timeout
337
screenlets.plugins.Juk.JukAPI.__timeout
338
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
339
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
340
screenlets.plugins.Listen.ListenAPI.__timeout
341
screenlets.plugins.Sonata.SonataAPI.__timeout
342
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-24', '__timeout', 'link-6');">__timeout</a></tt><tt class="py-op">:</tt> </tt>
343
<a name="L110"></a><tt class="py-lineno">110</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-25" class="py-name"><a title="screenlets.Notify.__timeout
344
screenlets.Tooltip.__timeout
345
screenlets.backend.CachingBackend.__timeout
346
screenlets.plugins.Amarok.AmarokAPI.__timeout
347
screenlets.plugins.Audacious.AudaciousAPI.__timeout
348
screenlets.plugins.Banshee.BansheeAPI.__timeout
349
screenlets.plugins.Exaile.ExaileAPI.__timeout
350
screenlets.plugins.Juk.JukAPI.__timeout
351
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
352
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
353
screenlets.plugins.Listen.ListenAPI.__timeout
354
screenlets.plugins.Sonata.SonataAPI.__timeout
355
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-25', '__timeout', 'link-6');">__timeout</a></tt><tt class="py-op">)</tt> </tt>
356
<a name="L111"></a><tt class="py-lineno">111</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name"><a title="screenlets.Notify.__timeout
357
screenlets.Tooltip.__timeout
358
screenlets.backend.CachingBackend.__timeout
359
screenlets.plugins.Amarok.AmarokAPI.__timeout
360
screenlets.plugins.Audacious.AudaciousAPI.__timeout
361
screenlets.plugins.Banshee.BansheeAPI.__timeout
362
screenlets.plugins.Exaile.ExaileAPI.__timeout
363
screenlets.plugins.Juk.JukAPI.__timeout
364
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
365
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
366
screenlets.plugins.Listen.ListenAPI.__timeout
367
screenlets.plugins.Sonata.SonataAPI.__timeout
368
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-26', '__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-27" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__interval
397
369
screenlets.plugins.Audacious.AudaciousAPI.__interval
398
370
screenlets.plugins.Banshee.BansheeAPI.__interval
399
371
screenlets.plugins.Exaile.ExaileAPI.__interval
412
384
screenlets.plugins.Quodlibet.QuodlibetAPI.info_changed
413
385
screenlets.plugins.Rhythmbox.RhythmboxAPI.info_changed
414
386
screenlets.plugins.Sonata.SonataAPI.info_changed
415
screenlets.plugins.Songbird.SongbirdAPI.info_changed" class="py-name" href="#" onclick="return doclink('link-30', 'info_changed', 'link-30');">info_changed</a></tt><tt class="py-op">)</tt> </tt>
387
screenlets.plugins.Songbird.SongbirdAPI.info_changed" class="py-name" href="#" onclick="return doclink('link-28', 'info_changed', 'link-28');">info_changed</a></tt><tt class="py-op">)</tt> </tt>
416
388
</div><a name="L112"></a><tt class="py-lineno">112</tt> <tt class="py-line"> <tt class="py-comment">#self.playerAPI.connect_to_signal("playingUriChanged", self.info_changed)</tt> </tt>
417
<a name="L113"></a><tt class="py-lineno">113</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt>
389
<a name="L113"></a><tt class="py-lineno">113</tt> <tt class="py-line"> </tt>
418
390
<a name="AudaciousAPI.info_changed"></a><div id="AudaciousAPI.info_changed-def"><a name="L114"></a><tt class="py-lineno">114</tt> <a class="py-toggle" href="#" id="AudaciousAPI.info_changed-toggle" onclick="return toggle('AudaciousAPI.info_changed');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="screenlets.plugins.Audacious.AudaciousAPI-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>
419
391
</div><div id="AudaciousAPI.info_changed-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="AudaciousAPI.info_changed-expanded"><a name="L115"></a><tt class="py-lineno">115</tt> <tt class="py-line"> <tt class="py-comment"># Only call the callback function if Data has changed</tt> </tt>
420
<a name="L116"></a><tt class="py-lineno">116</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-31" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__curplaying
421
screenlets.plugins.Audacious.AudaciousAPI.__curplaying
422
screenlets.plugins.Banshee.BansheeAPI.__curplaying
423
screenlets.plugins.Exaile.ExaileAPI.__curplaying
424
screenlets.plugins.Juk.JukAPI.__curplaying
425
screenlets.plugins.Kaffeine.KaffeineAPI.__curplaying
426
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__curplaying
427
screenlets.plugins.Listen.ListenAPI.__curplaying
428
screenlets.plugins.Sonata.SonataAPI.__curplaying" class="py-name" href="#" onclick="return doclink('link-31', '__curplaying', 'link-11');">__curplaying</a></tt> <tt class="py-op">!=</tt> <tt id="link-32" class="py-name"><a title="screenlets.plugins.mpdclient2.commands" class="py-name" href="#" onclick="return doclink('link-32', 'commands', 'link-2');">commands</a></tt><tt class="py-op">.</tt><tt class="py-name">getoutput</tt><tt class="py-op">(</tt><tt class="py-string">'audtool --current-song'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
429
<a name="L117"></a><tt class="py-lineno">117</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-33" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__curplaying
430
screenlets.plugins.Audacious.AudaciousAPI.__curplaying
431
screenlets.plugins.Banshee.BansheeAPI.__curplaying
432
screenlets.plugins.Exaile.ExaileAPI.__curplaying
433
screenlets.plugins.Juk.JukAPI.__curplaying
434
screenlets.plugins.Kaffeine.KaffeineAPI.__curplaying
435
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__curplaying
436
screenlets.plugins.Listen.ListenAPI.__curplaying
437
screenlets.plugins.Sonata.SonataAPI.__curplaying" class="py-name" href="#" onclick="return doclink('link-33', '__curplaying', 'link-11');">__curplaying</a></tt> <tt class="py-op">=</tt> <tt id="link-34" class="py-name"><a title="screenlets.plugins.mpdclient2.commands" class="py-name" href="#" onclick="return doclink('link-34', 'commands', 'link-2');">commands</a></tt><tt class="py-op">.</tt><tt class="py-name">getoutput</tt><tt class="py-op">(</tt><tt class="py-string">'audtool --current-song'</tt><tt class="py-op">)</tt> </tt>
438
<a name="L118"></a><tt class="py-lineno">118</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-35" class="py-name"><a title="screenlets.plugins.CoverSearch.CoverSearch.callback_fn
392
<a name="L116"></a><tt class="py-lineno">116</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-29" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__curplaying
393
screenlets.plugins.Audacious.AudaciousAPI.__curplaying
394
screenlets.plugins.Banshee.BansheeAPI.__curplaying
395
screenlets.plugins.Exaile.ExaileAPI.__curplaying
396
screenlets.plugins.Juk.JukAPI.__curplaying
397
screenlets.plugins.Kaffeine.KaffeineAPI.__curplaying
398
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__curplaying
399
screenlets.plugins.Listen.ListenAPI.__curplaying
400
screenlets.plugins.Sonata.SonataAPI.__curplaying" class="py-name" href="#" onclick="return doclink('link-29', '__curplaying', 'link-9');">__curplaying</a></tt> <tt class="py-op">!=</tt> <tt id="link-30" class="py-name"><a title="screenlets.plugins.mpdclient2.commands" class="py-name" href="#" onclick="return doclink('link-30', 'commands', 'link-2');">commands</a></tt><tt class="py-op">.</tt><tt class="py-name">getoutput</tt><tt class="py-op">(</tt><tt class="py-string">'audtool --current-song'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
401
<a name="L117"></a><tt class="py-lineno">117</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-31" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__curplaying
402
screenlets.plugins.Audacious.AudaciousAPI.__curplaying
403
screenlets.plugins.Banshee.BansheeAPI.__curplaying
404
screenlets.plugins.Exaile.ExaileAPI.__curplaying
405
screenlets.plugins.Juk.JukAPI.__curplaying
406
screenlets.plugins.Kaffeine.KaffeineAPI.__curplaying
407
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__curplaying
408
screenlets.plugins.Listen.ListenAPI.__curplaying
409
screenlets.plugins.Sonata.SonataAPI.__curplaying" class="py-name" href="#" onclick="return doclink('link-31', '__curplaying', 'link-9');">__curplaying</a></tt> <tt class="py-op">=</tt> <tt id="link-32" class="py-name"><a title="screenlets.plugins.mpdclient2.commands" class="py-name" href="#" onclick="return doclink('link-32', 'commands', 'link-2');">commands</a></tt><tt class="py-op">.</tt><tt class="py-name">getoutput</tt><tt class="py-op">(</tt><tt class="py-string">'audtool --current-song'</tt><tt class="py-op">)</tt> </tt>
410
<a name="L118"></a><tt class="py-lineno">118</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-33" class="py-name"><a title="screenlets.plugins.CoverSearch.CoverSearch.callback_fn
439
411
screenlets.plugins.Quodlibet.QuodlibetAPI.callback_fn
440
412
screenlets.plugins.Rhythmbox.RhythmboxAPI.callback_fn
441
screenlets.plugins.Songbird.SongbirdAPI.callback_fn" class="py-name" href="#" onclick="return doclink('link-35', 'callback_fn', 'link-25');">callback_fn</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
413
screenlets.plugins.Songbird.SongbirdAPI.callback_fn" class="py-name" href="#" onclick="return doclink('link-33', 'callback_fn', 'link-23');">callback_fn</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
442
414
<a name="L119"></a><tt class="py-lineno">119</tt> <tt class="py-line"> </tt>
443
<a name="L120"></a><tt class="py-lineno">120</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-36" class="py-name"><a title="screenlets.Notify.__timeout
444
screenlets.Tooltip.__timeout
445
screenlets.backend.CachingBackend.__timeout
446
screenlets.plugins.Amarok.AmarokAPI.__timeout
447
screenlets.plugins.Audacious.AudaciousAPI.__timeout
448
screenlets.plugins.Banshee.BansheeAPI.__timeout
449
screenlets.plugins.Exaile.ExaileAPI.__timeout
450
screenlets.plugins.Juk.JukAPI.__timeout
451
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
452
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
453
screenlets.plugins.Listen.ListenAPI.__timeout
454
screenlets.plugins.Sonata.SonataAPI.__timeout
455
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-36', '__timeout', 'link-8');">__timeout</a></tt><tt class="py-op">:</tt> </tt>
456
<a name="L121"></a><tt class="py-lineno">121</tt> <tt class="py-line"> <tt class="py-name">gobject</tt><tt class="py-op">.</tt><tt class="py-name">source_remove</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-37" class="py-name"><a title="screenlets.Notify.__timeout
457
screenlets.Tooltip.__timeout
458
screenlets.backend.CachingBackend.__timeout
459
screenlets.plugins.Amarok.AmarokAPI.__timeout
460
screenlets.plugins.Audacious.AudaciousAPI.__timeout
461
screenlets.plugins.Banshee.BansheeAPI.__timeout
462
screenlets.plugins.Exaile.ExaileAPI.__timeout
463
screenlets.plugins.Juk.JukAPI.__timeout
464
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
465
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
466
screenlets.plugins.Listen.ListenAPI.__timeout
467
screenlets.plugins.Sonata.SonataAPI.__timeout
468
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-37', '__timeout', 'link-8');">__timeout</a></tt><tt class="py-op">)</tt> </tt>
469
<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-38" class="py-name"><a title="screenlets.Notify.__timeout
470
screenlets.Tooltip.__timeout
471
screenlets.backend.CachingBackend.__timeout
472
screenlets.plugins.Amarok.AmarokAPI.__timeout
473
screenlets.plugins.Audacious.AudaciousAPI.__timeout
474
screenlets.plugins.Banshee.BansheeAPI.__timeout
475
screenlets.plugins.Exaile.ExaileAPI.__timeout
476
screenlets.plugins.Juk.JukAPI.__timeout
477
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
478
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
479
screenlets.plugins.Listen.ListenAPI.__timeout
480
screenlets.plugins.Sonata.SonataAPI.__timeout
481
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-38', '__timeout', 'link-8');">__timeout</a></tt> <tt class="py-op">=</tt> <tt class="py-name">gobject</tt><tt class="py-op">.</tt><tt class="py-name">timeout_add</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-39" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__interval
415
<a name="L120"></a><tt class="py-lineno">120</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-34" class="py-name"><a title="screenlets.Notify.__timeout
416
screenlets.Tooltip.__timeout
417
screenlets.backend.CachingBackend.__timeout
418
screenlets.plugins.Amarok.AmarokAPI.__timeout
419
screenlets.plugins.Audacious.AudaciousAPI.__timeout
420
screenlets.plugins.Banshee.BansheeAPI.__timeout
421
screenlets.plugins.Exaile.ExaileAPI.__timeout
422
screenlets.plugins.Juk.JukAPI.__timeout
423
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
424
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
425
screenlets.plugins.Listen.ListenAPI.__timeout
426
screenlets.plugins.Sonata.SonataAPI.__timeout
427
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-34', '__timeout', 'link-6');">__timeout</a></tt><tt class="py-op">:</tt> </tt>
428
<a name="L121"></a><tt class="py-lineno">121</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-35" class="py-name"><a title="screenlets.Notify.__timeout
429
screenlets.Tooltip.__timeout
430
screenlets.backend.CachingBackend.__timeout
431
screenlets.plugins.Amarok.AmarokAPI.__timeout
432
screenlets.plugins.Audacious.AudaciousAPI.__timeout
433
screenlets.plugins.Banshee.BansheeAPI.__timeout
434
screenlets.plugins.Exaile.ExaileAPI.__timeout
435
screenlets.plugins.Juk.JukAPI.__timeout
436
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
437
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
438
screenlets.plugins.Listen.ListenAPI.__timeout
439
screenlets.plugins.Sonata.SonataAPI.__timeout
440
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-35', '__timeout', 'link-6');">__timeout</a></tt><tt class="py-op">)</tt> </tt>
441
<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-36" class="py-name"><a title="screenlets.Notify.__timeout
442
screenlets.Tooltip.__timeout
443
screenlets.backend.CachingBackend.__timeout
444
screenlets.plugins.Amarok.AmarokAPI.__timeout
445
screenlets.plugins.Audacious.AudaciousAPI.__timeout
446
screenlets.plugins.Banshee.BansheeAPI.__timeout
447
screenlets.plugins.Exaile.ExaileAPI.__timeout
448
screenlets.plugins.Juk.JukAPI.__timeout
449
screenlets.plugins.Kaffeine.KaffeineAPI.__timeout
450
screenlets.plugins.LastFMProxy.LastFMProxyAPI.__timeout
451
screenlets.plugins.Listen.ListenAPI.__timeout
452
screenlets.plugins.Sonata.SonataAPI.__timeout
453
screenlets.sensors.Sensor.__timeout" class="py-name" href="#" onclick="return doclink('link-36', '__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-37" class="py-name"><a title="screenlets.plugins.Amarok.AmarokAPI.__interval
482
454
screenlets.plugins.Audacious.AudaciousAPI.__interval
483
455
screenlets.plugins.Banshee.BansheeAPI.__interval
484
456
screenlets.plugins.Exaile.ExaileAPI.__interval