Results 1 to 2 of 2

Thread: Does anyone wanna make online radio player?

  1. #1
    Join Date
    Mar 2009
    Location
    BKK
    Posts
    1

    Does anyone wanna make online radio player?

    You must have usb sound card.


    I wanna make my WL500GPv2 to be online radio player,but I though my usb sound card may not fully compatible with Oleg's firmware.

    1. upgrade firmware from http://code.google.com/p/wl500g/downloads/list .
    I have used WL500gpv2-1.9.2.7-d-r396.trx ,it's newest firmware version
    2. install program "madplay"
    3. create file "/opt/etc/init.d/S91audio" with the content inside
    Code:
    #!/bin/sh
    #put this file as /opt/etc/init.d/S91audio
    insmod /lib/modules/2.4.37.2/soundcore.o
    insmod /lib/modules/2.4.37.2/audio.o
    4. extract the file "music_control.rar" in to your web content path and change permission of file "play","play_mp3","play_stream" to be executable file.
    5. create directory "mp3" ไว้ที่ "/tmp/mnt/disc0_3/mp3"
    put .mp3 files inside it.
    create .url file and type url of online radio inside it such as my_radio.url which contained
    Code:
    http://210.1.51.137:7777
    (support only http://, doesn't support mms://

    open url of you web server with path to music_control you extracted from .rar file .

    The button "MP" is list of files in "/tmp/mnt/disc0_3/mp3".
    The button "PL" is list of playlist.

    When program play .url file ,it will play stream from online radio site.

    After you do all steps you may check by type "/opt/etc/init.d/S91audio"
    then type "dmesg" to see message look like
    Code:
    usb.c: registered new driver audio
    usbaudio: device 4 audiocontrol interface 0 has 1 input and 1 output AudioStreaming interfaces
    usbaudio: device 4 interface 2 altsetting 1 channels 1 framesize 2 configured
    usbaudio: valid input sample rate 24000
    usbaudio: device 4 interface 2 altsetting 1: format 0x00000010 sratelo 24000 sratehi 24000 attributes 0x00
    usbaudio: device 4 interface 1 altsetting 0 does not have an endpoint
    usbaudio: device 4 interface 1 altsetting 1 channels 2 framesize 2 configured
    usbaudio: valid output sample rate 48000
    usbaudio: device 4 interface 1 altsetting 1: format 0x01000010 sratelo 48000 sratehi 48000 attributes 0x00
    usbaudio: registered dsp 14,3
    usbaudio: constructing mixer for Terminal 3 type 0x0301
    usbaudio: registered mixer 14,0
    usbaudio: constructing mixer for Terminal 6 type 0x0101
    usbaudio: registered mixer 14,16
    usb_audio_parsecontrol: usb_audio_state at 8163a9a0
    audio.c: v1.0.1:USB Audio Class driver


    PS. the music controller web was modified from PHPSOUND of rmdijkman@wl500g.info at http://www.wl500g.info/showthread.php?t=1670

    Let you try this ,then response result of yours.
    because my WL500 sounded only continuously long beep.
    Attached Files Attached Files

  2. #2
    Sorry, but you can for more instructions?
    Web interface is started and opens to solve this. But as the play list do not understand? To prescribe that, where it lay?

Similar Threads

  1. How to disable the radio whenever possible
    By knulp79 in forum WL-500gP Tutorials
    Replies: 12
    Last Post: 11-12-2011, 00:42
  2. Problems compiling custom based firmware (using Kfurge howto)
    By Hytekk in forum WL-700g Firmware Discussion
    Replies: 17
    Last Post: 24-09-2007, 03:38

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •