X-Git-Url: http://git.kaliko.me/?p=mpd-goodies.git;a=blobdiff_plain;f=mfade;h=de84f141dfc21be9cfc252af9bd885b179a2a0e8;hp=c55e11ff62e07d6f09048f9bd0385b0c715a628c;hb=fb86eb100710617fea5b6d0e4a7bc452fd016732;hpb=f0a32720d2cde97b6e1a3a2eafc48b8c88649fca diff --git a/mfade b/mfade index c55e11f..de84f14 100755 --- a/mfade +++ b/mfade @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (c) 2009 Efrim {{{ +# Copyright (c) 2009, 2010 Efrim {{{ # # 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 @@ -29,94 +29,87 @@ import sys from time import sleep -from lib.mpdutils import mconnect +from lib.mpdclass import MPDClass +from lib.startop import StartOpt -USAGE = """Usage: +NAME = 'mfade' +VERSION = '0.1' +USAGE = 'USAGE: %prog [--help] | [