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
[CmdletBinding()] | |
param ( | |
[Parameter(ValueFromRemainingArguments=$true)] | |
$Path | |
) | |
# This script extracts the audio content from downloaded videos. It's meant to be run by drag-and-dropping the video | |
# onto the script. However since you can't do that directly to Powershell scripts, set it up this way: | |
# 1. Install Powershell | |
# 2. Make a shortcut to this script on your Desktop (call it what you like) |
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
#!/bin/env python3 | |
import json | |
from Levenshtein import distance | |
import unidecode | |
import re | |
from pprint import pprint | |
ARTISTS = {} # '<normalized name>': set(<variations>) |