#!/usr/bin/env python
# -*- coding: utf-8 -*-
-# Copyright (c) 2009, 2010 Efrim <efrim@azylum.org> {{{
+# Copyright (c) 2009, 2010 Efrim <efrim@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
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-# }}}
import sys
VERSION = '0.1'
USAGE = 'USAGE: %prog [--help] | /path/to/the/playlist/file/'
+
class MtoPls(StartOpt, MPDClass):
"""
"""
def _run(self):
""""""
- print 'Connecting %s:%i' % (self.cli_options.host, self.cli_options.port)
+ print 'Connecting %s:%i' % (self.cli_options.host,
+ self.cli_options.port)
self.mpdConnect()
self.current_song = self.client.currentsong()
self.client.disconnect()