Compare commits
No commits in common. "1f9a0ea586bc9a66e29156f5d05b8834fa1ded2a" and "c0e2ab012982e0c6a5239cbc71bbd5a138d92a57" have entirely different histories.
1f9a0ea586
...
c0e2ab0129
|
@ -1,14 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
ls media/*\ -\ *.mp3 | while read line ; do
|
||||
UUID=$(./jukebox/node_modules/.bin/uuid v4)
|
||||
echo "mv \"$line\" \"media/$UUID\""
|
||||
|
||||
FILE=$(basename "$line" ".mp3")
|
||||
set -- $FILE
|
||||
|
||||
TAG=${@:1:1}
|
||||
LABEL=${@:3}
|
||||
echo "INSERT INTO tags (tag) VALUES (\"$TAG\");" 1>>/dev/stderr;
|
||||
echo "INSERT INTO library (tag, label, uuid) VALUES (\"$TAG\", \"$LABEL\", \"$UUID\");" 1>>/dev/stderr;
|
||||
done
|
|
@ -10,10 +10,7 @@ body {
|
|||
h1 {
|
||||
font-size: 2rem;
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
h1 a, h1 a:active, h1 a:visited, h1 a:hover {
|
||||
color: hsl(182.8, 70.2%, 42.2%);
|
||||
text-decoration: none;
|
||||
color: hsl(182.8, 70.2%, 42.2%)
|
||||
}
|
||||
h2 {
|
||||
margin-bottom: 0.5ex;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<body>
|
||||
<div class=header>
|
||||
<h1 class=page-title><a href="/">jukebox.stop.wtf</a></h1>
|
||||
<h1 class=page-title>jukebox.stop.wtf</h1>
|
||||
</div>
|
||||
<div class="main-content">
|
||||
{{{body}}}
|
||||
|
|
Loading…
Reference in New Issue