Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 611 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 611 Bytes

bgm.rb

Music Player

PLAY DUBSTEP

bundle install
bundle exec -- ruby bgm.rb dubstep

WITH YOUR FAVORITE PLAYER

bundle exec -- ruby bgm.rb dubstep --player 'avplay -nodisp -autoexit'

SET PLAYBACK RATE

bundle exec -- ruby bgm.rb dubstep --rate 0.5

PLAY ALL TRACKS AT ONCE

bundle exec -- ruby bgm.rb dubstep --async

PLAY TRACKS AT RANDOM

bundle exec -- ruby bgm.rb dubstep --shuffle

HOW IT WORKS

bgm.rb uses iTunes Store's Search API.