This file contains hidden or 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
javascript:((i,a,p,c,m,s,l,e,j,r,u)=>{ | |
if($('#'+i)[0])return; | |
$('#stream-player').append( | |
`<div id=${i} textAlign="center"> | |
Jump: | |
<button>-30s</button><button> -10s</button> | |
<button> +10s</button><button>+30s</button><button>+1m</button><button> +3m</button><button>+10m</button> | |
Rate: | |
<input type=number step=0.05 min=0.25 max=4.0 value=1.00 style=width:4em> |
This file contains hidden or 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
#!/usr/bin/env python | |
# https://gist.github.com/benok/c1342272108ec00ee4b78a69733a1a70 | |
# (just translated https://gist.github.com/moritzheiber/7b08e7c89508054f67f9 in English) | |
import csv, sys,os | |
try: | |
file = open(sys.argv[1], "rt") | |
reader = csv.DictReader(file) |