ass/README.md
2025-05-03 11:35:50 -06:00

747 B

Ass

Simple shell scripts that gets the latest album from a subsonic server and sends it to discord via a webhook.

Dependencies: jq, curl

To Do:

  • Support multiple albums in a single scan.

Setup

git clone https://git.amolinae.com/amolinae06/ass \
    mkdir -p $HOME/.local/bin/ \
    vim ass/latestalbum && vim ass/webhook \
    cd ass/ && chmod +x webhook latestalbum \
    cp webhook latestalbum $HOME/.local/bin/ \
    # Uncomment depending on your shell.
    # sh, bash
    # echo "PATH="$HOME/.local/bin:$PATH"" >> $HOME/.profile && source $HOME/.profile
    # zsh
    # echo "PATH="$HOME/.local/bin:$PATH"" >> $HOME/.zprofile && source $HOME/.zprofile

Now set a cron job that runs webhook every X amount of time.