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
--- | |
--- | |
<?xml version="1.0" encoding="UTF-8"?> | |
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"> | |
<channel> | |
<title>{{ site.title }}</title> | |
<description>{{ site.description }}</description> | |
<link>{{ site.url }}</link> | |
<language>en</language> | |
<managingEditor>{{ site.managerName }} ({{ site.managerEmail }})</managingEditor> |
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
<div class="widget"> | |
<h3>Currently Listening To</h3> | |
<div id="pianobar"> | |
<div id="pianobarSong"></div> | |
<div id="pianobarArtist"></div> | |
<div id="pianobarAlbum"></div> | |
</div> | |
</div> | |
<script> | |
var ref = new Firebase("https://blazing-fire-5020.firebaseio.com/currentSong"); |
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
#!/usr/bin/ruby | |
require 'cgi' | |
trigger = ARGV.shift | |
if trigger == 'songstart' | |
songinfo = {} | |
STDIN.each_line { |line| songinfo.store(*line.chomp.split('=', 2))} |
NewerOlder