1 ################################################################################
3 # Copyright (C) 2002-2005 Travis Shirk <travis@pobox.com>
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 ################################################################################
21 eyeD3Version
= "@PACKAGE_VERSION@";
22 eyeD3Maintainer
= "@PACKAGE_BUGREPORT@";
25 ID3_CURRENT_VERSION
= 0x00; # The version of the linked tag, if any.
33 #ID3_V2_5 = 0x28; # This does not seem imminent.
34 ID3_DEFAULT_VERSION
= ID3_V2_4
;
35 ID3_ANY_VERSION
= ID3_V1 | ID3_V2
;
38 LOCAL_ENCODING
= locale
.getpreferredencoding();
39 if not LOCAL_ENCODING
or LOCAL_ENCODING
== "ANSI_X3.4-1968":
40 LOCAL_ENCODING
= 'latin1';
45 from eyeD3
.tag
import *;