This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sort srt subtitle entries by time | |
# (C) 2011 g/christensen ([email protected]) | |
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
], |