Advertisement
Guest User

force Tractor Pro to reload the metadata from your tags

a guest
Mar 15th, 2012
491
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. How to force Tractor Pro to reload the metadata from your tags
  2. first Traktor doesnt get write permission to my files (mapped drive, no write access)
  3. this is as you know because Traktor is a pain in the ass for tags
  4. its ID3 implementation is way too new (v2.4)
  5. which not many devices support,
  6. if it detects v2.3 ID3 tags (which 99% devices support) it rewrites the tag to v2.4
  7. and has a habit of nuking any custom tags and artwork you might have,
  8. i dont trust it, and thats a shit position for a DJ/Hacker
  9.  
  10. So if like me you edit your tags in something else (itunes/mp3tag/foobar)
  11. Traktor doesnt reflect your tag edits outside of it,
  12. this is because most decent mp3 tag editors
  13. preserve the LastModifiedDate on the file itself
  14. (Programming wise this is probably because of the merging of 4 concepts of filemetadata/filedate/datametadata/datadate
  15. down to a single choice ie. what date field to use))
  16.  
  17. Our problem is Traktor uses this field to decide wether it should reload the metadata from the tag
  18.  
  19. and because Traktor uses its own XML database to store a copy of
  20. all the tracks metadata into a single file (called collection.nml)
  21. can often go out of sync with the actual mp3 tags.
  22. in the older Traktor versions you had an option to force Tractor to re-read the tags manually
  23. but they dropped it in the later versions, much to a lot of peoples frustration.
  24.  
  25. this method below removes the last modified date entrys from the db
  26. then Traktor cant find these values when it loads the collection
  27. on startup and so reloads the metadata from the track, it will rescan all your tracks
  28. and update its db from your tags (without losing the stripes/cue/loop data) takes 5min on 10,000
  29.  
  30. Open your
  31. collection.nml
  32. in a text editor that supports regular expressions (i use textpad)
  33.  
  34. then do a search and replace
  35. using the below regular expression
  36.  
  37. search for:
  38.  
  39. MODIFIED_DATE="[^"]*" MODIFIED_TIME="[^"]*"
  40.  
  41. and replace with nothing ie. blank
  42.  
  43. this should remove those two entries,
  44. ive tried other methods and traktor is very picky,
  45. get it wrong and it barfs on the xml, renames the bad collection.nml invalid,
  46. and creates a fresh blank one (start again, always have a backup;).
  47.  
  48. but for me with Textpad4 and the above regular expression its golden :)
  49.  
  50. enjoy
  51.  
  52. sh0rtie
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement