Old 14th December 2006, 06:43   #1
kaatinthehaat
Major Dude
 
kaatinthehaat's Avatar
 
Join Date: Jul 2004
Location: Vancouver, Canada
Posts: 504
Corrupt timestamps tool doesn't work

Hi Abu.

I have found a problem with the "fix corrupt timestamps" tool. Recently, I bought a new computer and uploaded all my music from my iPod onto it and created a new ML in winamp. I noticed that for some reason all (>3000) the datestamps in the Winamp ML from this action were "06/02/2106 10:28:15 PM". The date is set correctly in my ipod and on my PC.

So I ran the "Fix corrupt timestamps" tool and a message said that 29 datestamps were fixed. But there are still >3000 songs with last played dates in the year 2106.

The date does change once a song is played but I have found that syncing my ipod again seems to mess up some of the dates again. Interestingly, the corresponding last played datestamps in the ipod ML are blank.

I thought this tool was supposed to correct future dates. It wouldn't matter that much but it is messing up a lot of my smart playlists which are date sensitive.

Also, a message saying which songs had been corrected would be helpful to figure out what is going on.

Thanks again for all your help on this otherwise fantastic plugin.


80GB 5.5 generation Video iPod

4GB and 8GB gen 2 Nano's with ****+

Winamp 5.52 Pro ; ml_iPod 3.05
kaatinthehaat is offline   Reply With Quote
Old 14th December 2006, 20:27   #2
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Wow, Kaat,
you've find every problem that might be possible...!

Actually we have a change in Winamp again, which leads to this problem. "06/02/2106 10:28:15 PM" is the date that represents the numerical value "-1" in the timestamp. And "-1" is what ml_iPod writes for invalid fields. Winamp 5.2x did not display these fields, -1 was treated as a special value. Obviousely 5.32 handles this differently.

The problem is: The Winamp API gives no way to remove an invalid timestamp from the ML. It only gives possibility to change it to another value. -1 used to be a good value, but it's not any more. I'm lost. I don't know what to do, Winamp just does not let me do the right thing...

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 14th December 2006, 20:48   #3
kaatinthehaat
Major Dude
 
kaatinthehaat's Avatar
 
Join Date: Jul 2004
Location: Vancouver, Canada
Posts: 504
If a problem with any software or hardware can happen it usually happens to me, LOL. Well at least I'm not going insane which is what I originally thought before I noticed the invalid timestamps.

A workaround may be just to play everything in winamp to allow natural resetting of the datestamp to a valid number. Winamp sets the datestamp after the first second of playing if I'm not mistaken so I could just skip through my library periodically. I'll just have to ignore the weird dates for now.

Another option, I suppose, would be to go back to Winamp 5.2x and fix the timestamps with your tool and then reinstall winamp 5.32 but I think that may be asking for more trouble than it's worth.

Thanks for looking into this, Abu. It's much appreciated.

80GB 5.5 generation Video iPod

4GB and 8GB gen 2 Nano's with ****+

Winamp 5.52 Pro ; ml_iPod 3.05
kaatinthehaat is offline   Reply With Quote
Old 15th December 2006, 00:32   #4
Stupifier
Major Dude
 
Join Date: Nov 2005
Posts: 596
Nice freakin iPod there Kaat! Sorry, I don't anything else to contribute LOL. 80GB 6th Gen....I will definately need the storage increase when the next iPod comes out. I'm using the 5th gen 60GB right now. Just waiting for the 100GB or something. Maybe 7th Gen
Stupifier is offline   Reply With Quote
Old 15th December 2006, 13:29   #5
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Hi Kaat,
I think (or better: hope) I found a workaround. Try 2.00p22, and do the FixCorruptTimestamps again.

The fixed files are listed in the main debuglog (but only until the next Winamp start, then it gets overwritten. So copy it if you are interested in the list)

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 15th December 2006, 22:16   #6
kaatinthehaat
Major Dude
 
kaatinthehaat's Avatar
 
Join Date: Jul 2004
Location: Vancouver, Canada
Posts: 504
Thanks Abu. I'll try it right now and get back to you....

80GB 5.5 generation Video iPod

4GB and 8GB gen 2 Nano's with ****+

Winamp 5.52 Pro ; ml_iPod 3.05
kaatinthehaat is offline   Reply With Quote
Old 15th December 2006, 22:33   #7
kaatinthehaat
Major Dude
 
kaatinthehaat's Avatar
 
Join Date: Jul 2004
Location: Vancouver, Canada
Posts: 504
Unfortunately Winamp crashes during the process. A message appears saying "Checking song #### of 3904" #### being a counter. #### gets to "1080" then winamp crashes. Crash occurs at the same point each time. I tried to attach the debug log but even zipped it was too big.

80GB 5.5 generation Video iPod

4GB and 8GB gen 2 Nano's with ****+

Winamp 5.52 Pro ; ml_iPod 3.05
kaatinthehaat is offline   Reply With Quote
Old 16th December 2006, 08:40   #8
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Crash? Bad!
I can't see any evidence for that, so I put together a special debug version 2.00p23. Please try that, and then send the debuglog (only the main debuglog is needed). If it is too big, simply send the last 1000 lines of debuglog.txt(after the crash happened). Hope that can help me.

After that, try the 2.00p24. Still crashing? Again, the main debuglog would help (even if it does not crash now)

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE

Last edited by abu; 16th December 2006 at 19:41.
abu is offline   Reply With Quote
Old 18th December 2006, 02:12   #9
kaatinthehaat
Major Dude
 
kaatinthehaat's Avatar
 
Join Date: Jul 2004
Location: Vancouver, Canada
Posts: 504
Thanks Abu.

Version 2.00p23 gives same crash at song #1080. See attached buglog.
Attached Files
File Type: zip debuglog.zip (36.8 KB, 298 views)

80GB 5.5 generation Video iPod

4GB and 8GB gen 2 Nano's with ****+

Winamp 5.52 Pro ; ml_iPod 3.05
kaatinthehaat is offline   Reply With Quote
Old 18th December 2006, 02:17   #10
kaatinthehaat
Major Dude
 
kaatinthehaat's Avatar
 
Join Date: Jul 2004
Location: Vancouver, Canada
Posts: 504
Version 2.00p24 causes no crash but says "0 files altered" and timestamps still say year 2106. See attached buglog.

I'll be interested to hear what you discover.
Attached Files
File Type: zip debuglog_p24.zip (43.7 KB, 264 views)

80GB 5.5 generation Video iPod

4GB and 8GB gen 2 Nano's with ****+

Winamp 5.52 Pro ; ml_iPod 3.05
kaatinthehaat is offline   Reply With Quote
Old 18th December 2006, 06:12   #11
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Thanks! I've got an idea what the problem could be. One more try where I would like to see the debug log: 2.00p25

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE

Last edited by abu; 18th December 2006 at 08:07.
abu is offline   Reply With Quote
Old 18th December 2006, 16:25   #12
kaatinthehaat
Major Dude
 
kaatinthehaat's Avatar
 
Join Date: Jul 2004
Location: Vancouver, Canada
Posts: 504
Here's the debug log for p25. It's in 2 parts due to size. Crash occurs consistently at song 2553.
Attached Files
File Type: zip debug log p25 part 1.zip (52.2 KB, 218 views)

80GB 5.5 generation Video iPod

4GB and 8GB gen 2 Nano's with ****+

Winamp 5.52 Pro ; ml_iPod 3.05
kaatinthehaat is offline   Reply With Quote
Old 18th December 2006, 16:34   #13
kaatinthehaat
Major Dude
 
kaatinthehaat's Avatar
 
Join Date: Jul 2004
Location: Vancouver, Canada
Posts: 504
part 2.
Attached Files
File Type: zip debuglog p25 part 2.zip (48.6 KB, 235 views)

80GB 5.5 generation Video iPod

4GB and 8GB gen 2 Nano's with ****+

Winamp 5.52 Pro ; ml_iPod 3.05
kaatinthehaat is offline   Reply With Quote
Old 18th December 2006, 16:37   #14
kaatinthehaat
Major Dude
 
kaatinthehaat's Avatar
 
Join Date: Jul 2004
Location: Vancouver, Canada
Posts: 504
BTW, I noticed you have posted another patch, p26. I tried it and still get a crash at song 2553.

80GB 5.5 generation Video iPod

4GB and 8GB gen 2 Nano's with ****+

Winamp 5.52 Pro ; ml_iPod 3.05
kaatinthehaat is offline   Reply With Quote
Old 18th December 2006, 17:43   #15
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Ok, so we passed the problem with song 1080. This was a Winamp bug that I reported for 5.23 already, but it has not been fixed. ML items with a "Unique Track ID" (TUID2) can not be written properly without crash.
I worked around this, and song 1080 really has a TUID2 (as I can see in the debuglog).

Song 2553 must have a different prolem. Maybe it's another Winamp bug, I don't know yet. Hard to find!

Could you zip your whole plugins\ml folder and upload it to some webspace (see FAQ for free filespace)? Then I might be able to reproduce this here, would make things easier.

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 18th December 2006, 17:54   #16
kaatinthehaat
Major Dude
 
kaatinthehaat's Avatar
 
Join Date: Jul 2004
Location: Vancouver, Canada
Posts: 504
ok. I'll do it when I get a chance and then I'll post back here with a link.

Yhanks again Abu.

80GB 5.5 generation Video iPod

4GB and 8GB gen 2 Nano's with ****+

Winamp 5.52 Pro ; ml_iPod 3.05
kaatinthehaat is offline   Reply With Quote
Old 18th December 2006, 18:01   #17
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Could you redownload p26 (I changed a bit in it) and try again. Then I only need the last 200 lines of the debuglog, when the crash happened.
One thing I can tell: It must be some Winamp bug again...

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 18th December 2006, 18:11   #18
kaatinthehaat
Major Dude
 
kaatinthehaat's Avatar
 
Join Date: Jul 2004
Location: Vancouver, Canada
Posts: 504
ok, here's the partial debug log from p26. Crash still occured at song 2553.
Attached Files
File Type: zip partial debug log p26.zip (55.4 KB, 221 views)

80GB 5.5 generation Video iPod

4GB and 8GB gen 2 Nano's with ****+

Winamp 5.52 Pro ; ml_iPod 3.05
kaatinthehaat is offline   Reply With Quote
Old 18th December 2006, 18:33   #19
kaatinthehaat
Major Dude
 
kaatinthehaat's Avatar
 
Join Date: Jul 2004
Location: Vancouver, Canada
Posts: 504
The wiki wouldn't let me upload a .zip file. I can't see in the FAQ where else to upload.

80GB 5.5 generation Video iPod

4GB and 8GB gen 2 Nano's with ****+

Winamp 5.52 Pro ; ml_iPod 3.05
kaatinthehaat is offline   Reply With Quote
Old 18th December 2006, 19:59   #20
kaatinthehaat
Major Dude
 
kaatinthehaat's Avatar
 
Join Date: Jul 2004
Location: Vancouver, Canada
Posts: 504
Here's a link to the zipped ml file:

http://s24.quicksharing.com/v/4296601/ml.zip.html

80GB 5.5 generation Video iPod

4GB and 8GB gen 2 Nano's with ****+

Winamp 5.52 Pro ; ml_iPod 3.05
kaatinthehaat is offline   Reply With Quote
Old 18th December 2006, 20:13   #21
kaatinthehaat
Major Dude
 
kaatinthehaat's Avatar
 
Join Date: Jul 2004
Location: Vancouver, Canada
Posts: 504
EUREKA!! You're a genius!

It worked. Message appeared at the end stating "2791 datestamps fixed" or something like that.

An interesting thing then happened though; I clicked on "Audio" in the winamp ml to see if the corrupt dates were gone and all that showed was "Scanning/" then winamp hung.

But when I restarted winamp, everything was fine. I wonder if it was just because my watchfolders were being scanned when I ran the timestamps tool and this caused the hang.

Anyway, seems ok now. Thanks again. What did you figure out?

80GB 5.5 generation Video iPod

4GB and 8GB gen 2 Nano's with ****+

Winamp 5.52 Pro ; ml_iPod 3.05
kaatinthehaat is offline   Reply With Quote
Old 18th December 2006, 21:08   #22
abu
mlipod moderator
(Senior Member)
 
abu's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 3,457
Well, playing a bit more with you ML files, I found out that you lost 6 DB entries during your last try. I'm sorry. To restore them, please restore your ml folder from the zipfile that you uploaded (Winamp must not run). Then download the p27 version. Restart Winamp, and run the fixCorruptTimestamps again. This time, it should not crash and not remove any items from your ML.

What I found out: Winamp crashes if a plugin tries to update a ML item that has an "AlbumArtist" field where the value starts with a number. Quite odd! And 6 of your tracks had to be changed and have the value "2 unlimited" in this field, e.g. "...\iPod Music\2 Unlimited\Club Mix_ The 90's\07 Get Ready for This.mp3". You can see this if you select that track in the ML and then hit Ctrl-E.

My workaround: If I encounter such a field, I simply remove it (only the albumartist field, nothing else). That seems to work.

EDIT: Oops, uploaded the wrong file first, sorry (It's late!) Use the one with this timestamp "Mon Dec 18 23:13:22 2006". And now good night...

WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it)
ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug?
Donations to support the ml_iPod project can be done HERE
abu is offline   Reply With Quote
Old 18th December 2006, 21:36   #23
kaatinthehaat
Major Dude
 
kaatinthehaat's Avatar
 
Join Date: Jul 2004
Location: Vancouver, Canada
Posts: 504
It worked perfectly this time; No hang or crash. Thanks for noticing my DB loss and for advising how to correct it.

I really appreciate your hard work in fixing this problem. Have a good sleep.

80GB 5.5 generation Video iPod

4GB and 8GB gen 2 Nano's with ****+

Winamp 5.52 Pro ; ml_iPod 3.05
kaatinthehaat is offline   Reply With Quote
Old 19th December 2006, 00:34   #24
Stupifier
Major Dude
 
Join Date: Nov 2005
Posts: 596
Hmm....I guess I should update my version to this new one.....p27.
Stupifier is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp iPod Plugin Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump