Skip to content

Instantly share code, notes, and snippets.

@Ravencentric
Ravencentric / example.json
Created October 7, 2025 19:14
What would an NZB look like in other formats?
{
"meta": {
"title": null,
"passwords": [],
"tags": [],
"category": null
},
"files": [
{
"poster": "John <[email protected]>",
@Ravencentric
Ravencentric / downloader.py
Created March 4, 2024 17:15
Download a file using requests with a fancy rich progress bar
from __future__ import annotations
from pathlib import Path
import requests
from rich.progress import (
BarColumn,
DownloadColumn,
Progress,
SpinnerColumn,
// ==UserScript==
// @name Copy Filelist
// @namespace Violentmonkey Scripts
// @match https://animebytes.tv/torrents.php
// @grant none
// @version 1.0
// @author Marek
// @description 11/10/2023, 4:38:44 PM
// ==/UserScript==
(async()=>{
@Ravencentric
Ravencentric / RefreshMonitoredDownloads.py
Last active December 5, 2025 21:32
Script to refresh monitored downloads in Sonarr/Radarr
# Script to trigger the RefreshMonitoredDownloads task in Sonarr and Radarr
# Sonarr/Radarr only checks the monitored downloads every 60 seconds which
# means that your download could be done in 20 seconds but it'll sit there
# for an additional 40 seconds before Sonarr/Radarr check again. This script
# will run when a download finishes and trigger the RefreshMonitoredDownloads
# task.
import os
import requests
@Ravencentric
Ravencentric / comp.py
Created January 29, 2023 19:26 — forked from McBaws/comp.py
Create Comparisons for multiple video clips with automatic upscaling and uploading. This fork has support for FrameInfo, trimming from start and end, user selected frames, saving frame numbers, and improved handling of different aspect ratios.
"""
I do not provide support for this unless its an actual error in the code and not related to your setup.
You'll need:
- Vapoursynth (this was written R53 and python 3.9.6 & has been tested on R61 with Python 3.10.8)
- pip install pathlib anitopy pyperclip requests requests_toolbelt
- https://github.com/HolyWu/L-SMASH-Works/releases/latest/ (Install to your usual Vapoursynth plugins64 folder)
- (if using ffmpeg) ffmpeg installed & in path
How to use:
@Ravencentric
Ravencentric / p2p.groovy
Created January 14, 2023 14:47 — forked from rlaphoenix/p2p.groovy
Common style P2P Movies and TV filebot template
{
// Requirements: MediaInfo and libmediainfo v19.09 or newer.
// Examples:
// "The.IT.Crowd.S01E01.Yesterdays.Jam.1080p.AMZN.WEB-DL.DDP.5.1.H.264-PHOENiX"
// "Luca.2021.Repack.2160p.DSNP.WEB-DL.DV.DDP.5.1.Atmos.H.265-PHOENiX"
def Movie = false;
def Group = "PHOENiX"; // Only used if no Group Tag is detected in the original filenames
def Source = "AMZN WEB-DL"; // e.g. "DVD REMUX", "BluRay REMUX", "BRRip", and so on
def Edition = ""; // If empty or not set, it will be detected from the original filename
@Ravencentric
Ravencentric / comp.py
Created June 20, 2022 15:16 — forked from Vodes/comp.py
Create Comparisons for multiple video clips with automatic upscaling and uploading
"""
I do not provide support for this unless its an actual error in the code and not related to your setup.
You'll need:
- Vapoursynth (this was written & tested on R53 with Python 3.9.6)
- pip3 install pathlib anitopy pyperclip requests requests_toolbelt
- https://github.com/HolyWu/L-SMASH-Works/releases/latest/ (Install to your usual Vapoursynth plugins64 folder)
- (if using ffmpeg) ffmpeg installed & in path
How to use: