-
Notifications
You must be signed in to change notification settings - Fork 249
PGScan
CLICKING the STAR in the UPPER RIGHT promotes our PROJECT on GITHUB!
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 - [email protected]
- 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.
As warned from the start, take your time. Anytime you change your library in the future, you may have to run through this again AND relaunch PGScan to update the program to the new library scheme!
Prepare to copy down your library for the next step. This is very important in that you must put in exactly what it is that you have. On purpose, this is a bad setup so you know what to type. In STEP 2, you will see what you have to put in this case!
You may enter your Library out of order and on purpose, leave out some. You just have to ensure that it is correct the first time. If not, it will throw a bunch of errors at you! Observe the picture below.
So on purpose, I put them out of order and made an odd library scheme, but the point is so you get the idea of what right looks like. As long as it matches!
WILL IMPROVE
Note for Now: Just follow the prompts. Ensure that your library matches what you want. Does not have to be in order of your library!
WARNING: Be aware this only works on libraries who used the UNIONFS mount, not plexdrive. PlexDrive is read-only!
Using the command pgscan will automatically scan your content and pick the best rated score to assist you. After deploying it, you can modify the scoring system at /opt/appdata/pgscan
Home - https://plexguide.com