Update of /cvsroot/freevo/freevo/src/audio/eyeD3
In directory sc8-pr-cvs1:/tmp/cvs-serv17322
Modified Files:
__init__.py frames.py mp3.py utils.py
Added Files:
tag.py
Log Message:
fixed some imports, it should work now
--- NEW FILE: tag.py ---
################################################################################
#
# Copyright (C) 2002-2003 Travis Shirk <[EMAIL PROTECTED]>
#
# 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
#
################################################################################
[...1546 lines suppressed...]
while count < 256:
self.append("Unknown");
count += 1;
for index in range(len(self)):
if self[index]:
self.reverseDict[string.lower(self[index])] = index
class LinkedFile:
name = "";
tagPadding = 0;
tagSize = 0; # This includes the padding byte count.
def __init__(self, fileName):
self.name = fileName;
#
# Module level globals.
#
genres = GenreMap();
Index: __init__.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/audio/eyeD3/__init__.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** __init__.py 9 Jun 2003 18:14:46 -0000 1.2
--- __init__.py 10 Jun 2003 17:34:40 -0000 1.3
***************
*** 35,38 ****
ID3_ANY_VERSION = ID3_V1 | ID3_V2;
! from eyeD3.tag import *;
--- 35,38 ----
ID3_ANY_VERSION = ID3_V1 | ID3_V2;
! from tag import *;
Index: frames.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/audio/eyeD3/frames.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** frames.py 9 Jun 2003 18:01:45 -0000 1.1
--- frames.py 10 Jun 2003 17:34:40 -0000 1.2
***************
*** 22,27 ****
import os, os.path, re, zlib, StringIO, time;
from StringIO import StringIO;
! from eyeD3.utils import *;
! from eyeD3.binfuncs import *;
# Valid time stamp formats per ISO 8601 and used by time.strptime.
--- 22,27 ----
import os, os.path, re, zlib, StringIO, time;
from StringIO import StringIO;
! from utils import *;
! from binfuncs import *;
# Valid time stamp formats per ISO 8601 and used by time.strptime.
Index: mp3.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/audio/eyeD3/mp3.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** mp3.py 9 Jun 2003 18:01:45 -0000 1.1
--- mp3.py 10 Jun 2003 17:34:40 -0000 1.2
***************
*** 18,23 ****
#
################################################################################
! from eyeD3.binfuncs import *;
! from eyeD3.utils import *;
#######################################################################
--- 18,23 ----
#
################################################################################
! from binfuncs import *;
! from utils import *;
#######################################################################
Index: utils.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/audio/eyeD3/utils.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** utils.py 9 Jun 2003 18:01:45 -0000 1.1
--- utils.py 10 Jun 2003 17:34:40 -0000 1.2
***************
*** 44,48 ****
# $Id$
################################################################################
! from eyeD3 import *;
def versionsToConstant(v):
--- 44,48 ----
# $Id$
################################################################################
! from audio.eyeD3 import *;
def versionsToConstant(v):
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog