22 lines
No EOL
686 B
Markdown
22 lines
No EOL
686 B
Markdown
# 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
|
|
|
|
```sh
|
|
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
|
|
``` |