X-Git-Url: https://git.kaliko.me/?p=mpd-goodies.git;a=blobdiff_plain;f=src%2Fnalbum;h=ae53c79947cc3f937fc84dd95fe44439cda5b405;hp=e48ad68ed1baf2309ba5873dc80b89bd5279190b;hb=cbf589ccbaa8a96f596f956cd103e754f0936e28;hpb=8c680f357953b22043895a3b49f9e58981504669 diff --git a/src/nalbum b/src/nalbum index e48ad68..ae53c79 100755 --- a/src/nalbum +++ b/src/nalbum @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (c) 2009, 2010 Efrim {{{ +# Copyright (c) 2009, 2010, 2012 Kaliko Jack # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,15 +16,14 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . # -# }}} import sys from time import sleep -from lib.mpdclass import MPDClass -from lib.startop import StartOpt +from lib.goodies import Goodie + NAME = 'nalbum' VERSION = '0.1' @@ -39,7 +38,7 @@ NALBUM_OPTS = list([ ]) -class Nalbum(StartOpt, MPDClass): +class Nalbum(Goodie): """ """ script_info = dict({ @@ -50,8 +49,8 @@ class Nalbum(StartOpt, MPDClass): def __init__(self): """""" - StartOpt.__init__(self, self.__class__.script_info, NALBUM_OPTS) - MPDClass.__init__(self) + Goodie.__init__(self, self.__class__.script_info, + extra_options=NALBUM_OPTS) self._run() def _fade(self, io='out'):