<commit_before>muzak
=====

muzak is an attempt at a metamusic player.

It indexes a filesystem tree, providing metadata to a user's preferred media
player. It also provides a pseudo-shell for controlling the indexed files
and the state of the player.

### Screenshot

![screenshot](https://sr.ht/A-oS.png)

### TODO

* current indexing/sorting logic is terrible
* index's timestamp should be used for automatic reindexing
* album art logic for `mpv` is funky
* all the documentation
* readline's tab complete is terrible with spaces (maybe use `bond`?)
<commit_msg>README: Add some simple usage examples.<commit_after>muzak
=====

muzak is an attempt at a metamusic player.

It indexes a filesystem tree, providing metadata to a user's preferred media
player. It also provides a pseudo-shell for controlling the indexed files
and the state of the player.

### Screenshot

![screenshot](https://sr.ht/A-oS.png)

### Usage

Muzak is still a work in process. Don't expect stability or pleasant output.

On the command-line:

```shell
$ ruby -Ilib muzak.rb # flags: --verbose, --debug
muzak> help
```

Daemonized:

```shell
$ ruby -Ilib muzakd.rb
echo "command" > ~/.config/muzak/muzak.fifo
```

### TODO

* current indexing/sorting logic is terrible
* index's timestamp should be used for automatic reindexing
* album art logic for `mpv` is funky
* all the documentation
* readline's tab complete is terrible with spaces (maybe use `bond`?)

{'fraction_non_alphanumeric': 0.09728978457261987, 'fraction_numerical': 0.0, 'mean_word_length': 4.373134328358209, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3448006', 'n_tokens_mistral': 459, 'n_tokens_neox': 428, 'n_words': 187}