it crashes when i refresh the library...
Check this support article to see if it is useful:
https://support.native-instruments.com/hc/fr/articles/210274825-My-iTunes-Library-Does-Not-Update-in-TRAKTOR