Jellyfin is a simple way to self host a media server. to install, just run curl -s https://repo.jellyfin.org/install-debuntu.sh | sudo bash.
curl -s https://repo.jellyfin.org/install-debuntu.sh | sudo bash