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
server { | |
listen 80 default_server; | |
root /config/www/Dashboard; | |
index index.html index.htm index.php; | |
server_name _; | |
client_max_body_size 0; | |
location / { | |
try_files $uri $uri/ /index.html /index.php?$args =404; |
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
<?php | |
function processMessage($message) { | |
$groupchat = '-XXXX'; // Group chat id | |
// process incoming message | |
$message_id = $message["message_id"]; | |
$chat_id = $message["chat"]["id"]; | |
$response = array("chat_id" => $chat_id); | |
$plextoken = "YYYY"; // Plex token | |
$plexbaseurl = "https://ASFASFASF.plex.direct:32400"; // PLEX DIRECT 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
# make sure that your dns has a cname set for radarr and that your radarr container is not using a base url | |
server { | |
listen 443 ssl; | |
listen [::]:443 ssl; | |
server_name radarr.*; | |
include /config/nginx/ssl.conf; |
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
QBITTORRENT_PATH=<PATH> | |
QBITTORRENT_WEBUI_PORT=<PORT> | |
DOWNLOAD_PATH=<PATH> | |
MEDIA_PATH=<PATH> | |
JACKETT_PATH=<PATH> | |
SONARR_PATH=<PATH> | |
RADARR_PATH=<PATH> | |
DOMAIN=<YOUR DOMAIN> | |
TZ=<Timezone e.g. Europe/Budapest> | |
USERDIR=<HOME DIR PATH> |
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
#!/usr/bin/env bash | |
# Appbox installer for radarr, sonarr, flexget, filebot, couchpotato, sickrage, nzbget, nzbget, ombi, jackett & synclounge. | |
# | |
# Just run this on your Ubuntu VNC app via SSH or in the terminal (Applications > Terminal Emulator) using: | |
# sudo bash -c "bash <(curl -Ls https://gist.github.com/coder8338/a614f156c916b35becf11c53352b499a/raw)" | |
# | |
# I do not work for appbox, just a friendly user helping others out, I will try to keep this as update to date as possible! | |
set -e | |
set -u |
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
#!/usr/bin/env python3 | |
""" | |
Extract archives from a Deluge download and then call Rad/Sonarr to import the files. | |
Extra files (as configured in radarr or sonarr) are also copied to the | |
extraction directory. | |
This script has been tested with: | |
- Linux (tested with Arch) |
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
#!/usr/bin/python | |
#-------------------------------------------------------------------------------------------------- | |
#-- Movie Tag Updater for Radarr | |
#-------------------------------------------------------------------------------------------------- | |
# Program : RadarrTagarr | |
# To Complie : n/a | |
# | |
# Purpose : Add tags and profiles to radarr movies. Tags are retreived from Radarr. | |
# Say Y to add a tag. N to skip a tag. N for all tags will remove all tags. | |
# |
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 | |
from pushover import Client | |
# Settings | |
# URL example: "https://sonarr.domain.com" or "192.168.1.1:8989" | |
sonarr_url = "" | |
sonarr_api = "" | |
radarr_url = "" | |
radarr_api = "" |
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
# Scans your plex movies, if a movie has only SD quality, it will send it to Radarr | |
# pip install plexapi | |
# python 3.6+ | |
# | |
from plexapi.server import PlexServer | |
import re | |
import requests | |
plex_url = 'http://192.168.1.100:32400' | |
plex_token = 'abc123' |
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
#!/bin/sh | |
RADARR_API_URL="http://radarr.com/api" | |
RADARR_API_KEY="PUT_YOUR_API_KEY_HERE" | |
history=$(curl -s ${RADARR_API_URL}/history?page=1\&pageSize=20\&sortKey=date\&sortDir=desc -H "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7" -X GET -H 'X-Api-Key: '$RADARR_API_KEY'' -k) | |
history=$(echo $history | tr -d '\n' | tr -d '\r' | tr -d '\b') | |
grabbed=$(echo $history | jq '.records | .[] | select(.movie.monitored) | select(.movie.downloaded | not) | select(.eventType=="grabbed") | .movieId') | |
grabbed=$(echo $grabbed | sed 's/ /, /g') | |
grabbed="[${grabbed}]" |
NewerOlder