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
| # this requires your content naming scheme includes the resolution in the file name | |
| # --> (Show Title - s01e02 - Episode Name - WEBDL-2160p - (h265 EAC3 Atmos) - GROUP.mkv) | |
| # the script will then first check locally to make sure the ffmpeg transcode process is transcoding video (audio and container is allowed) | |
| # and makes sure "2160p" is in the file name, if both cases are true then the script will kill the process and show the user an error message | |
| import os | |
| import re | |
| import requests | |
| import time | |
| import logging |
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 sys | |
| import json | |
| import logging | |
| import requests | |
| import argparse | |
| from rich.progress import track | |
| emby_base_url = 'https://emby.domain.com' | |
| emby_api_key = 'fill_me_out' |
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 sys | |
| import requests | |
| from rich.table import Table | |
| from rich.console import Console | |
| emby_base_url = 'https://emby.example.com' | |
| emby_api_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' | |
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 json | |
| import time | |
| start_time = time.time() | |
| # ----------------- CONFIG ----------------- # | |
| SONARR_URL = 'https://sonarr.example.com' | |
| SONARR_PORT = 443 |
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 json | |
| HOST_URL = 'https://emby.example.com' | |
| API_KEY = '*************************' | |
| TARGET_LIB_ID = '*************************' # Used library GUID | |
| class EmbyHelper: |
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/bash | |
| # required programms: kdotool, ydotool, firefox | |
| # - chatgpt needs to be open/pinned to the first tab of firefox | |
| # - Make sure the chatgpt tab is renamed to include "chatgpt" in the title | |
| # - Use something like https://github.com/Lazyuki/ReTitle to do this (e.g. $0 - chatgpt) | |
| command -v kdotool >/dev/null 2>&1 || { echo "DEBUG: Missing kdotool."; exit 1; } | |
| command -v ydotool >/dev/null 2>&1 || { echo "DEBUG: Missing ydotool."; exit 1; } |