OpenWrt/Music

From Wiki
< OpenWrt
Revision as of 18:14, 27 September 2012 by Marcluer (talk | contribs)

OpenWrt music streaming

Streaming music via OpenWrt on 4MB flash router

Install packages

opkg update
opkg install kmod-usb-audio kmod-usb-ohci kmod-usb-core kmod-sound-core madplay

create "madplay.sh"

mkdir /etc/scripts
touch madplay.sh
chmod madplay.sh +x
vi madplay.sh

madplay.sh

#! /bin/sh

while true
 do
    wget -O - http://192.168.111.10:8000 | madplay -
    sleep 30
 done