moved files
This commit is contained in:
parent
ecb330206a
commit
762e644d46
7 changed files with 9 additions and 91 deletions
9
.gitignore
vendored
9
.gitignore
vendored
|
@ -5,12 +5,11 @@
|
|||
.Trashes
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
Varken/configuration.py
|
||||
Varken/config.ini
|
||||
__pycache__
|
||||
GeoLite2-City.mmdb
|
||||
GeoLite2-City.tar.gz
|
||||
data/varken.ini
|
||||
data/GeoLite2-City.mmdb
|
||||
data/GeoLite2-City.tar.gz
|
||||
.idea/
|
||||
.idea/*
|
||||
varken.ini
|
||||
data/
|
||||
Legacy/configuration.py
|
||||
|
|
|
@ -3,7 +3,7 @@ import requests
|
|||
from datetime import datetime, timezone
|
||||
from influxdb import InfluxDBClient
|
||||
|
||||
from Varken import configuration
|
||||
from Legacy import configuration
|
||||
|
||||
current_time = datetime.now(timezone.utc).astimezone().isoformat()
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ from datetime import datetime, timezone
|
|||
from influxdb import InfluxDBClient
|
||||
import argparse
|
||||
from argparse import RawTextHelpFormatter
|
||||
from Varken import configuration
|
||||
from Legacy import configuration
|
||||
|
||||
headers = {'Apikey': configuration.ombi_api_key}
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ from datetime import datetime, timezone
|
|||
from influxdb import InfluxDBClient
|
||||
import argparse
|
||||
from argparse import RawTextHelpFormatter
|
||||
from Varken import configuration
|
||||
from Legacy import configuration
|
||||
|
||||
|
||||
def now_iso():
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import sys
|
||||
import configparser
|
||||
from os.path import abspath, dirname, join
|
||||
from os.path import abspath, join
|
||||
from Varken.helpers import Server, TautulliServer, SonarrServer, InfluxServer
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ class INIParser(object):
|
|||
self.parse_opts()
|
||||
|
||||
def read_file(self):
|
||||
file_path = abspath(join(dirname(__file__), '..', 'varken.ini'))
|
||||
file_path = abspath(join('..', 'data', 'varken.ini'))
|
||||
with open(file_path) as config_ini:
|
||||
self.config.read_file(config_ini)
|
||||
|
||||
|
|
|
@ -1,81 +0,0 @@
|
|||
# Notes:
|
||||
# - Sonarr + Radarr scripts support multiple servers. You can remove the second
|
||||
# server by putting a # in front of the lines and section name, and removing
|
||||
# that number from your server_ids list
|
||||
# - fallback_ip, This is used when there is no IP listed in tautulli.
|
||||
# This can happen when you are streaming locally. This is usually your public IP.
|
||||
|
||||
[global]
|
||||
sonarr_server_ids = 1,2
|
||||
radarr_server_ids = 1,2
|
||||
tautulli_server_ids = 1
|
||||
ombi = true
|
||||
asa = false
|
||||
|
||||
[influxdb]
|
||||
url = influxdb.domain.tld
|
||||
port = 8086
|
||||
username = root
|
||||
password = root
|
||||
|
||||
[tautulli-1]
|
||||
url = tautulli.domain.tld
|
||||
fallback_ip = 0.0.0.0
|
||||
apikey = xxxxxxxxxxxxxxxx
|
||||
ssl = false
|
||||
verify_ssl = true
|
||||
get_activity = true
|
||||
get_activity_run_seconds = 30
|
||||
get_sessions = true
|
||||
get_sessions_run_seconds = 30
|
||||
|
||||
[sonarr-1]
|
||||
url = sonarr1.domain.tld
|
||||
apikey = xxxxxxxxxxxxxxxx
|
||||
ssl = false
|
||||
verify_ssl = true
|
||||
missing_days = 7
|
||||
missing_days_run_seconds = 300
|
||||
future_days = 1
|
||||
future_days_run_seconds = 300
|
||||
queue = true
|
||||
queue_run_seconds = 300
|
||||
|
||||
[sonarr-2]
|
||||
url = sonarr2.domain.tld
|
||||
apikey = yyyyyyyyyyyyyyyy
|
||||
ssl = false
|
||||
verify_ssl = true
|
||||
missing_days = 7
|
||||
missing_days_run_seconds = 300
|
||||
future_days = 1
|
||||
future_days_run_seconds = 300
|
||||
queue = true
|
||||
queue_run_seconds = 300
|
||||
|
||||
[radarr-1]
|
||||
url = radarr1.domain.tld
|
||||
apikey = xxxxxxxxxxxxxxxx
|
||||
ssl = false
|
||||
verify_ssl = true
|
||||
|
||||
[radarr-2]
|
||||
url = radarr2.domain.tld
|
||||
apikey = yyyyyyyyyyyyyyyy
|
||||
ssl = false
|
||||
verify_ssl = true
|
||||
|
||||
[ombi]
|
||||
url = ombi.domain.tld
|
||||
apikey = xxxxxxxxxxxxxxxx
|
||||
ssl = false
|
||||
verify_ssl = true
|
||||
|
||||
|
||||
[asa]
|
||||
url = firewall.domain.tld
|
||||
username = cisco
|
||||
password = cisco
|
||||
influx_db = asa
|
||||
ssl = false
|
||||
verify_ssl = true
|
Loading…
Reference in a new issue