Adding - Liked and Disliked, and Loved and Disliked to an empty text tag (in Traktor .nml)

Patch's Avatar

Patch

04 Jun, 2019 08:56 PM

*Note: Don't let this post distract you from your well earned break! This can certainly wait until you are returned and settled. I just wanted to get it out of my head and recorded while it's fresh in my mind.

So, we have Liked and Disliked, and we also have Ticked and Un-ticked available in iTunes & BeaTunes.

Can we, using a BeaTlet, read that info from the iTunes or BeaTunes Library, and write all of those values to the Traktor Collection.nml against the corresponding track?

Some Traktor fields get written to the actual .mp3 file, so we can get the Loved & Disliked, and Ticked and Un-ticked info OUT of iTunes, and into the Traktor Collection.nml. This means that I could keep the all of that Loved and Ticked information in a single tag in the file. Meaning I could re-build my iTunes Library from the actual files if there's ever an issue.

For arguments sake, let's say we use the "Comment" field in iTunes. For a Track that is Ticked and Loved in iTunes, we would populate the "Comment" in the the Collection.nml from the info in the iTunes Library with the text "Ticked; Loved". For a track that is not Ticked, we'd populate the Comment tag with "Un-ticked".

This feels like it's possible. Do you think it can be done?

  1. 1 Posted by Patch on 03 Jul, 2019 05:51 PM

    Patch's Avatar

    Could this be done? Feels very possible...?

  2. Support Staff 2 Posted by hendrik on 04 Jul, 2019 03:08 PM

    hendrik's Avatar

    So, we have Liked and Disliked, and we also have Ticked and Un-ticked available in iTunes & BeaTunes.

    Can we, using a BeaTlet, read that info from the iTunes or BeaTunes Library, and write all of those values to the Traktor Collection.nml against the corresponding track?

    Sure.

  3. Support Staff 3 Posted by hendrik on 04 Jul, 2019 03:09 PM

    hendrik's Avatar

    It's just a matter of adding info to the .nml file, which requires some programming.

  4. 4 Posted by Patch on 04 Jul, 2019 04:07 PM

    Patch's Avatar

    I was really hoping you’d give me a better clue than that mate...

    (Hope you had a good break!)

  5. Support Staff 5 Posted by hendrik on 05 Jul, 2019 06:22 AM

    hendrik's Avatar

    Haha!

    You know, we have talked about this in the other thread. You'd have to parse the XML in the .nml file, make appropriate additions/substitutions, and serialize/write the XML again to the .nml file. It's totally possible, as the information is available in beaTunes (and of course iTunes). But it definitely needs some moderate programming skills.

  6. 6 Posted by Patch on 05 Jul, 2019 11:24 AM

    Patch's Avatar

    Im at the limit of my ability with the programming of Beatlets.

    Honestly - I don’t know how I’ve got so much working as it is! Blind luck I think...

  7. 7 Posted by Patch on 11 Jul, 2019 12:40 PM

    Patch's Avatar

    Okay. Looks like I’m gonna have to give up on this.

    Great shame - because was ALL that was getting between me and complete iTunes, Traktor, BeaTunes and .mp3 file harmony.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac