script create playlist traktor

Gerard77
Gerard77 Member Posts: 41 Member
edited October 2024 in Traktor Software & Hardware

I want to build a (powershell) script which is creating a playlist of my nas music library.

Because of lack of import music recursively I want to create a .nml file which I want to import it into the Traktor.


I see the nml files is XML based. So.. that looks not too difficult.

Has someone already tried this to create?

Tagged:

Comments

  • Gerard77
    Gerard77 Member Posts: 41 Member

    Ok, it looks my test works for one file.

    So I going to go further for all whole directory.

    Keep it posted

  • Gerard77
    Gerard77 Member Posts: 41 Member

    So I can put all the files (recursive) in one playlist. Which can be imported.

    But I also want to create a folders, but that don't work because when importing everthing are still going in one playlist.

    So it is a little succes.

  • lord-carlos
    lord-carlos Member Posts: 3,632 Expert

    Pretty sure Traktor imports recursively. When you drag 'n drop a folder into Traktor all the sub folders also get imported.

    Network drives might need to be mapped.

    You can import playlist files, but be sure they are not UTF8 (.m3u yay, .m3u8 nay)

    There are some open source programs on github that do create .nml files. Maybe you can ge inspiration from them.

    Good luck, have fun.

  • Gerard77
    Gerard77 Member Posts: 41 Member

    Thanks for the reply.


    I will try that.

  • Gerard77
    Gerard77 Member Posts: 41 Member

    Yes it will imported recursive.

    But the folder structure is lost.

    How many songs can be in one playlist?

  • Gerard77
    Gerard77 Member Posts: 41 Member

    And recursive is very slow.

    If you do a folder without subfolders It takes 5 min.

    Selecting the songs a lot faster. Several seconds.

    The folder has the same number of songs

This discussion has been closed.
Back To Top