fix: tidal stuff

This commit is contained in:
Jan-Ole Hübner 2025-07-05 18:46:18 +02:00
parent 5e6f5c6014
commit 6d67a22cfd
2 changed files with 4 additions and 3 deletions

View file

@ -24,7 +24,7 @@ for file in ~/.zshrc.d/*.zsh(.N); do
source "$file"
done
source ~/.zsh_functions/youtube.zsh
source ~/.zsh_functions/youtube.zsh
fi
mdl () {
@ -58,7 +58,7 @@ cd "$mount_point/$path_on_nas"
echo "SMB share mounted successfully."
if [[ "$*" == *"tidal.com"* ]]; then
echo "TIDAL DETECTED"
uvx tidal-dl -l $*
uvx tidal-dl -l $*
else
echo "Using qobuz-dl via uvx at: $(which uvx)"
echo "QOBUZ URL: $*"
@ -96,7 +96,7 @@ case "$url" in
echo "Detected YouTube URL: $url"
ytr "$url"
;;
(*qobuz*)
(*qobuz*|*tidal*)
echo "Detected Qobuz URL: $url"
mdl "$url"
if [[ $used_clipboard -eq 1 ]]; then

1
.zshrc
View file

@ -1,4 +1,5 @@
export PATH="$PATH:$HOME/.local/bin:$HOME/bin"
export PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
# ── 2. Load .env files from ~/.environment.d/ ───────────────────
# Automatically export all variables defined while sourcing .env files
setopt allexport