1
###
2
# -*- coding: utf-8 -*-
3
#
4
# Copyright (c) 2008, Kevin Funk
5
# All rights reserved.
6
#
7
# Redistribution and use in source and binary forms, with or without
8
# modification, are permitted provided that the following conditions are met:
9
#
10
#   * Redistributions of source code must retain the above copyright notice,
11
#     this list of conditions, and the following disclaimer.
12
#   * Redistributions in binary form must reproduce the above copyright notice,
13
#     this list of conditions, and the following disclaimer in the
14
#     documentation and/or other materials provided with the distribution.
15
#   * Neither the name of the author of this software nor the name of
16
#     contributors to this software may be used to endorse or promote products
17
#     derived from this software without specific prior written consent.
18
#
19
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22
# ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
23
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
# POSSIBILITY OF SUCH DAMAGE.
30
31
###
32
33
"""
34
Shows some information about a LastFM account (see: www.last.fm)
35
"""
36
37
import supybot
38
import supybot.world as world
39
40
# Use this for the version of this plugin.  You may wish to put a CVS keyword
41
# in here if you're keeping the plugin in CVS or some similar system.
42
__version__ = "0.3rc"
43
44
# Replace this with an appropriate author or supybot.Author instance.
45
__author__ = supybot.Author("Kevin Funk", "KRF", "krf@electrostorm.net")
46
# This is a dictionary mapping supybot.Author instances to lists of
47
# contributions.
48
__contributors__ = {
49
            supybot.Author("Ilya Kuznetsov", "worklez", "worklez@gmail.com"): ["profile"],
50
            supybot.Author("Pavel Dvořák", "czshadow", "czshadow@gmail.com"):
51
            ["misc"],
52
        }
53
54
# This is a url where the most recent plugin package can be downloaded.
55
__url__ = 'http://supybot.com/Members/krf/LastFM/'
56
57
import config
58
import plugin
59
reload(plugin) # In case we're being reloaded.
60
# Add more reloads here if you add third-party modules and want them to be
61
# reloaded when this plugin is reloaded.  Don't forget to import them as well!
62
63
if world.testing:
64
    import test
65
66
Class = plugin.Class
67
configure = config.configure
68
69
70
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: