Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Software | myMPD #4259

Merged
merged 3 commits into from
Apr 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Fixes:
- DietPi-Software | X.Org X Server: Resolved an issue on RPi where the X server start failed when the KMS device tree overlay was not enabled. Many thanks to @xthedakmanx for reporting this issue: https://github.com/MichaIng/DietPi/issues/4175
- DietPi-Software | LXDE: Resolved an issue where after installing LXDE, the system booted into the LightDM desktop login mask automatically, even if desktop autologin was not chosen via dietpi-autostart. Many thanks to @manilx for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?t=8766
- DietPi-Software | Portainer: Resolved an issue where the uninstall failed, if the container or image was removed manually before, or not found for a different reason. Many thanks to @redschumi for reporting this issue: https://github.com/MichaIng/DietPi/issues/4224
- DietPi-Software | myMPD: Resolved an issue where the service fails to start because of a renamed setting. Many thanks to @sofad for reporting this issue: https://github.com/MichaIng/DietPi/issues/4256

As always, many smaller code performance and stability improvements, visual and spelling fixes have been done, too much to list all of them here. Check out all code changes of this release on GitHub: https://github.com/MichaIng/DietPi/pull/XXXX

Expand Down
8 changes: 4 additions & 4 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -8932,7 +8932,7 @@ _EOF_

G_CONFIG_INJECT 'host[[:blank:]]*=' 'host = /run/mpd/socket' /etc/mympd.conf '^\[mpd\]'
G_CONFIG_INJECT 'playlistdirectory[[:blank:]]*=' 'playlistdirectory = /mnt/dietpi_userdata/Music' /etc/mympd.conf '^\[mpd\]'
G_CONFIG_INJECT 'webport[[:blank:]]*=' 'webport = 1333' /etc/mympd.conf '^\[webserver\]'
G_CONFIG_INJECT 'httpport[[:blank:]]*=' 'httpport = 1333' /etc/mympd.conf '^\[webserver\]'
G_CONFIG_INJECT 'ssl[[:blank:]]*=' 'ssl = false' /etc/mympd.conf '^\[webserver\]'

fi
Expand Down Expand Up @@ -13654,14 +13654,14 @@ _EOF_

systemctl unmask mympd
systemctl disable --now mympd
rm /lib/systemd/system/mympd.service
rm -v /lib/systemd/system/mympd.service

fi
[[ -d '/etc/systemd/system/mympd.service.d' ]] && rm -R /etc/systemd/system/mympd.service.d
getent passwd mympd > /dev/null && userdel mympd
getent group mympd > /dev/null && groupdel mympd # pre-v6.29
command -v mympd > /dev/null && rm "$(command -v mympd)"
rm -Rf /{etc,var/lib,usr/share}/mympd /etc/mympd.conf* /etc/systemd/system/mympd.service.d /usr/share/man/man1/mympd.*
command -v mympd > /dev/null && rm -v "$(command -v mympd)"
rm -Rf /{etc,var/lib,usr/share}/mympd /etc/mympd.conf* /usr/share/man/man1/mympd.*

fi

Expand Down