Update of /cvsroot/freevo/freevo/src/util
In directory sc8-pr-cvs1:/tmp/cvs-serv645
Modified Files:
extendedmeta.py
Log Message:
Write cover images to the overlay directory, not the current one.
Index: extendedmeta.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/util/extendedmeta.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** extendedmeta.py 18 Jan 2004 16:47:35 -0000 1.5
--- extendedmeta.py 19 Jan 2004 17:56:30 -0000 1.6
***************
*** 11,14 ****
--- 11,17 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.6 2004/01/19 17:56:30 outlyer
+ # Write cover images to the overlay directory, not the current one.
+ #
# Revision 1.5 2004/01/18 16:47:35 dischi
# cleanup
***************
*** 269,273 ****
except:
continue
! myname = os.path.join(path, 'cover.jpg')
if id3.tag:
images = id3.tag.getImages();
--- 272,276 ----
except:
continue
! myname = vfs.getoverlay(os.path.join(path, 'cover.jpg'))
if id3.tag:
images = id3.tag.getImages();
***************
*** 285,289 ****
# image exists, but sums are different, write a unique cover
iname = os.path.splitext(os.path.basename(i))[0]+'.jpg'
! myname = os.path.join(path, iname)
f = vfs.open(myname, "wb")
f.write(img.imageData)
--- 288,292 ----
# image exists, but sums are different, write a unique cover
iname = os.path.splitext(os.path.basename(i))[0]+'.jpg'
! myname = vfs.getoverlay(os.path.join(path, iname))
f = vfs.open(myname, "wb")
f.write(img.imageData)
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog