Skip to content

Create an arbitrary number of playlists with a random seed #118

@AlfredJKwack

Description

@AlfredJKwack

For anyone playing around with Deej-AI.

I've found it may be useful to generate a number of playlists from random music tracks in your library. If you find it tedious to type out long strings of paths and pick playlist names etc. Feel free to use the random DJ Playlist script I posted on Github's gist

Here's the description

 _____           _              ____     __    _____ _         _ _     _
| __  |___ ___ _| |___ _____   |    \ __|  |  |  _  | |___ _ _| |_|___| |_
|    -| .'|   | . | . |     |  |  |  |  |  |  |   __| | .'| | | | |_ -|  _|
|__|__|__,|_|_|___|___|_|_|_|  |____/|_____|  |__|  |_|__,|_  |_|_|___|_|
                                                          |___|

Create one or more Deej-AI playlists by randomly selecting a track from a root
directory and its subdirectories.

Usage:
  ./rand-playlist.sh [--options] [<arguments>]
  ./rand-playlist.sh -h | --help

Options:
  -h --help             Display this help information.
  -r --root-directory   Directory to search for tracks. [ Required ]
  -p --playlist-count   Number of playlists to create.  [ Default = 1 ]
  -e --file-extension   File extenstion to match for.   [ Default = ".mp3" ]
  -s --playlist-length  Number of tracks in playlist.   [ Default = 40 ]
  -n --noise            Deej-A.I noise option.          [ Default = 2 ]
  -p --pickles          Deej-A.I pickles option.        [ Default = "Pickles" ]
  -m --mp3tovec         Deej-A.I mp3tovec option.       [ Default = "mp3tovec" ]

Example:
  ./rand-playlist.sh -r "./some path/to music" -p 10 --file-extension ".flac"

Output: 
  The script will create one or more .m3u files at the <root_directory> 
  The names of the playlists will follow this format: 
    for a root directory "./some path/to music"
    a random track found at "./some path/to music/my band/my album/track1.mp3"
    will generate a playlist named "my_band-rand-playlist.3mu"

Enjoy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions