-
-
Notifications
You must be signed in to change notification settings - Fork 504
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
Software installation of O!MPD [129] pulls to many dependencies #6642
Comments
While O!MPD can be used as web player to play music via browser on a client system, MPD is mainly used as jukebox-like player to play music from the server's audio system and only control it via MPD clients/interfaces like O!MPD. Hence ALSA (the fundamental/low-level Linux audio system), is mandatory for MPD to work. AFAIK, the service would even fail to start, if ALSA was not installed. O!MPD comes with additional features, including playing audio stream directly from YouTube, which requires The Avahi daemon could be indeed removed from (MPD) dependencies. It is commonly used to have the MPD server quickly detected in LAN, but not mandatory. Btw, the MPD package itself pulls the ALSA, FFmpeg (libav*) and Avahi libraries (not the services/CLI tools) as strict dependencies, so even if we did remove those three dependencies in
No, here is the exact code which runs on O!MPD uninstall: if To_Uninstall 129 # O!MPD
then
[[ -d '/var/www/ompd' ]] && G_EXEC rm -R /var/www/ompd
[[ -f '/etc/lighttpd/conf-enabled/99-dietpi-ompd.conf' ]] && G_EXEC lighty-disable-mod dietpi-ompd
[[ -f '/etc/lighttpd/conf-available/99-dietpi-ompd.conf' ]] && G_EXEC rm /etc/lighttpd/conf-available/99-dietpi-ompd.conf
Remove_Database ompd
fi So it removes the web interface, removes the Lighttpd configuration (if used as webserver) and removes the MariaDB database, nothing more. But it might be uninstalled together with MPD, if it depends on the |
Hello @MichaIng, Thanks for your elaborate and clear answer. Makes sense. I think upmpdcli might be uninstalled by mpd dependy but not sure. Kind regards, |
I recently did a fresh install of DietPi bookworm on my NanoPi Neo2.
When installing O!MPD using DietPi software installer (choice [129]), it appeared to me that it installed many programs that I don't need since I am running mpd on another SBC in my network, having O!MPD remotely control mpd.
O!MPD only needs a webserver, PHP, mysql server and mpd (not in my specific case, but I understand the logic to have ik installed).
I do not understand why the script also installs:
Furthermore uninstalling O!MPD using DietPi uninstaller, other programs, that I had installed myself, i.e. upmpdcli were uninstalledby DietPi...
The text was updated successfully, but these errors were encountered: