sh.playlist-maker

1.1.3 • Public • Published

Playlist Maker

Create playlists from files within directories, even recursively.

Version Coverage Master
Current Version Coverage Status Build Status

Install from npm

This package can be installed using the following command: npm install sh.playlist-maker.

Usage (CLI)

There is a commandline-tool that uses all the features of the playlist maker. Also, the package itself exports all classes and types to use in your own application.

node ./cli/cli.js --help
  Usage: cli [options]

  The PlaylistMaker is a small application that can create playlists of files within a directory.

  Options:
    -v, --version                       output the version number
    -e, --extensions [extensions]       Optional. A pipe-separated list of extensions of
                                        files to include.
                                        (default: "wav|mp3|m4a|ogg|aac|mka|webm")
    -f, --files [files]                 Optional. If present, randomizes each folder's files.
                                        (default: false)
    -d, --dirs [dirs]                   Optional. If present, randomizes all found folders,
                                        but not their files. (default: false)
    -s, --shift [shift]                 Optional. If present, randomly shifts the resulting
                                        playlist by the amount of files specified. (default: 0)
    -n, --non-recursive [nonRecursive]  Optional. If present, will not work recursively.
                                        (default: false)
    -h, --help                          output usage information

Dependencies (6)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i sh.playlist-maker

    Weekly Downloads

    1

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    16 kB

    Total Files

    10

    Last publish

    Collaborators

    • shoenel