~ubuntu-branches/ubuntu/vivid/gpodder/vivid-proposed

« back to all changes in this revision

Viewing changes to src/gpodder/__init__.py

  • Committer: Bazaar Package Importer
  • Author(s): tony mancill
  • Date: 2010-12-05 17:08:02 UTC
  • mfrom: (5.3.2 experimental) (5.2.10 sid)
  • Revision ID: james.westby@ubuntu.com-20101205170802-qbsq7r331j21np1i
Tags: 2.10-1
* New upstream release
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#
19
19
 
20
20
__author__    = 'Thomas Perl <thp@gpodder.org>'
21
 
__version__   = '2.7'
22
 
__date__      = '2010-07-07'
 
21
__version__   = '2.10'
 
22
__date__      = '2010-11-28'
23
23
__copyright__ = '© 2005-2010 Thomas Perl and the gPodder Team'
24
24
__licence__   = 'GNU General Public License, version 3 or later'
25
25
__url__       = 'http://gpodder.org/'
46
46
except ImportError:
47
47
    print """
48
48
  Error: Module "mygpoclient" not found. Please install "python-mygpoclient"
49
 
         or download it from http://thpinfo.com/2010/mygpoclient/
 
49
         or download it from http://thp.io/2010/mygpoclient/
50
50
"""
51
51
    sys.exit(1)
52
52
del mygpoclient
73
73
dbus_podcasts_object_path = '/podcasts'
74
74
dbus_interface = 'org.gpodder.interface'
75
75
dbus_podcasts = 'org.gpodder.podcasts'
 
76
dbus_session_bus = None
76
77
 
77
78
# Set "win32" to True if we are on Windows
78
79
win32 = (platform.system() == 'Windows')
134
135
database_file = os.path.join(home, 'database.sqlite')
135
136
 
136
137
# Plugins to load by default
137
 
DEFAULT_PLUGINS = ['gpodder.soundcloud']
 
138
DEFAULT_PLUGINS = ['gpodder.soundcloud', 'gpodder.xspf']
138
139
 
139
140
def load_plugins():
140
141
    """Load (non-essential) plugin modules
151
152
    for plugin in PLUGINS:
152
153
        try:
153
154
            __import__(plugin)
154
 
            print >>sys.stderr, 'Plugin loaded:', plugin
155
155
        except Exception, e:
156
156
            print >>sys.stderr, 'Cannot load plugin: %s (%s)' % (plugin, e)
157
157