SHARE
TWEET

spotify linux plugin

a guest Sep 10th, 2013 1,033 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Copyright (C) 2009-2010 Gloobus Developers
  2. #
  3. #This program is free software; you can redistribute it and/or
  4. #modify it under the terms of the GNU General Public License
  5. #as published by the Free Software Foundation; either version 2
  6. #of the License, or (at your option) any later version.
  7. #
  8. #This program is distributed in the hope that it will be useful,
  9. #but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11. #GNU General Public License for more details.
  12. #
  13. #You should have received a copy of the GNU General Public License
  14. #along with this program; if not, write to the Free Software
  15. #Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  16.  
  17. from gettext import gettext as _
  18.  
  19. from generic.Mpris2 import Mpris2
  20.  
  21. class Spotify(Mpris2):
  22.  
  23.     __title__ = 'Spotify'
  24.     __version__ = '0.1'
  25.     __authors__ = 'Alexandr Grigorcea <cahr.gr@gmail.com>'
  26.     __desc__ = _('Spotify Linux media player plugin')
  27.  
  28.     DBUS_NAME   = 'org.mpris.MediaPlayer2.spotify'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top