1.0.54 • Published 1 year ago

@tanem/mtt v1.0.54

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

mtt

npm version build status coverage status npm downloads minzipped size

.(m)3u8 (t)o (t)racklist.

Background

As a rekordbox user that DJs with USBs, I often want to upload tracklists to sites such as Mixcloud or Soundcloud. One way to do this is to export a USB playlist from rekordbox as a *.m3u8 file, then use this library to generate a tracklist.

Usage

CLI

Usage: mtt [options] <file>

.(m)3u8 (t)o (t)racklist

Arguments:
  file           .m3u8 file to convert to tracklist

Options:
  -V, --version  output the version number
  -h, --help     display help for command

API

const fs = require('fs/promises');
const path = require('path');
const { mtt } = require('@tanem/mtt');

(async () => {
  try {
    const result = await mtt(path.join(__dirname, 'test.m3u8'));
    await fs.writeFile(path.join(__dirname, 'tracklist.txt'), result, 'utf-8');
  } catch (error) {
    console.error(error);
  }
})();

The above example can be run using npm run example.

Installation

CLI

$ npm i -g @tanem/mtt

API

$ npm i @tanem/mtt

License

MIT

1.0.54

1 year ago

1.0.53

1 year ago

1.0.52

2 years ago

1.0.39

2 years ago

1.0.38

2 years ago

1.0.40

2 years ago

1.0.44

2 years ago

1.0.43

2 years ago

1.0.42

2 years ago

1.0.41

2 years ago

1.0.48

2 years ago

1.0.47

2 years ago

1.0.46

2 years ago

1.0.45

2 years ago

1.0.49

2 years ago

1.0.51

2 years ago

1.0.50

2 years ago

1.0.37

2 years ago

1.0.36

2 years ago

1.0.33

2 years ago

1.0.32

2 years ago

1.0.31

2 years ago

1.0.35

2 years ago

1.0.34

2 years ago

1.0.25

2 years ago

1.0.29

2 years ago

1.0.28

2 years ago

1.0.27

2 years ago

1.0.30

2 years ago

1.0.24

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.23

2 years ago

1.0.19

2 years ago

1.0.20

2 years ago

1.0.18

2 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.11

3 years ago

1.0.12

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago