add tag to file without one?

66 views
Skip to first unread message

mike.p...@gmail.com

unread,
Aug 28, 2013, 8:41:58 AM8/28/13
to eyed3...@googlegroups.com
Hi --

I'm using 0.7.3 code.  When I use eyeD3.load() the .tag property is None on the resulting object.  I'd like to add one.  Can you share some code how to do this (in Python, not with the command line interface)?

Trying to instantiate a tag with:

t = eyed3.Tag() 

does not seem to work either.

I'm kind of lost.

Thanks,
Mike

Travis Shirk

unread,
Aug 28, 2013, 10:21:43 AM8/28/13
to eyed3...@googlegroups.com
Hi Mike,

It is not as simple as I would like but take a look at https://bitbucket.org/nicfit/eyed3/src/10d51cb6e56c84b27bc6abfc410f84e13ff5c4fa/src/eyed3/plugins/classic.py?at=default#cl-414

Line 414 starts with checking if a tag exists and if not sets it up so the following code can populate it.

Let me know if you still have problems.

-travis


--
You received this message because you are subscribed to the Google Groups "eyeD3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eyed3-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages