|
|
|
ID3v2 Delphi Library - F.A.Q. |
|
- Frequently Asked Questions |
If
you have a question that's not in this FAQ, please feel free to send
me an e-mail. This FAQ
covers implementation questions as well as common problems.

|
1. Q.
|
Can I load/save the original ID3 (ID3v1.1) tag format?
| |
A.
|
Not with this library, but there is a seperate ID3 (version 1.0/1.1) Library
available here.
|

|
2. Q.
|
How do I create a new tag?
| |
A.
|
Just create the tag like so:
myTag := Tid3v2tag.create;
and then call the 'set' functions (ie. setAsciiText, setCOMM, etc.) as needed. If a frame doesn't yet exist, the
set functions will automatically create it for you.
|

|
3. Q.
|
When I call setFooter, setUpdate, or setRestriction and then save and reload
the tag, those flags remain false. Is this an error?
| |
A.
|
This is not an error. The ID3v2.3.0 format does not support those flags and
thus cannot be saved to the tag. Those functions are there for ID3v2.4.0.
|

|
4. Q.
|
Why does the function myTag.getAsciiText('TXXX', tempstr) return an empty string?
| |
A.
|
The getAsciiText function can only retrieve text from a text frame (all frames
beginning with the letter 'T'), but the user definable 'TXXX' frame is the
exception because it has a different layout from the other text frames. This
also applies to the comment ('COMM') frame, which contains text, but again, has
a different layout. Specific functions for retrieving this information are available
(setCOMM, setTXXX, etc.). Also note that the getAsciiText function returns
error codes so that you can determine when the function couldn't get any data.
These error codes are not used in the demos, but are described in the docs.
|

|
5. Q.
|
Why do I get an Access Violation error when I try to load a tag?
| |
A.
|
You probably forgot to initialize the TID3v2tag object (myTag := Tid3v2tag.create).
Make sure you create it before you try to load or save a tag.
|

|
|
|
|