Sha256: 1fc89bd8278497e59688ed72e4f59d88e6bb19e0335227d4475575b62355d9b0

Contents?: true

Size: 1.79 KB

Versions: 1

Compression:

Stored size: 1.79 KB

Contents

# Boombox
[![Gem Version](https://badge.fury.io/rb/lucio-mp3.svg)](https://badge.fury.io/rb/lucio-mp3) [![Test Coverage](https://codeclimate.com/github/RHesketh/cinch-uno/badges/coverage.svg)](https://codeclimate.com/github/RHesketh/lucio-mp3/coverage) [![License Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/UNLICENSE)

An incredibly tiny Shoutcast server that can be embedded into Ruby applications. It has been designed with an emphasis on keeping listeners in synch with each other, so as to maximise the shared experience.

## Installation
First install the gem by running:

```
[sudo] gem install boombox
```

or, even better, by adding it to your `Gemfile`:
```
gem 'boombox' ~> "0.0.1"
```

Now use it in your code:

```ruby
require "boombox"

server = Boombox.new(7777)                        # Use port 7777
server.start                                      # Start the server
server.play("path_to_mp3_file.mp3")               # Play an MP3 file to all listeners
server.play("mp3_file_folder/", loop: true)       # Play all MP3 files in a folder, looping continuously
server.play("mp3_file_folder/", shuffle: true)    # Play all MP3 files in a folder in a random order
```

## Documentation
Project documentation can be found [here](#).

## Tests
The plugin has unit and integration tests. To run them:
`rake test`

You may need to `bundle install` first.

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/RHesketh/boombox. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
boombox-0.0.2 docs/wip/README.md