X-Git-Url: http://git.kaliko.me/?p=mpd-goodies.git;a=blobdiff_plain;f=mfade;h=de84f141dfc21be9cfc252af9bd885b179a2a0e8;hp=22d2f3a0d9cc810684e9bf1a9d685a390d13c5d6;hb=fb86eb100710617fea5b6d0e4a7bc452fd016732;hpb=0aadd940e70ee66a6b627e672c25ebb5538086bf diff --git a/mfade b/mfade index 22d2f3a..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,104 +29,95 @@ 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] | [