![]() |
|
#1
|
|||
|
|||
|
ID3v2 null reference
Hi every one!
during my tests iīve faced a problem. my problem is simple yet not easy to fix because i canīt figure out why it doesnīt work. let me explain... few of my files doesnīt have ID3v2 so when i check them the Id3v2 is null... thatīs ok so far but if i want to add a coverart i need ID3v2 in order to store that cover in the file.. my problem comes that if i try to add an ID3v2 to the file i canīt! i tried to instantiate the null reference in order to create a new class and save it but no luck ![]() what am trying is this: id3.ID3v2Tag = new ID3v2Tag(); of course it fails as thereīs not constructor for that which i need in order to fill the id3.ID3v2Tag that equals to "Null" at this point. last but not least iīve noticed that the library doesnīt recognize the duration on some files and it returns "00:00:00" but it recognize the id3 tags without problems... is that probably a bug???(check out the attached pic)can someone help me out with that? UPDATE: id3.ID3v23Tag doesnīt exist for me nor id3.WriteFlag Last edited by ares; March 12th, 2009 at 05:48 PM. |
|
#2
|
||||
|
||||
|
Quote:
- Mitchell S. Honnert |
|
#3
|
|||
|
|||
|
Quote:
as i sayd in my last post i noticed that some of the code iīve found for the library doesnīt work for me as its missed somehow... such as ID3v23Tag etc.. and also the Duration on some files are 00:00:00 which is very strange. Hereīs the link of the file without ID3v2Tag: http://www.zshare.net/audio/56964752cdeda7a7/ Hereīs the link of the file with 00:00:00 duration: http://www.zshare.net/audio/56964817efff4e2f/ Thanks for your help and awesome library! |
|
#4
|
|||
|
|||
|
Mitch> For his 2nd problem, I highly believe it's connected to the Mpeg infos pb I was posting on (here).
I tested his mp3 with UltraID3lib -vs- the Mpeg lib I wrote and it's the same as in my mp3 tests. (Ulib has an error and cant calculate Bitrate + duration, therefore giving 00:00) Hope this helps
|
|
#5
|
|||
|
|||
|
Quote:
Mitch > Looking a little bit into this specific file, it looks like to me that there's an issue with the TIME frame. UltraId3 has an error "{Name = "ID3v2DurationHoursMinutesFrame" FullName = "HundredMilesSoftware.UltraID3Lib.ID3v2DurationHour sMinutesFrame"}" I filled the TIME frame data with $00 and UltraId3 lib could then .Read it normally and gave good results. |
|
#6
|
|||
|
|||
|
Quote:
![]() here is also a small video of the app in action: http://www.youtube.com/watch?v=T0oXi...layer_embedded Last edited by ares; April 17th, 2009 at 04:48 PM. |
|
#7
|
|||
|
|||
|
i couldnīt post one more pic in my last post... this one shows my app a bit better i guess...
Last edited by ares; April 17th, 2009 at 05:01 PM. |
|
#8
|
|||
|
|||
|
solved???
Hi
Was the problem with duration ever solved? I'm facing the same problem, and it can't read the bitrate as well. all others are fine. Regards Kim |
|
#9
|
||||
|
||||
|
I tried to download the files from ares too late and was not able to get them. Would you be able to upload them somewhere so I could use them to diagnose the problem?
- Mitchell S. Honnert |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|