Permalink
Browse files

readme / license

  • Loading branch information...
1 parent d4152d0 commit 265178023bde1fe1b52486a1a9539c79a071af0f @jnewland committed Jun 28, 2012
Showing with 53 additions and 6 deletions.
  1. +21 −0 LICENSE.md
  2. +31 −6 README.md
  3. +1 −0 lib/nowplaying.rb
View
@@ -0,0 +1,21 @@
+The MIT License
+
+Copyright (c) Jesse Newland, jesse@jnewland.com
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
@@ -1,8 +1,27 @@
-## Running on Heroku
+# rdio Now Playing
-Clone this repo.
+http://rdio-nowplaying.herokuapp.com/
-In the clone:
+Simple app to toss up on your media center TV that shows what song is currently playing in your rdio account.
+
+# Hacking
+
+Grab an [rdio API key](http://developer.rdio.com/)
+
+Create a `.env` file in this repo with your keys and the poll interval:
+
+ RDIO_CONSUMER_KEY=foo
+ RDIO_CONSUMER_SECRET=bar
+ POLL_INTERVAL=30
+
+Then start:
+
+ bundle install
+ foreman start
+
+Boom: http://localhost:4567
+
+# Running your own copy on heroku
heroku create --stack cedar jnewland-rdio-nowplaying
@@ -16,8 +35,14 @@ Ship it:
git push heroku master
-Fire up a web process:
+# OMGHAX
+
+This currently uses a HTML meta refresh tag to update on a poll interval. lol.
+
+# Credit Where Credit Is Due
+
+Styles shamelessly copypasta'd from [play](https://github.com/play/play).
- heroku scale web=1
+# License
-Hit up [papertrail](https://papertrailapp.com/events) and check on the logs.
+MIT
View
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby
+# (c) 2012 Jesse Newland, jesse@jnewland.com
# (c) 2011 Rdio Inc
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal

0 comments on commit 2651780

Please sign in to comment.