@@ -9,4 +9,10 @@ do | |||
album=$(banshee --query-album | sed 's/album: //') | |||
echo "Calexil is listening to $title by $artist on $album" | |||
sleep 6 | |||
if $currentTrack == $currentTrack | |||
then | |||
sleep 5 | |||
else | |||
wget $currentTrack 'https://bansheebot.herokuapp.com/endpoint' | |||
fi | |||
done |
@@ -6,6 +6,8 @@ const app = express() | |||
app.use(express.static('public')); | |||
app.listen(process.env.PORT, () => console.log(`App listening on port ${process.env.PORT}!`)) | |||
wget --post-data "trackName=HelloWorld" https://bansheebot.herokuapp.com/endpoint | |||
const responseObject = { | |||
"test": "It worked!", | |||
"best girl?": "Big Band.", |