PyPlex Theme for Pyload
After creating a Theme for Ombi https://github.com/tidusjar/Ombi (former Plex Requests), I've decided to create a Theme for Pyload as well.
I've used the Pyload "Next" theme as a base and the modified "Next" theme from https://github.com/OzzieIsaacs/pyload-NextTheme for the development of the PyPlex
This Theme it's inspired by PlexPy (https://github.com/JonnyWong16/plexpy) A Python based monitoring and tracking tool for Plex Media Server. That's why I've choosen the name PyPlex for this theme.
Stop your pyload Server
sudo service pyload stop
navigate to '/usr/share/pyload/module/web' (in my case it's /home/user/.pyload/module/web) Open the file webinterface.py for editing
sudo nano webinterface.py
Search for the following line in the file:
FileSystemLoader(join(PROJECT_DIR, "templates", "default")),
Insert the following line of code right after:
"PyPlex": FileSystemLoader(join(PROJECT_DIR, "templates", "PyPlex")),
Delete the file webinterface.pyc located in the same path.
sudo rm -rf webinterface.pyc
Copy the files inside the template
folder from this repo to:
/usr/share/pyload/module/web/templates
Copy the files inside the media
folder from this repo to:
/usr/share/pyload/module/web/media
Restart your pyload Server
sudo service pyload start
Login into the PyLoad webinterface, navigate to the Config page, General Tab and click on "Webinterface". Enter the name of the new theme: "PyPlex" in the template field and hit "Submit"
Restart your pyload server
sudo service pyload restart
Login Page: