Skip to content

Instantly share code, notes, and snippets.

View agneevX's full-sized avatar
🎯
Focusing

Agneev Mukherjee agneevX

🎯
Focusing
View GitHub Profile
@agneevX
agneevX / dns
Last active May 16, 2024 16:42
Script to test against DNS servers
#!/bin/bash
UDP_SERVERS=(
"9.9.9.9"
"9.9.9.11"
)
TLS_SERVERS=(
"p0.freedns.controld.com"
)
@agneevX
agneevX / dv-mkv.json
Last active February 5, 2023 08:48
DV MP4/MKV release profiles for sonarr, based on TRASH Guides
{
"name": "DV (MKV)",
"includeCustomFormatWhenRenaming": false,
"specifications": [
{
"name": "DV",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": true,
"fields": {
@agneevX
agneevX / dns.sh
Last active February 26, 2022 05:57
Bash script to send quers tr
#
# To execute
# ./dns.sh google.com
#
# 69.69.69.69, 70.70.70.70, 71.71.71.71 are example IPs for ISP DNS servers
#
# Common CDNs to test for:
#
# se2.itunes.apple.com -> Akamai CDN
# i.scdn.co -> Fastly CDN
@agneevX
agneevX / homer.yml
Last active September 29, 2021 05:55
Homer configuration
This document has been moved to https://github.com/agneevX/server-setup/blob/master/homer/homer.yml.
@agneevX
agneevX / install_plex_trakt_scrobbler.sh
Last active May 15, 2021 12:44
A dirty bash script to install the Plex Trakt scrobbler
#!/bin/bash
set -e
PLEX_LOCATION="/var/lib/plexmediaserver"
TRAKT_DL_LOCATION="https://github.com/trakt/Plex-Trakt-Scrobbler/archive/master.zip"
if ! command -v unzip &> /dev/null; then
printf "unzip could not be found.. installing unzip \n\n"
sudo apt -y install unzip
fi
@agneevX
agneevX / radarr_connect.sh
Created January 13, 2021 12:11
Post-processing script for Radarr v3 w/ Telegram notifications
#!/bin/bash
#RADARRENVLOG="/pathtoalog.log"
radarr_eventtype=$radarr_eventtype
if [[ $radarr_eventtype == "Grab" ]]; then
radarr_download_client=$radarr_download_client # NZB/Torrent downloader client
radarr_download_id=$radarr_download_id # The hash of the torrent/NZB file imported (used to uniquely identify the download in the download client)
radarr_movie_id=$radarr_movie_id # Internal ID of the movie
radarr_movie_imdbid=$radarr_movie_imdbid # IMDb ID for the movie
radarr_movie_in_cinemas_date=$radarr_movie_in_cinemas_date # Cinema release date
@agneevX
agneevX / radarr_plexscan.sh
Created November 12, 2020 06:29
Radarr bash script for specific Plex library scanning
#!/bin/bash
radarr_eventtype=$radarr_eventtype
if [[ $radarr_eventtype == "Grab" ]]; then
radarr_download_client=$radarr_download_client # NZB/Torrent downloader client
radarr_download_id=$radarr_download_id # The hash of the torrent/NZB file downloaded (used to uniquely identify the download in the download client)
radarr_movie_id=$radarr_movie_id # Internal ID of the movie
radarr_movie_imdbid=$radarr_movie_imdbid # IMDb ID for the movie
radarr_movie_in_cinemas_date=$radarr_movie_in_cinemas_date # Cinema release date
radarr_movie_physical_release_date=$radarr_movie_physical_release_date # Physical release date