<commit_before>Description
===========

Marcato is a playlist manager for use with `mplayer`.

Installation
============

    % gem install marcato

Usage
=====

First, set any options in your `.bashrc` or `.zshrc`:

    export MARCATO_MUSIC="/path/to/music"
    export MARCATO_FILE="/path/to/.marcato" # defaults to ~/.marcato
    export MARCATO_OPTS="--random"          # optional

Playlists can be made on the fly via searching:

    % marcato muse
    muse_super-massive-black-hole.mp3
    muse_starlight.mp3
    % mplayer -playlist <(marcato muse)

Playlists are just yaml, each line is a search term:

    % marcato --edit
    top-songs:
      - muse
      - beatles

    jazz:
      - coltrane
      - jazz-mafia

Access your playlist just like searching for a song.  Marcato accepts multiple
terms/playlists:

    % marcao jazz beatles

By default, the order of songs is alphabetical.  Use the `--random` flag to
shuffle:

    % marcato --random jazz

List out playlists with `--list`:

    % marcato --list
    jazz<commit_msg>Shorter mplayer usage.<commit_after>Description
===========

Marcato is a playlist manager for use with `mplayer`.

Installation
============

    % gem install marcato

Usage
=====

First, set any options in your `.bashrc` or `.zshrc`:

    export MARCATO_MUSIC="/path/to/music"
    export MARCATO_FILE="/path/to/.marcato" # defaults to ~/.marcato
    export MARCATO_OPTS="--random"          # optional

Playlists can be made on the fly via searching:

    % marcato muse
    muse_super-massive-black-hole.mp3
    muse_starlight.mp3
    % mplayer `marcato muse`

Playlists are just yaml, each line is a search term:

    % marcato --edit
    top-songs:
      - muse
      - beatles

    jazz:
      - coltrane
      - jazz-mafia

Access your playlist just like searching for a song.  Marcato accepts multiple
terms/playlists:

    % marcao jazz beatles

By default, the order of songs is alphabetical.  Use the `--random` flag to
shuffle:

    % marcato --random jazz

List out playlists with `--list`:

    % marcato --list
    jazz
{'fraction_non_alphanumeric': 0.10869565217391304, 'fraction_numerical': 0.001932367149758454, 'mean_word_length': 2.7382671480144403, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2689150', 'n_tokens_mistral': 722, 'n_tokens_neox': 671, 'n_words': 220}