#!/usr/bin/env python
# -*- coding: utf-8 -*-
-# Copyright (c) 2009, 2010 Efrim <efrim@azylum.org>
+# Copyright (c) 2009, 2010, 2012 Kaliko Jack <kaliko.jack@azylum.org>
#
# 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
import sys
from os import(access, W_OK)
-from os.path import (dirname, isfile, join, basename, abspath)
+from os.path import (dirname, isfile, basename)
+
+from lib.goodies import Goodie
-from lib.mpdclass import MPDClass
-from lib.startop import StartOpt
NAME = 'mtopls'
VERSION = '0.1'
USAGE = 'USAGE: %prog [--help] | /path/to/the/playlist/file/'
-class MtoPls(StartOpt, MPDClass):
+class MtoPls(Goodie):
"""
"""
script_info = dict({
def __init__(self):
""""""
- StartOpt.__init__(self, self.__class__.script_info, [])
- MPDClass.__init__(self)
+ Goodie.__init__(self, self.__class__.script_info)
self.playlist = None
self._run()