/traktor

Various Traktor related tools

Primary LanguagePython

Playlist Parser

Overview

This project contains scripts to parse and format playlists from HTML and NML files. The scripts extract relevant track information and display it in a formatted manner.

Files

  • parsePlaylist.py: Parses and formats playlists from HTML files.
  • parseTraktor.py: Parses and formats playlists from NML files.

Requirements

  • Python 3.x
  • argparse module
  • re module
  • BeautifulSoup module (for parsePlaylist.py)
  • xml.etree.ElementTree module (for parseTraktor.py)

Installation

  1. Clone the repository:

    git clone https://github.com/nilicule/traktor.git
    cd traktor
  2. Install the required Python packages:

    pip install beautifulsoup4

Usage

Parsing HTML Playlists

To parse and format a playlist from an HTML file, use the parsePlaylist.py script:

python parsePlaylist.py <filename>

Replace with the path to your HTML file.

Parsing NML Playlists

To parse and format a playlist from an NML file, use the parseTraktor.py script:

python parseTraktor.py <filename>

Replace with the path to your NML file.

License

This project is licensed under the MIT License. See the LICENSE file for more information.