Retrieve version number
-
- getID3() contributor
- Posts:112
- Joined:Mon Apr 01, 2002 12:20 am
- Location:Netherlands
- Contact:
Is it possible to retrieve the GETID3_VERSION without parsing a file?
-
- getID3() v2 developer
- Posts:445
- Joined:Sun May 04, 2003 2:22 pm
- Location:Holmegaard, Denmark
-
- getID3() contributor
- Posts:112
- Joined:Mon Apr 01, 2002 12:20 am
- Location:Netherlands
- Contact:
I'm not so familiar with classes.
I assume that this is correct syntax?
I assume that this is correct syntax?
Code: Select all
if (defined('getid3::VERSION')) echo getid3::VERSION;
-
- getID3() v2 developer
- Posts:445
- Joined:Sun May 04, 2003 2:22 pm
- Location:Holmegaard, Denmark
Actually I have no idea. I never use the defined() function.WaldoMonster wrote:I'm not so familiar with classes.
I assume that this is correct syntax?Code: Select all
if (defined('getid3::VERSION')) echo getid3::VERSION;
However this should work:
Code: Select all
include "getid3.php";
echo getid3::VERSION;
-
- getID3() contributor
- Posts:112
- Joined:Mon Apr 01, 2002 12:20 am
- Location:Netherlands
- Contact:
Allan thanks for the feedback.
PS
On the main website http://www.getid3.org/ I read that:
PS
On the main website http://www.getid3.org/ I read that:
And in the change log from getID3() 2.0.0b4 I read:v2.0.0-b4 cannot write any tags (yet)
Isn't it time to update the main site?Tag writing support: ID3v1
Tag writing support: APEtag
Tag writing support: FLAC
Tag writing support: Ogg Vorbis
Tag writing support: Lyrics3
-
- getID3() v2 developer
- Posts:445
- Joined:Sun May 04, 2003 2:22 pm
- Location:Holmegaard, Denmark