This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Need GeoLiteCity.dat | |
| https://dev.maxmind.com/geoip/legacy/geolite/ | |
| Place in root of tracert_t.py | |
| ''' | |
| import pygeoip | |
| import matplotlib.pyplot as plt | |
| import matplotlib as mpl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Need GeoLiteCity.dat | |
| https://dev.maxmind.com/geoip/legacy/geolite/ | |
| Need FFMEPG | |
| https://ffmpeg.zeranoe.com/builds/ | |
| Both in root of rand_hop_paths_movie.py | |
| ''' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Pulling together User IP information and Email. | |
| Enable the API under Settings > Access Control and remember your API key. | |
| Shutdown PlexPy and open your config.ini file in a text editor. | |
| Set api_sql = 1 in the config file. | |
| Restart PlexPy. | |
| Place in Playback Start | |
| """ | |
| import argparse | |
| import requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import psutil | |
| import requests | |
| import urllib | |
| # Drive letter to check if exists. | |
| drive = 'D:' | |
| disk = psutil.disk_partitions() | |
| PLEXPY_URL = 'http://localhost:8181/' # Your PlexPy URL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Run script by itself. Will look for WARN code followed by /library/metadata/ str in Plex logs. | |
| This is find files that are corrupt or having playback issues. | |
| I corrupted a file to test. | |
| ''' | |
| import requests | |
| import sys | |
| ## EDIT THESE SETTINGS ## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1. Install the requests module for python. | |
| # pip install requests | |
| # 2. Add script arguments in PlexPy. | |
| # {user} {title} | |
| # Add to Playback Resume | |
| import requests | |
| import sys | |
| user = sys.argv[1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pygeoip | |
| import matplotlib.pyplot as plt | |
| import matplotlib as mpl | |
| import random | |
| import numpy as np | |
| from mpl_toolkits.basemap import Basemap | |
| from collections import OrderedDict | |
| from geopy.geocoders import Nominatim | |
| geolocator = Nominatim() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| import sys | |
| import matplotlib.pyplot as plt | |
| from mpl_toolkits.basemap import Basemap | |
| import matplotlib as mpl | |
| from collections import OrderedDict | |
| import math | |
| # Example: http://i.imgur.com/IXd0IVM.png |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| import sys | |
| import matplotlib.pyplot as plt | |
| from mpl_toolkits.basemap import Basemap | |
| import matplotlib as mpl | |
| from collections import OrderedDict | |
| import math | |
| import numpy as np | |
| ## EDIT THESE SETTINGS ## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| import sys | |
| import matplotlib.pyplot as plt | |
| from mpl_toolkits.basemap import Basemap | |
| from geopy.geocoders import Nominatim | |
| import math | |
| ## EDIT THESE SETTINGS ## | |
| PLEXPY_APIKEY = 'XXXXXXXXX' # Your PlexPy API key | |
| PLEXPY_URL = 'http://localhost:8181/' # Your PlexPy URL |