2017-09-27 08:11:26 -04:00
2015-09-22 10:38:20 -04:00
Plex Web Downloader
===============
2017-09-27 08:11:26 -04:00
This project allows you to create a list of your plex video files and to share them through a web interface.
2015-10-13 16:46:38 -04:00
2017-09-27 08:11:26 -04:00
**************************************************************************************************************************************
I would recomend setting up a crontab that backups the plex database every night then have this use the new file that has been created that way this doesn't lock the plex database
***************************************************************************************************************************************
2015-10-13 16:46:38 -04:00
2017-09-27 08:11:26 -04:00
MANUAL INSTALLATION
2015-09-22 10:38:20 -04:00
--------------------
2017-09-27 08:11:26 -04:00
If you prefer to compile the latest version of the project yourself, or if your operating system is not supported:
2015-10-13 16:46:38 -04:00
2017-09-27 08:11:26 -04:00
** On Windows **
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
prerequisites, install git (https://git-scm.com/download/win)
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
prerequisites, install nodejs 0.12.x (https://nodejs.org/dist/v0.12.7/)
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
open the 'cmb' command prompt, and then move to a directory where you want to install
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
git clone https://github.com/12nick12/pwd.git
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
cd plex-web-downloader
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
npm install
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
modify the file config.js, to put the path of the database plex (attention must double the anti-slash and protect the spaces)
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
For example: C: \\ Users \\ yourUsername \\ AppData \\ Local \\ Plex \ Media \ Server \\ Plug-in \ Support \\ Databases \\ com.plexapp.plugins.library.db
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
npm start
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
then open in your browser the address http: // localhost: 3000
2015-09-22 10:38:20 -04:00
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
** Under MacOS **
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
prerequisites, nodejs
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
brew install node
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
then
2015-10-13 16:46:38 -04:00
2017-09-27 08:11:26 -04:00
git clone https://github.com/12nick12/pwd.git
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
cd plex-web-downloader
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
npm install
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
modify the file config.js, to put the path of the database plex
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
example: / Users / yourUsername / Library / Application Support / Plex Media Server / Plug-in Support / Databases / com.plexapp.plugins.library.db
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
npm start
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
then open in your browser the address http: // localhost: 3000
2015-09-22 10:38:20 -04:00
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
** Under Ubuntu **
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
prerequisites nodejs, or
2015-09-22 10:44:59 -04:00
2017-09-27 08:11:26 -04:00
apt-get install nodejs
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
ln -s / usr / bin / nodejs / usr / local / bin / node
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
then move to your directory to install and:
2015-09-22 10:44:59 -04:00
2017-09-27 08:11:26 -04:00
git clone https://github.com/12nick12/pwd.git
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
cd plex-web-downloader
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
npm install
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
modify the file config.js, to put the path of the database plex
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
Example: / home / yourUsername / plex-config / Plex Media Server / Plug-in Support / Databases / com.plexapp.plugins.library.db
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
npm start
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
then open in your browser the address http: // localhost: 3000
2015-09-22 10:38:20 -04:00
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
DEVELOPMENT
2015-09-22 10:38:20 -04:00
--------------------
2017-09-27 08:11:26 -04:00
** the project was originally created with **
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
node install express -g
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
node install express-generator -g
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
express project_name
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
cd project_name
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
npm install
2015-09-22 10:38:20 -04:00
2017-09-27 08:11:26 -04:00
** to install plex (from a dockerfile) **
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
mkdir ~ / plex-config
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
sudo chown 797: 797 -R ~ / plex-config
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
sudo docker -d --restart = always -v ~ / plex-config: / config -v ~ / Movies: / media / plex -p 32400: 32400 wernight / plex-media-server
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
sudo chmod 777 ~ / plex-config / Plex \ Media \ Server / Plug-in / Support / Databases / *
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
sudo chmod 777 ~ / Movies
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
sudo ln -s ~ / Movies / media / plex
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
then configure your channels on: http: // localhost: 32400 / web / index.html
2015-09-22 10:38:20 -04:00
COMPILATION
--------------------
2017-09-27 08:11:26 -04:00
npm install enclose -g
2015-09-22 10:41:04 -04:00
2017-09-27 08:11:26 -04:00
enclose -o bin / mac_bin --loglevel info -c enclose_config.js -v 0.12.7 ./bin/www
2015-09-22 10:38:20 -04:00
2017-09-27 08:11:26 -04:00
TODO List
2015-09-22 10:38:20 -04:00
--------------------
2017-09-27 08:11:26 -04:00
* Manage thumbnail images
* Manage multi-source downloads by offering a link aria2 (see aria2.sourceforge.net)
* Integrated web ui: http://ziahamza.github.io/webui-aria2/
* Set up an upload limit that can be activated on demand