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