Skip to content

Instantly share code, notes, and snippets.

View maud3l's full-sized avatar

Mauro De Lillo maud3l

  • Barcelona
View GitHub Profile

Download Audio from YouTube

-i - ignore errors

-c - continue

-t - use video title as file name

--extract-audio - extract audio track

@maud3l
maud3l / get_movies_from_emby.py
Created April 21, 2022 02:27
Get all unplayed movies from Emby Server
import requests
EMBY_API_KEY=""
EMBY_USER=""
EMBY_URL=""
auth_header = {"X-Emby-Token": EMBY_API_KEY}
users = requests.get(f"{EMBY_URL}/Users", headers=auth_header).json()
for user in users:
if user.get('Name') == EMBY_USER:
@maud3l
maud3l / apple-services-allowlist
Created June 29, 2023 12:35
Apple Services Allowlist
! Title: Apple Services Allowlist
! Description: List for whitelisting Apple Services to avoid issues with Airdrop for example
||appleid.apple.com^
||ax.phobos.apple.com.edgesuite.net^
||ocsp.apple.com^
||radarsubmissions.apple.com^
||news.iadsdk.apple.com^
||iadsdk.apple.com^
||cf.iadsdk.apple.com^
@maud3l
maud3l / logid.cfg
Created July 15, 2023 10:20
Logitech MX Master 3S Configuration with LogiOps
devices: (
{
name: "MX Master 3S";
smartshift:
{
on: true;
threshold: 30;
};
hiresscroll:
{