<commit_before>#!/bin/bash

OUTPUT="$(audtool current-song)"

if [ -z "$OUTPUT" ]; then
	OUTPUT="Not playing"
fi

echo " $OUTPUT"<commit_msg>Change music.sh to use cmus<commit_after>#!/bin/bash
# music.sh

QUERY="$(cmus-remote -Q)"

STATUS="$(echo "$QUERY" | grep -e "status " | cut -d " " -f 2)"
ARTIST="$(echo "$QUERY" | grep -e " artist " | cut -d " " -f 3-)"
TITLE="$(echo "$QUERY" | grep -e " title " | cut -d " " -f 3-)"

OUTPUT="$ARTIST - $TITLE"

if [ "$STATUS" != "playing" ]; then
	OUTPUT="Not playing"
fi

echo " $OUTPUT"
{'fraction_non_alphanumeric': 0.2340823970037453, 'fraction_numerical': 0.0056179775280898875, 'mean_word_length': 3.652173913043478, 'pattern_counts': {'":': 0, '<': 3, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2610753', 'n_tokens_mistral': 235, 'n_tokens_neox': 213, 'n_words': 59}