Re: Streaming mp3 files using Musicbrowser (advice needed)
- --- In firstname.lastname@example.org, Thomas Reitmayr <treitmayr@...> wrote:
>provided in a very basic way. From looking at the source code,
> Hi Joao,
> as stated on the Musicbrowser's website, server-side playback is
starting a new song should stop the current song and start the new one
if index.php contains the recommended
> 'serverPlayer' => "killall madplay; /usr/bin/madplay"implementing some additional code.
> Just stopping the current song does not seem to be possible without
>alternative solution would be MPD with the RELAXX web frontend
> If in your setup you mainly want the _slug_ to play audio, an
(http://relaxx.dirk-hoeschen.de/). I personally like MPD because it
can be easily controlled in many different ways - eg. via a web
frontend, or in my case an IR remote control + occasionally some Linux
> For playback on your laptop you would have to use a differentsolution though, eg. just mount the slug's HD via Samba.
> Von: jmir_po <j-mir@...>
> An: email@example.com
> Gesendet: Samstag, den 20. Dezember 2008, 15:42:22 Uhr
> Betreff: [nslu2-linux] Streaming mp3 files using Musicbrowser
>Hi, Thomas! It's good to hear from you again!
> Hi, all!
> I use Musicbrowser as a web frontend to stream mp3 files to a pair of
> speakers connected to the Slug (unslung 5.5) using a audio usb dongle.
> For the needed configurations I followed the wiki at
> http://www.nslu2- linux.org/ wiki/HowTo/ SlugAsAudioPlaye r
> Here's some more details about my home network: the NSLU2 unit is
> connected to a Wireless Modem-Router Thomson TG737. I run Windows
> Vista on my laptop and I've installed Lighttpd as webserver + php-fcgi
> + madplay software.
> After some configuration work (I am not yet very familiar with Linux)
> I managed to put all things together and it works ok with one
> important exception:
> I cannot control the stop/replay buttons at Musicbrowser GUI when I
> choose to play mp3 files using the option "Server" (so it could stream
> the music to the speakers connected to the Slug and not to the small
> speaker's laptop)... In fact, when I choose to play a mp3 file it
> plays till the end and there's no way to stop the music before it
> ends... This is specially annoying if you choose several files to play
> and then you decide to stop or change the queued files...
> So, my question is: is there any option (maybe at the index.php file)
> which allows to control Musibrowser so I could stop the playing or
> this is not possible..? Or maybe someone could suggest some other
> frontend web application offering more control and configuration info?
> Thanks in advance
Thank you for your suggestion about trying the web frontend Relaxx
(http://relaxx.dirk-hoeschen.de/) for streaming audio files using
unslung 5.5 over a home network.Compared to Musicbrowser it's far much
better in terms of features and even in speed. I can confirm that used
together with Lighttpd for streaming mp3 files it work's like a sharm.
The only feature missing (compared with Musicbrowser) is the
capability of showing album art (well, it would be even better if,
besides mp3 and flac audio formats, the author could give support for
some other formats...)
In terms of installation, I'll add here a detail that might be usefull
for other users interested in achieving this and not very familiar
with Linux environment (like me): it took me some time (and efforts)
before I could understand that I should place the Relaxx files into
Lighttpd folder or the browser won't start the application; the same
is true with Musicbrowser... I don't know the reason...
(also, for those interested in this, I used 3 very detailed wiki's
which I recommend: mpd wiki - http://mpd.wikia.com/wiki/Configuration;
HiFi Hacks - http://www.hifihacks.com/?page_id=65
and the initial nlsu2-linux -
I've just purchased the X-Fi Mod sound card from Creative and I'll
share my experience as soon as I get the time to give it a try with
the Slug... Do you know anything about it?