https://github.com/tubbo/walkon
Entrance music for your office.
https://github.com/tubbo/walkon
Last synced: about 1 month ago
JSON representation
Entrance music for your office.
- Host: GitHub
- URL: https://github.com/tubbo/walkon
- Owner: tubbo
- License: mit
- Created: 2013-10-29T02:36:01.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T08:32:57.000Z (over 1 year ago)
- Last Synced: 2024-05-21T12:29:57.103Z (11 months ago)
- Language: Ruby
- Homepage: http://tubbo.github.io/walkon
- Size: 78.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Walkon
Walkon plays your entrance music. It's a daemon process that
periodically checks `hcitool scan` for new Bluetooth devices, then uses
their ESSIDs to find tracks to play as they enter the network.### Status: Alpha
This is definitely not ready for prime-time use. Don't complain to me if
it breaks.## Installation
Walkon requires the following components to have already been installed:
- [Ubuntu][ubu] (for best results, but any Linux that supports BlueZ will do)
- [Ruby][rb] 2.x or above
- [BlueZ][bz], the official Linux Bluetooth protocol stack
- [XMMS][xm], a command-line audio player for LinuxInstall the gem from RubyGems:
```bash
$ gem install walkon
```You must also connect speakers to your machine's soundcard output in
order to actually hear tracks...## Usage
Place an MP3 in `/music` that corresponds with your device's ESSID.
So, if your device's name is "iPhone5", you would upload a track like
so (from your own machine):```bash
$ scp your-track.mp3 walkon:/music/iPhone5.mp3
```Then, run the daemon process to sniff for that ESS ID and play the track
when it first becomes available (on the host machine):```bash
$ walkon
```To find out more about how it works, read the [Documentation][docs].
## Contributing
1. Fork this project
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Commit your tests (`git commit -am "I'm a good boy because I test my code"`)
5. Push to the branch (`git push origin my-new-feature`) and create Pull Request.[docs]: http://rdoc.info/github/tubbo/walkon
[ubu]: http://ubuntu.com
[rb]: http://ruby-lang.org
[bz]: http://www.bluez.org/
[xm]: http://www.xmms.org/