Skip to main content

musicpal

I have two musicpals in my network (I gave up on FM tuners a while ago).
They have some great features:
  • alarm clock
  • sleep timer
  • internet radio
  • rss reader
  • play files from media server on your PC

These are great little devices apart from the fact that they only play files from the media server in alphabetical order (or random), so forget listening to that concerto...
Also the sound is rather horrible but that is easily fixed. I hooked up a JBL clt1 monitor speaker which is actually more efficient than the built in speaker.

musicpal with ctl1 speakerThe musicpal comes with a webserver so it can be controled from any pc in your network via a browser. This is great, it allows me to control the alarm functions on my home server via http requests.

You can do it in perl like this


#!c:/perl/bin/perl.exe
use LWP::UserAgent;

$wup = time()+ 300;
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($wup); print "$hour : $min \n"; my $ua = LWP::UserAgent->new;
my $req = HTTP::Request->new(GET => 'http://your-musicpal-address/admin/cgi-bin/admin.cgi?f=wakeup_timer&n=../wakeup_timer.html&type_1=1&hour_1='.$hour.'&minute_1='.$min.'&apply=Apply');
$req->authorization_basic('admin','adminpassword'); $ua->request($req)->as_string;

The script sets the alarmclock time five minutes ahead.

The musicpal runs on a flavour of linux and you can telnet to the device. Before you can do that you must enable the telnet daemon. In the newer versions of he firmware there is a hidden admin page. Call that page via

http://your-musicpal-address/admin/cgi-bin/debug


After you started the daemon you can connect to the device.


The startup sound is in /usr/share

/usr/share $ ls -l
-rwxr--r-- 1 root root 208968 Mar 5 14:34 font_small.bin
-rwxr--r-- 1 root root 1902 Mar 5 14:34 i18n.xml
-rwxr--r-- 1 root root 171408 Mar 5 14:31 startup.mp3
drwxr-xr-x 2 root root 0 Mar 5 14:31 udhcpc
-rwxr--r-- 1 root root 69007 Mar 5 14:31 wakeup.mp3
drwxr-xr-x 11 root root 0 Mar 5 14:34 zoneinfo

Waking up with the startup sound is easy, just add a favorite via the web interface and put it on top.
Instead of an url just type in the path: /usr/share/startup.mp3 .
You can also make this the last entry of the favorites list, it then serves as an emergency file when your network is down.

After playing the file it will jump to the next favorite.

Comments