The following used [ffmpeg][] to detect and decode files, and [sox][] to adjust gain.
The following shell script will detect HDCD files that were ripped bit-perfect (EAC/XLD).
#!/bin/sh -
| # /etc/caddy/Caddyfile | |
| { | |
| log { | |
| output file /var/log/caddy/caddy.log | |
| format json | |
| } | |
| } | |
| (logging) { |
| import java.net.InetAddress; | |
| import java.net.UnknownHostException; | |
| import java.util.Calendar; | |
| import java.util.Optional; | |
| public class DnsDemo { | |
| public static void main(String[] args) throws Exception { | |
| while (true) { | |
| System.out.printf("%1$tH:%1$tM:%1$tS%n", Calendar.getInstance()); | |
| printAddressInfo(addressOf("www.google.com")); |
| require 'em-http' | |
| EM.run do | |
| def dispatch(uri, retries = 0) | |
| h = EM::HttpRequest.new(uri).get | |
| h.callback { |rep| [:success, rep.response]; EM.stop } | |
| h.errback do |rep| | |
| p [:fail, rep] |
Long story, short: I'm totally open to supporting more rubies if possible. Details follow.
Related issue: http://code.google.com/p/logstash/issues/detail?id=37
Summary: