<commit_before>#! /usr/bin/env sh

# Encoded artist name.
ARTIST="$1"

# Encoded song title.
TITLE="$2"

#Encoded album name.
ALBUM="$3"

unquote () {
  decoded_url=$(python3 -c 'import sys, urllib.parse; print(urllib.parse.unquote(sys.argv[1]))' "$1")
  echo $decoded_url
}

UNQ_ARTIST=$(unquote "$ARTIST")
UNQ_TITLE=$(unquote "$TITLE")

python3 $HOME/prismriver/prismriver-lyrica.py -t "$UNQ_TITLE" -a "$UNQ_ARTIST" --async<commit_msg>Update deadbeef launcher to default async behaviour<commit_after>#! /usr/bin/env sh

# Encoded artist name.
ARTIST="$1"

# Encoded song title.
TITLE="$2"

#Encoded album name.
ALBUM="$3"

unquote () {
  decoded_url=$(python3 -c 'import sys, urllib.parse; print(urllib.parse.unquote(sys.argv[1]))' "$1")
  echo $decoded_url
}

UNQ_ARTIST=$(unquote "$ARTIST")
UNQ_TITLE=$(unquote "$TITLE")

python3 $HOME/prismriver/prismriver-lyrica.py -t "$UNQ_TITLE" -a "$UNQ_ARTIST"
{'fraction_non_alphanumeric': 0.17920353982300885, 'fraction_numerical': 0.015486725663716814, 'mean_word_length': 5.373239436619718, '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': '2062903', 'n_tokens_mistral': 394, 'n_tokens_neox': 375, 'n_words': 76}