initial commit

This commit is contained in:
2014-02-05 14:27:09 +01:00
commit b359c34ed2
142 changed files with 9291 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="./styles/shCore.css" />
<link type="text/css" rel="stylesheet" href="./style.css" />
<link type="text/css" rel="stylesheet" href="./styles/shThemeDefault.css" />
<script type="text/javascript" src="./scripts/shCore.js"></script>
<script type="text/javascript" src="./scripts/shBrushBash.js"></script>
<script type="text/javascript" src="./scripts/shBrushJava.js"></script>
<script type="text/javascript">
SyntaxHighlighter.all();
</script>
</head>
<body>
<pre class="brush: bash; ; toolbar: false;">
#!/bin/sh
FLAC_FILE=$1
MP3_FILE=`echo ${FLAC_FILE} | sed 's/\.flac/.mp3/'`
metaflac --export-tags-to=/dev/stdout "${FLAC_FILE}" |
sed -e 's/=/="/' -e 's/$/"/' &gt; /tmp/tags-$$
cat /tmp/tags-$$
. /tmp/tags-$$
rm /tmp/tags-$$
flac -dc "${FLAC_FILE}" |
lame -h -b 192 \
--tt "${Title}" \
--tn "${Tracknumber}" \
--ty "${Date}" \
--ta "${Artist}" \
--tl "${Album}" \
--tg "${Genre}" \
--add-id3v2 /dev/stdin "${MP3_FILE}"
</pre>
<p>
[ <a href="index.html">Go home</a> ]
</p>
</body>
</html>