Light-weight web based music browser / streamer

Questions about using 3rd party Media Streaming software may go here
Forum rules
Please note the disclaimer before modifying your Synology Product.

Light-weight web based music browser / streamer

Postby mingoto » Wed Nov 07, 2007 9:03 pm

Music Browser is a light-weight web-based browser and streamer for you music collection. It is light enough to run flawlessly on NAS devices like the Linksys NSLU2 or Freecom FSG3, and could serve as a simple alternative to software like Andromeda.

I just released version 0.4. It supports rudimentary playback via Slimserver, in case you (like me) feel that the Slimserver UI isn't snappy enough. Slimserver and server side playback can be limited to certain hosts.

Other features:
- Stream folders (recursively) or single files to your player of choice (WinAmp, iTunes, ...) with automatically generated .m3u or .pls playlists.
- Play music on a server-connected sound card/loudspeakers using a player like madplay or mpg321.
- Covers are shown for folders and albums if they are available.

All feedback is appreciated. Really!

Get it at http: // musicbrowser . sf . net (remove spaces in URL)
mingoto
I'm New!
I'm New!
 
Posts: 6
Joined: Wed Nov 07, 2007 8:58 pm

Music Browser v0.8 released

Postby mingoto » Sun Feb 03, 2008 3:40 pm

Version 0.8 adds an embedded flash player. Download and more info at http://musicbrowser.sf.net/
mingoto
I'm New!
I'm New!
 
Posts: 6
Joined: Wed Nov 07, 2007 8:58 pm

Re: Light-weight web based music browser / streamer

Postby |m| » Thu Feb 14, 2008 4:26 pm

Hey,

Works perfectly fine with audio files in the /web/musicbrowser dir.

But is it possible to point it at the /music dir on my diskstation?
|m|
I'm New!
I'm New!
 
Posts: 5
Joined: Thu Feb 14, 2008 1:37 pm

Re: Light-weight web based music browser / streamer

Postby mingoto » Mon Mar 10, 2008 7:54 pm

Sure, just set 'path' => "/music" in index.php
mingoto
I'm New!
I'm New!
 
Posts: 6
Joined: Wed Nov 07, 2007 8:58 pm

Re: Light-weight web based music browser / streamer

Postby sunsetdk » Thu Mar 13, 2008 7:38 pm

I get an error trying to set it up on DS107+.128

ERROR: The $config['path'] "/music" isn't readable
sunsetdk
Beginner
Beginner
 
Posts: 24
Joined: Sun Apr 22, 2007 6:07 pm
Location: Denmark

Re: Light-weight web based music browser / streamer

Postby HarryPotter » Thu Mar 13, 2008 8:48 pm

/music is not correct, it should be /volume1/music
*Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!*

DS712+ / DSM 4.2 3211 / 2 x HD204UI (RAID0) / LMS 7.7.2-007
DS110+ / DSM 4.2 3211 / HD154UI
DS408 / DSM 4.0 2228 / 3 x ST31000340AS (RAID0) + 1 x HDS721010KLA330
DS207+ / DSM 3.1.1636 / ST31000340AS + WD5000KS
DS-106x / DSM 4.0 2228 (from DS108j) /

2 Squeezebox 3 + Boom
Rapsody N35

APC Smart UPS SUA750i
User avatar
HarryPotter
Honorary Moderator
Honorary Moderator
 
Posts: 12326
Joined: Mon Oct 23, 2006 12:48 pm
Location: Switzerland

Re: Light-weight web based music browser / streamer

Postby johnvh » Sun Mar 23, 2008 12:54 pm

Hi,

though I don't know nothing of Linux, telnet, etc.I have succeeded in installing your fantastic musicbrowser !
But still a problem: I have a ds-107 synology with standard music directory. I can't access this directory from within your program. I guess problem with user/password security. I don't have a clue how to make it accessible. I can play music from the webdirectory. Can you help me with this ?
Thx,
John
johnvh
I'm New!
I'm New!
 
Posts: 1
Joined: Sun Mar 23, 2008 12:49 pm

Re: Light-weight web based music browser / streamer

Postby Laurence Benjamin » Mon Mar 24, 2008 1:03 pm

Hi,

If php can't access the directory where your music files are, the script won't play the files. You get an error like "ERROR: The $config['path'] "/volume1/music" isn't readable". You need to add the music folder to php's config file. To do this:

- Enable telnet or ssh access to your Disk station: "http://www.synology.com/enu/support/download.php#Patches"
- Log on as root (the password is whatever your admin user password to the web interface is)
- edit "/usr/syno/etc/php.ini" adding "/volume1/music" to the "open_basedir" directive.

To do this:
- type "vi /usr/syno/etc/php.ini" then hit the return key.
- hit the "Esc" key and then use the "J" key to move the cursor down to the line that starts with "open_basedir = ". If you go too far down, use the "K" key to move upwards.
- You will see a list of directories after the "=" sign.
- Hold the "Shift" key and then, press the "A" key. This will move you to the end of the line and enter Append mode ie. any keys you hit now will enter text into the file.
- type ":/volume1/music"
- then, hit the "Esc" key and then type "wq!" at the prompt which appears.
- The changes have now been saved to the file.


- Restart the web server by either restarting your DS or typing "/usr/syno/etc.defaults/rc.d/S97apache-user.sh restart" and pressing the return key .

- It should work now :D
/Laurence
Laurence Benjamin
Rookie
Rookie
 
Posts: 32
Joined: Tue Nov 14, 2006 3:16 pm

Re: Light-weight web based music browser / streamer

Postby Laurence Benjamin » Mon Mar 24, 2008 1:14 pm

PS - Great program mingoto! I use kplaylist at the moment but it can be slow at times due to it's dependance on mysql. Do you have any plans to add the ability to make a playlist of songs?

/Laurence
Laurence Benjamin
Rookie
Rookie
 
Posts: 32
Joined: Tue Nov 14, 2006 3:16 pm

Re: Light-weight web based music browser / streamer

Postby HarryPotter » Mon Mar 24, 2008 2:47 pm

sunsetdk wrote:I get an error trying to set it up on DS107+.128

ERROR: The $config['path'] "/music" isn't readable


you have to add the music folder to the open_dir directive in /usr/syno/etc/php.ini and then restart the web station.
*Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!*

DS712+ / DSM 4.2 3211 / 2 x HD204UI (RAID0) / LMS 7.7.2-007
DS110+ / DSM 4.2 3211 / HD154UI
DS408 / DSM 4.0 2228 / 3 x ST31000340AS (RAID0) + 1 x HDS721010KLA330
DS207+ / DSM 3.1.1636 / ST31000340AS + WD5000KS
DS-106x / DSM 4.0 2228 (from DS108j) /

2 Squeezebox 3 + Boom
Rapsody N35

APC Smart UPS SUA750i
User avatar
HarryPotter
Honorary Moderator
Honorary Moderator
 
Posts: 12326
Joined: Mon Oct 23, 2006 12:48 pm
Location: Switzerland

Re: Light-weight web based music browser / streamer

Postby joebananas » Tue Apr 08, 2008 5:16 am

okay, i've got it installed on my DS107e. I've got the path set to /volume1/music and it works really well. I can browse my directories and files. When I select a file it plays in the flash player or when set to m3u it plays in winamp. The question is how do I get it to play a playlist? Whenever I select a new file it stops playing the first file and begins playing the newly selected file.

EDIT:

Forget it. I found it. The little arrows next to the directory names aren't really arrows. They're play buttons. They build the playlists automactially.
joebananas
I'm New!
I'm New!
 
Posts: 4
Joined: Tue Apr 08, 2008 5:11 am

Re: Light-weight web based music browser / streamer

Postby mrjcleaver » Thu Jun 26, 2008 2:09 pm

Would be helpful to package in a tgz as well as a zip... the Synology servers don't come with unzip or zip installed.

Regards, M.
cs407
2*1TB
3 Lion based Macs
Unhappy that Synology will cease support for the cs407 from DSM 3.2
mrjcleaver
Apprentice
Apprentice
 
Posts: 87
Joined: Thu Dec 13, 2007 8:06 pm

Re: Light-weight web based music browser / streamer

Postby mingoto » Wed Jul 02, 2008 9:27 am

Version 0.15 is out, now with an ajax folder browser. This way the Flash player doesn't stop if you select a folder. http://musicbrowser.sf.net
mingoto
I'm New!
I'm New!
 
Posts: 6
Joined: Wed Nov 07, 2007 8:58 pm

Re: Light-weight web based music browser / streamer

Postby mingoto » Tue Aug 19, 2008 7:24 pm

I've added a dedicated forum for Music Browser now, in case anyone is interested: http://sourceforge.net/projects/musicbrowser/forums
mingoto
I'm New!
I'm New!
 
Posts: 6
Joined: Wed Nov 07, 2007 8:58 pm

Re: Light-weight web based music browser / streamer

Postby Solop » Thu Sep 04, 2008 1:19 am

I've been playing around with Music Browser on my 207+ and am running into a bit of a problem.

My directory structure is as follows:

/volume1/music exists and contains the Music Browser files. It also has two soft links to "../Data/AsstAudio" and "../Data/MP3"

I have added /volume1/music and /volume1/Data to the open_dir directive and restarted the server.

Music Browser shows the two directories, but will not enter them: clicking on either of them just reloads the main music directory. I tried adding those directories to the open_dir directive as well, but had no change in behaviour.

Any thoughts?
Solop
I'm New!
I'm New!
 
Posts: 3
Joined: Thu Sep 04, 2008 1:03 am

Next

Return to Media Streaming Mods

Who is online

Users browsing this forum: No registered users and 2 guests