Would it be possible to have the code write the FXD to the vfs only?
Also, would it be possible to put the embedded id3 image in there?
I wrote some code to pull out album covers manually,
from mmpython.audio import eyeD3
import sys
for i in sys.argv[1:]:
id3 = eyeD3.Mp3AudioFile( i )
if id3.tag:
images = id3.tag.getImages();
name = 'cover' + '.jpg'
path = './'
for img in images:
img.writeFile(path, name=name);
What would be nice is to have the img go into the vfs, same with the FXD file;
I imagine a lot of people on read-only media would appreciate that.
Aubin
On Wed, Jan 14, 2004 at 07:45:42PM +0100, Dirk Meyer wrote:
> [EMAIL PROTECTED] wrote:
> > Update of /cvsroot/freevo/freevo/WIP/Aubin
> > In directory sc8-pr-cvs1:/tmp/cvs-serv22003
> >
> > Modified Files:
> > mp3dir.py
> > Log Message:
> > Use more of the built-in Freevo facilities. This is still a proof-of-concept,
> > but seems to accurately pull out the information for a directory.
>
> I added some code to create a folder.fxd for it. You should now be
> able to get 'artist', 'album' and 'length'.
>
> TODO: set the title for the folder:
> if title attr in fxd:
> do not override!
>
> elif artist == artist of parent folder and not Various:
> if album != Various:
> set title to album
> elif artist and album != Various:
> set title to 'artist - album'
>
>
> Dischi
>
> --
> Please do not complain about the coffee. You'll be old and weak
> someday, too!
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> _______________________________________________
> Freevo-cvslog mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog