Jockey - play music
NOTE: still in development! most features are not implemented yet! Yes, the following things are the FUTURE.
Jockey is simple iTunes DJ controller on the web.
Alternative to play/play. Comparing below.
In a small hackathon, I provided BGM from my iTunes (using iTunes DJ).
Apple's Remote app for iOS device provided us a way to add songs for members. But we're writing code. you know, we want a way to add song on my machine.
Yes, we already have a way - GitHub's play. I think this is awesome. But it's little complicated.
I've just wanted to provide controlling iTunes DJ from web.
(Continued to "Why not play?" in below...)
OS X and iTunes
Jockey is designed for iTunes DJ.
- Go iTunes' preferences, check 'iTunes DJ'.
- Open 'iTunes DJ' in the source pane, then click "Settings".
- Make sure "Voting" is disabled.
Jockey is written in Ruby. 1.9.2 or higher is required.
1.9.3 is highly recommended.
$ git clone https://github.com/sorah/jockey.git $ cd jockey $ bundle install
$ bundle exec ./start
NOTE: we should do
thin -R config.ru instead of
rackup because of Sinatra's bug.
- Control iTunes DJ from web
- Realtime notification (using HTML5 EventSource)
- Powerful browsing
APIs (of course!)
Why not play?
play has the following problems (I think):
- Pusher, not bad. It's awesome.
- but there are limitation: 20 connections, 100000 messages / day in free account... (See Pricing page)
Why use Redis?
- I don't think play needs redis.
I've wanted just control my iTunes DJ, so consider using play if you want more features.
But, some feature requests may be accepted. give me pull request :)
Copyright (c) Shota Fukumori (sora_h) http://sorah.jp/
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.