https://github.com/nilicule/traktor
Various Traktor related tools
https://github.com/nilicule/traktor
Last synced: 29 days ago
JSON representation
Various Traktor related tools
- Host: GitHub
- URL: https://github.com/nilicule/traktor
- Owner: nilicule
- Created: 2024-08-05T08:34:03.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-05T12:45:51.000Z (almost 2 years ago)
- Last Synced: 2025-03-02T18:08:00.292Z (over 1 year ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```sh
git clone https://github.com/nilicule/traktor.git
cd traktor
```
2. Install the required Python packages:
```sh
pip install beautifulsoup4
```
## Usage
### Parsing HTML Playlists
To parse and format a playlist from an HTML file, use the `parsePlaylist.py` script:
```sh
python parsePlaylist.py
```
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:
```sh
python parseTraktor.py
```
Replace with the path to your NML file.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.
```