Yet another cloud drive project with media entertainment feature.
This project and all affiliated repositories of the project are under MIT License.
Implemented:
- File managing
- Multi-user support
- Music entertainment feature
- File sharing
Unimplemented:
- Integrate music downloader into file manager by using
spotdl
- Integrate video downloader into file manager by using
you-get
- Video player with danmaku and subtitle support
- Playlist sharing
The backend doesn't support Windows platform currently. In this case, we use ubuntu-20.04
for example.
You need to install Python 3 and Nginx through the following command line
sudo apt install python3 python3-pip build-essential make wget nginx -y
Then install nvm
which is a tool to switch nodejs version
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
And add the following line to your shell profile
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
Install the latest Node.js
nvm install node
Now you can simply use make
command to deploy XmediaCenter 2
sudo chmod -R 777 /var/www/html
sudo chmod -R 777 /etc/nginx/sites-enabled
make deploy
sudo service nginx restart
After that, you can use make runBackend
to start a XmediaCenter 2 backend instance. Then, you can access http://[ip to your instance]:11452/
through the browser or use XmediaCenter 2 Desktop
to access your XmediaCenter 2 instance.
Frontend:
Backend:
(Fixed)sortId
of songs might be wrong when deleting a song and insert a new one.
- Thanks for Yoimiya who encouraged me a lot when I'm developing this project.