Search found 164 matches

by gerben
Sun Jun 05, 2011 2:42 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: WL 520 doesnt start up
Replies: 15
Views: 28439

Re: WL 520 doesnt start up

You don't need a serial port to flash the openwrt firmware. I didn't use one. However if you want to add a display and button, you need it. Second, the wl520gu is available in holland for around 45 euro. So no a lot more than on ebay. 43 euro at redcoon. 45 euro at zercom (eindhoven), used to be 25 ...
by gerben
Thu May 12, 2011 3:04 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: alternatives to the WL-520gU
Replies: 48
Views: 558305

Re: alternatives to the WL-520gU

The Buffalo WZR-HP-G300NH seems like a good upgrade. Available for around 60 euro. 400Mhz; 32MB Flash; 64MB RAM. Should be enough for the new MPD that has grown so much. The only possible problem might be the Atheros processor which is MIPS and not MIPSEL. So as far as I can tell the packages provid...
by gerben
Thu Apr 28, 2011 10:35 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: Controlling mpd using the SES/AOSS/EZ-SETUP button
Replies: 27
Views: 64946

Re: Controlling mpd using the SES/AOSS/EZ-SETUP button

The most important one is /etc/hotplug.d/button/01-radio-control. This one will be executed every time you press or release the button. This script will call either buttonpressed or buttonreleased. Button pressed depends on mympc.sh, but if you replace every "/root/mympc.sh XXX" by "m...
by gerben
Thu Apr 28, 2011 8:18 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: How to play MMS protocol streams
Replies: 6
Views: 15013

Re: How to play MMS protocol streams

MixRio also has shoutcast (http://67.18.153.66:8060). You should check yourself if the others have one to.
by gerben
Wed Apr 27, 2011 9:45 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: arrrggghhhh- it's not dead but...
Replies: 4
Views: 9412

Re: arrrggghhhh- it's not dead but...

If all else fails you could just reflash the firmware. Openwrt doesn't have a reset-button like dd-wrt does, since it doesn't use the nvram (as far as I know). Edit Seems that openWRT has a failsafe mode, which doesn't mount the JFFS2, so leaves a fresh openwrt. More info at http://wiki.openwrt.org/...
by gerben
Sat Apr 23, 2011 7:20 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: Streaming duration?
Replies: 4
Views: 9846

Re: Streaming duration?

You could even program a sleep function. So if you haven't changed stations or volume etc. it will stop playing after say 1 hour. I did this myself. Every time I change channels I touch a file. Then I have a cronjob running every 5 min checking if the files modification time is more than 1 hour ago....
by gerben
Tue Apr 19, 2011 10:26 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: Controlling mpd using the SES/AOSS/EZ-SETUP button
Replies: 27
Views: 64946

Re: Controlling mpd using the SES/AOSS/EZ-SETUP button

I'm glad you found it useful. As for the lever. I quickly scribbled something for you http://diyphone.net/images/lever.png green is the push-pin. Red is the pivot with the top side pressing against the SES button. The small dot in my case is a nail. The green push pin is held in place by two holes i...
by gerben
Sat Apr 16, 2011 11:33 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: MPD Clients
Replies: 5
Views: 9556

Re: MPD Clients

The station name should appear once you start playing it. So the solution would be to cycle through all stations in the playlist once.
You could use a script like:

Code: Select all

mpc play 1
sleep 5
mpc play 2
sleep 5
....
#or use a loop
by gerben
Sat Apr 16, 2011 11:26 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: Autoplay on boot?
Replies: 3
Views: 8273

Re: Autoplay on boot?

You could even use cron to automatically start playing at, for example, 8am and stop at 10pm. I don't know if you keep the radio on all the time, or if its plugged in when needed. If its on all the time it might be smart to add a cron-job to run "mpc play" once and a while, just in case th...
by gerben
Sun Jan 02, 2011 10:12 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: List of radio stations available?
Replies: 8
Views: 31043

Re: List of radio stations available?

I must admit, it's not very easy the view the url on the shoutcast website. Go to shoutcast. Find the station you like. Right click on the blue (underlined) station name and choose something like 'open in new tab'. After the new tab opens a download dialog appears. Save to your pc. Open the .pls fil...