Skip to content

Commit

Permalink
fix: update on Startup for mopidy
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller authored Apr 5, 2024
1 parent 711d605 commit 317e85e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/startup-scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ echo "${mpgvolume} is the mpg123 startup volume"

#######################
# re-scan music library
mpc rescan
# if spotify edition is installed, update via mopidy as mpc update doesnt work
if [ "$EDITION" == "plusSpotify" ]; then
sudo mopidyctl local scan > /dev/null 2>&1
else
mpc rescan
fi

#######################
# read out wifi config?
Expand Down

0 comments on commit 317e85e

Please sign in to comment.