Compare commits

...

8 Commits

7 changed files with 19 additions and 10 deletions

View File

@ -3,6 +3,7 @@ coreutils
dockutil
duti
fastfetch
ffmpeg
git
gnu-sed
htop
@ -13,9 +14,11 @@ mtr
neovim
newsboat
parallel
pinentry-mac
ranger
ripgrep
rsync
texinfo
tmux
tree
wget

View File

@ -1,7 +1,9 @@
alacritty
akiflow
alfred
chatterino
dbeaver-community
discord
displaylink
docker
firefox@nightly
@ -9,33 +11,28 @@ font-hack-nerd-font
gimp
google-chrome
hiddenbar
jordanbaird-ice
karabiner-elements
keepassxc
macfuse
megasync
microsoft-auto-update
microsoft-teams
mongodb-compass
mpv
mysides
obsidian
platypus
postman
qbittorrent
qview
rustdesk
scroll-reverser
signal
skype
spotify
stats
telegram
the-unarchiver
todoist
transfer
twingate
visual-studio-code
vlc
winbox
wine-crossover
wireshark
zed@preview

View File

@ -1 +0,0 @@
/Users/yorune/Library/Application Support/iTerm2

1
.gitignore vendored
View File

@ -279,3 +279,4 @@ Cisco Packet Tracer 8.0.0
.local/bin/kubectl
.rustup
.local/tss-sdk
.local/bin/tss

View File

@ -199,6 +199,7 @@ function install_terragrunt() {
timestamp "The current version of the TSS-SDK is the same as the newest version"
return 0
else
brew install wget
wget https://github.com/gruntwork-io/terragrunt/releases/latest/download/terragrunt_linux_amd64 -O $TERRAGRUNT
chmod +x "$TERRAGRUNT"
fi
@ -299,6 +300,8 @@ function install_fzf() {
function install_zsh_addons() {
if [ ! -d $ZSHFOLDER/aws ]; then
mkdir -p "$ZSHFOLDER/azure-cli" "$ZSHFOLDER/aws"
curl -s https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/plugins/aws/aws.plugin.zsh \
-o "$ZSHFOLDER"/aws/aws.plugin.zsh &&
timestamp "Downloaded the newest version of aws plugin for zsh"
@ -307,7 +310,6 @@ function install_zsh_addons() {
-o "$ZSHFOLDER"/azure-cli/az.completion &&
timestamp "Downloaded the newest version of az plugin for zsh"
mkdir -p "$ZSHFOLDER/azure-cli" "$ZSHFOLDER/aws"
cd $ZSHFOLDER || err "Folder $ZSHFOLDER has been NOT found"
git clone https://github.com/popstas/zsh-command-time.git &&
timestamp "Cloning the zsh-command-time"

View File

@ -1,15 +1,18 @@
#!/bin/bash
FOLDER_AUDIOBOOK="/Volumes/Music/Jellyfin/Playlist-Audiobook"
FOLDER_FAV="/Volumes/Music/Jellyfin/Playlist-Fav"
FOLDER_DUB="/Volumes/Music/Jellyfin/Playlist-Dub"
FOLDER_PIANO="/Volumes/Music/Jellyfin/Playlist-Piano"
# Check if folder exists
[ ! -d $FOLDER_AUDIOBOOK ] && exit 1
[ ! -d $FOLDER_DUB ] && exit 1
[ ! -d $FOLDER_FAV ] && exit 1
[ ! -d $FOLDER_PIANO ] && exit 1
# Remove old files
rm -rfv $FOLDER_AUDIOBOOK/errors.txt
rm -rfv $FOLDER_DUB/errors.txt
rm -rfv $FOLDER_FAV/errors.txt
rm -rfv $FOLDER_PIANO/errors.txt
@ -35,6 +38,9 @@ spotdl --user-auth --keep-alive \
--yt-dlp-args no-check-certificates
# Sync to Jellyfin
rsync -h --progress --recursive --ignore-existing \
$FOLDER_AUDIOBOOK/* docker-de:/mnt/HC_Volume_34966154/jellifin/media/music/Audiobook
rsync -h --progress --recursive --ignore-existing \
$FOLDER_DUB/* docker-de:/mnt/HC_Volume_34966154/jellifin/media/music/Dub
@ -45,6 +51,8 @@ rsync -h --progress --recursive --ignore-existing \
$FOLDER_PIANO/* docker-de:/mnt/HC_Volume_34966154/jellifin/media/music/Piano
# Generate playlist
ssh docker-de -t "cd /mnt/HC_Volume_34966154/jellifin/media/music/Audiobook; find . -type f \( -name '*.mp3' -o -name '*.flac' -o -name '*.loss' -o -name '*.aiff' -o -name '*.aif' \) -printf './%P\n' | sort > playlist.m3u"
ssh docker-de -t "cd /mnt/HC_Volume_34966154/jellifin/media/music/Dub; find . -type f \( -name '*.mp3' -o -name '*.flac' -o -name '*.loss' -o -name '*.aiff' -o -name '*.aif' \) -printf './%P\n' | sort > playlist.m3u"
ssh docker-de -t "cd /mnt/HC_Volume_34966154/jellifin/media/music/Fav; find . -type f \( -name '*.mp3' -o -name '*.flac' -o -name '*.loss' -o -name '*.aiff' -o -name '*.aif' \) -printf './%P\n' | sort > playlist.m3u"

View File

@ -1 +0,0 @@
/usr/local/bin/yt-dlp