Skip to content

Instantly share code, notes, and snippets.

@jaylinski
jaylinski / kodi.strm
Last active December 10, 2022 13:27
Kodi playlist containing free and public TV streams from DE/AT/CH with DRM support.
#KODIPROP:inputstream=inputstream.adaptive
#KODIPROP:inputstream.adaptive.manifest_type=mpd
#KODIPROP:inputstream.adaptive.license_type=com.widevine.alpha
#KODIPROP:inputstream.adaptive.license_key=https://drm.ors.at/acquire-license/widevine?BrandGuid=13f2e056-53fe-4469-ba6d-999970dbe549&userToken=<token>||R{SSM}|
https://orf1.mdn.ors.at/out/u/orf1/drmqxa/manifest.mpd
@Pash237
Pash237 / remove_google_photos.js
Last active June 27, 2020 13:58
Script to remove Nikon SnapBridge images from Google Photos
#!/usr/bin/env node
var fs = require("fs");
var argv = process.argv.slice(2);
var exec = require('await-exec');
class Photo {
constructor(id) {
this.id = id;
this.filename = null;
@AgentOak
AgentOak / youtube_formats.md
Last active May 9, 2024 17:31
Youtube Format IDs

Last updated: April 2021

Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22). Depending on the age and/or popularity of the video, not all formats will be available.

DASH video

Resolution AV1 HFR High AV1 HFR AV1 VP9.2 HDR HFR VP9 HFR VP9 H.264 HFR H.264
MP4 MP4 MP4 WebM WebM WebM MP4 MP4
@peta
peta / fm4-grabber.rb
Last active June 25, 2020 20:25
Die Jungs von ORF/FM4/APA haben offenbar den Publishingworkflow und die Integration der FM4oD Mitschnitte auf fm4.orf.at überarbeitet -- und somit mein altbewährtes Grabber-Bashskript unbrauchbar gemacht. Die neue Lösung ist etwas komplexer, weswegen ich das Skript auch mit Ruby anstatt Bash umgesetzt habe, aber funktioniert dennoch gewohnt zuve…
#!/usr/bin/env ruby
# encoding: UTF-8
require 'uri'
require 'open-uri'
require 'json'
require 'nokogiri'
class PodcastGrabber