Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View nando's full-sized avatar

Fernando García Samblas nando

View GitHub Profile
@branch14
branch14 / gist:743495
Created December 16, 2010 15:04
mplayer.rb
# control mplayer remotely via rack
#
# load & append files (mp3, ogg, etc) & lists (m3u)
# http://localhost:3000/mplayer/loadfile+http://www.archive.org/download/af002/03_Swiss_Jazz.mp3
# http://localhost:3000/mplayer/loadlist+http://www.archive.org/stream/af002
#
# playback
# http://localhost:3000/mplayer/pause
# http://localhost:3000/mplayer/stop
#