-
Notifications
You must be signed in to change notification settings - Fork 257
PGScan
Admin9705 edited this page Feb 22, 2019
·
17 revisions
CLICKING the STAR in the UPPER RIGHT promotes our PROJECT on GITHUB! - WARNING, PLEASE VISIT https://pgblitz.com/wikis/ - This is the old wiki!
Long story short, you will stop seeing duplicate TV Shows and Movies if utilized correctly.
- Website: https://github.com/Admin9705/pgscan
- Project Manager: Bryde (Change Me)
- Author: l3uddz - GITHUB: https://github.com/l3uddz/plex_autoscan
- Donation: Paypal - l3uddz@gmail.com
- type in: ansible-role pgscan to deploy the pgscan.
- now install: pwgen. sudo apt-get install pwgen
I recommend using the CloudCMD to easily editing the config.json file. We have to change some lines in here from the default configs.
- cd /opt/appdata/plex_autoscan/config
- now lets just generate a 32 length server passcode for the pgscan server. type pwgen 32 1 now you should get something like this: eFaeBiu0Chae7theeKeFaeBiu0Chae7theeK copy this to a safe place for now.
- now lets edit the config.json file: nano config.json
- on line 49 (in cloudcmd) put in the 32 key "password" you created in step 2. - from this: "SERVER_PASS": "", - to this: "SERVER_PASS": "eFaeBiu0Chae7theeKeFaeBiu0Chae7theeK", or whatever your key is from step 2!!!!
- now replace the SERVER_PATH_MAPPING with this: "SERVER_PATH_MAPPINGS": { "/unionfs/movies/": [ "/unionfs/movies/" ], "/unionfs/tv/": [ "/unionfs/tv/" ] },
- now we need to replace SERVER_FILE_EXIST_PATH_MAPPINGS with this: "SERVER_FILE_EXIST_PATH_MAPPINGS": { "/mnt/unionfs/movies/": [ "/unionfs/movies/" ], "/mnt/unionfs/tv/": [ "/unionfs/tv/" ] },
- on line 47 the SERVER_IP should be this: "SERVER_IP": "0.0.0.0",
- on line 5 change to this: "PLEX_DATABASE_PATH": "/opt/appdata/plex/database/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db",
- put in your plex token at line 24 "PLEX_TOKEN": "TOKEN",
Simple, create a token by following the instructions. Enter your plex info and it will generate a token for you! The username IS NOT CASE-SENSITIVE! If you get any errors, a token will never be generated.
Home - https://plexguide.com