-
echoprint.vbs
This script provides song identification service. It depends on two programs: ffmpeg (or sox) and ENMFP_codegen. Their path has to be set inside script. -
nest.vb
LinqPad example -
re_allmusic.vbs
foobar2000, Biography View script that can be used to display artist biography and album review according allmusic.com scrapped with regex
View gist:d99e47c91b1f188a89ea7a1491cd1911
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
>npm install | |
npm WARN prefer global npm@3.10.6 should be installed with -g | |
npm WARN prefer global node-gyp@3.4.0 should be installed with -g | |
> nslog@3.0.0 install D:\src\nteract\node_modules\nslog | |
> node-gyp rebuild | |
D:\src\nteract\node_modules\nslog>if not defined npm_config_node_gyp (node "C:\Users\user\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) | |
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. |
View mp4split_stderr.py
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
mp4box = 'c:\Programs\GPAC\MP4Box.exe' | |
def tosec(s): | |
# convert time signature to seconds as float | |
from datetime import datetime | |
dt = datetime.strptime(s, '%H:%M:%S.%f') | |
return dt.hour * 3600 + dt.minute * 60 + dt.second + dt.microsecond * 10e-7 | |
View nest.vb
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
Try | |
Dim foo As New Foobar2000.Application07Class() | |
Dim artist As String = foo.Playback.FormatTitle("%artist%") | |
Dim title As String = foo.Playback.FormatTitle("%title%") | |
If Not String.IsNullOrEmpty(title) Then | |
Dim url As String = "http://developer.echonest.com/api/v4" | |
Dim song As XDocument = XDocument.Load(String.Format("{0}/song/search?api_key={1}&artist={2}&title={3}&results=1&format=xml", _ | |
url, Util.GetPassword("api.echonest"), System.Uri.EscapeDataString(artist), System.Uri.EscapeDataString(title))) |
View artistSearch.hta
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://ajax.cdnjs.com/ajax/libs/json2/20121008/json2.js"></script> | |
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dojo/dojo.js" data-dojo-config="parseOnLoad:true"></script> | |
<script> | |
dojo.require("dojo.parser"); | |
dojo.require("dojox.image.LightboxNano"); | |
</script> | |
<HTA:APPLICATION |
View read.md