summaryrefslogtreecommitdiff
path: root/jack_globals.py
blob: 35fe371664b874fd5982ccea97862b3d13a2696c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# -*- coding: iso-8859-15 -*-
### jack_globals: Global storage space for
### jack - extract audio from a CD and encode it using 3rd party software
### Copyright (C) 1999-2003  Arne Zellentin <zarne@users.sf.net>

### 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
### the Free Software Foundation; either version 2 of the License, or
### (at your option) any later version.

### This program is distributed in the hope that it will be useful,
### but WITHOUT ANY WARRANTY; without even the implied warranty of
### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
### GNU General Public License for more details.

### You should have received a copy of the GNU General Public License
### along with this program; if not, write to the Free Software
### Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

from jack_constants import *
from jack_config import cf
from jack_init import eyeD3

from jack_generic import info, warning, debug, error, expand
#import jack_generic
#error = jack_generic.error

dummy="""
def error(x):
    jack_generic.error(x)

def debug(x):
    jack_generic.debug(x)

def info(x):
    jack_generic.info(x)

def debug(x):
    jack_generic.warning(x)
"""

# globals
revision = 0                        # initial revision of freedb data
is_submittable = 0                  # well-formed freedb-file?

id3genres = eyeD3.genres