diff --git a/README.md b/README.md index eb22fa0..f7b7fe0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# MPDPlayer-v2 - +# MPDPlayer +MPD Player V2 diff --git a/mpd_player.deb b/mpd_player.deb new file mode 100644 index 0000000..5b4b80b Binary files /dev/null and b/mpd_player.deb differ diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..b070a5c --- /dev/null +++ b/readme.txt @@ -0,0 +1,63 @@ +###################################################################################################### +# PLEASE NOTE: NO SUPPORT GIVEN | INSTALL INSTRUCTIONS WILL BE SLIMELINED | SHARING IS CARING # +###################################################################################################### +Installation MPDPlayer 2 + +# IF YOU ARE HAVING STABILTY ISSUES WITH STREAMS USE V2 # + +1. +Install Java 17 on Ububntu 20.04 or 18.04 +https://ubuntuhandbook.org/index.php/2021/03/oracle-java-16-released-install-ubuntu-20-04/ + +sudo apt-get update +sudo apt-get install software-properties-common +sudo add-apt-repository ppa:linuxuprising/java +sudo apt update +sudo apt install oracle-java17-installer + +2. +Install latest FFMPEG or use your old (Advice use latest for quick start) +wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz +tar -xf ffmpeg-release-amd64-static.tar.xz +cd ffmpeg-6.0-amd64-static/ +mv ffmpeg /usr/bin/ +mv ffprobe /usr/bin/ + +3. +Make Ramdisk +mkdir /tmp/ramdisk +chmod 777 /tmp/ramdisk +mount -t tmpfs -o size=1024M tmpfs /tmp/ramdisk + +4. +Install your Deb package +cd /home +wget https://github.com/DRMStuff/MPDPlayer/raw/master/mpd_player.deb +dpkg -i mpd_player.deb + +After install mpdplayer start automatic + +5. +Web interface +systemctl start mpdplayer +http://127.0.0.1:8989/ui +admin +123 + +6. +Useful commands +systemctl start mpdplayer +systemctl stop mpdplayer +systemctl restart mpdplayer + +7. +If you want add auto restart +crontab -e +Please copy +0 5 * * /opt/mpdplayer/bin/restartService.sh +I's mean every Morning at 5:00am mpdplayer going restart + + +Thank you + +######################################################################################################