Skip to content

Instantly share code, notes, and snippets.

@imran0
imran0 / radarr_add_4k_tag.py
Last active March 30, 2024 03:37
Script to assign 4k tag on radarr films based on filename containing '2160p', assumes there is a 4k tag in radarr.
#!/usr/bin/env python
import os
import requests
# Set your Radarr URL and API key here
RADARR_URL = "XXX"
API_KEY = "XXX"
# Function to retrieve the tag ID for a given tag name
def get_tag_id(tag_name):
@imran0
imran0 / style.css
Created July 21, 2016 15:10
Salesforce Stylish CSS
.sfdcBody:not(.rlHoverFrame):not(.apexPageInline)::before,
.bPageHeader .messages .pageMsg {
width: 40%;
position: fixed;
top: 0;
left: 30%;
margin: 0;
border-radius: 0 0 5px 5px;
z-index: 9999;
background-color: #ffb75d;