r0x0r / traktorlibrarian

A simple tool to clean up your Traktor library from duplicates
Other
50 stars 11 forks source link

Corrupt collection #5

Open Plaatjesdraaier opened 7 years ago

Plaatjesdraaier commented 7 years ago

Hello,

I tried your program and it finds 528 duplicates. After I clean them up, everything seems normal but when I start Traktor it seems that the collection is corrupt. As I always backup before I do anything, I can restore my collection but it would be nice if the clean up would work :-) I use version 2.11.0.23(traktor) on a Windows computer

r0x0r commented 7 years ago

Hey,

I have never run into a corrupted collection before. It actually make a collection backup before making changes. It can be found in the Traktor data folder. What operating system are you using? Can you send me your original and modified collection.nml?

Cheers, Roman

On Jan 26, 2017 22:33, "Plaatjesdraaier" notifications@github.com wrote:

Hello,

I tried your program and it finds 528 duplicates. After I clean them up, everything seems normal but when I start Traktor it seems that the collection is corrupt. As I always backup before I do anything, I can restore my collection but it would be nice if the clean up would work :-) I use version 2.11.0.23(traktor)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/r0x0r/traktorlibrarian/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/ABelWeM6F62q1Iryk75c85e8zFRnbQ9Sks5rWQMUgaJpZM4LvGyQ .

Plaatjesdraaier commented 7 years ago

Hello Roman,

Thanks for your prompt reply. I've uploaded both files to wetransfer : Download-link https://we.tl/FITDae0Oqy

Best regards, Jeffrey

Plaatjesdraaier commented 7 years ago

After cleaning TL displays a red box without text...

image

and when I start Traktor :

image

r0x0r commented 7 years ago

The produced collection.nml is truncated. No wonder Traktor tags it as invalid. It seems like Python's default XML parser has problems with working with such big files. A different way to parse collection.html should solve the issue.

Plaatjesdraaier commented 7 years ago

I know it's a big collection and I'm trying to reduce it. (I already removed about 30.000 songs) ;-)

Plaatjesdraaier commented 7 years ago

Hi Roman,

Perhaps it would be handy if one could choose between cleaning up the library or creating a playlist with all the duplicates (or 2 playlists, one with the selected duplicates to remove and one with the tracks to keep) This way one can clean up not only the library but also the duplicate files themselves in traktor manually