Skip to content

Instantly share code, notes, and snippets.

let AUTH_TOKEN = "<token from Settings tab>";
let APP_BASE = "http://<feedxcavator host>:10000";
CmdUtils.CreateCommand({
name: "filter-word",
uuid: "0927A434-42CD-4BEC-96DC-9EB0FA884EE7",
description: "Add a regular expression to Feedxcavator word filter.",
arguments: [{role: "object", nountype: noun_arb_text, label: "regex"},
{role: "instrument", nountype: noun_arb_text, label: "word-filter"}, // with
],
@GChristensen
GChristensen / srt-sort.py
Created April 19, 2011 14:41
Sort srt subtitle entries by time
# Sort srt subtitle entries by time
# (C) 2011 g/christensen (gchristnsn@gmail.com)
# Launch this script in a directory containing srt subtitles
# or pass the directory name as an argument
import os
import sys
import re
import glob