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.

Re: Light-weight web based music browser / streamer

Postby mingoto » Thu Sep 04, 2008 7:50 am

Solop wrote: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.


It's a security precaution: Music Browser won't let you out of its "path". I am trying to fix this in the next version.
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 » Fri Sep 05, 2008 3:52 am

I thought it might be something like that.

I've worked around the problem by removing the soft links and instead doing a bind remount*

That solves the problem and I can now see all mp3 and ogg files in the player.

New problem: While I can see the ogg files, I can't play them -- nothing happens when I click them. I'm guessing that even though the default is to show *.mp3 and *.ogg, the player does not (yet?) handle ogg. Correct? If so, and adding ogg support is in the plans, can I ask that m4a support be put on the wishlist as well?

* For those wondering what a bind remount is, it's a way to mount the same directory tree in two different places. In my case, I wanted to mount /volume1/Data/MP3/ at /volume1/music/MP3/ as well. It's very simple:
1. I'm assuming here that you already have telnet or ssh access to your box. If not, set that up first.
2. Make sure the target directory exists and is empty. In my case, since it didn't already exist, it was the usual
Code: Select all
mkdir /volume1/music/MP3/
command.
3. Finally, issue the mount command. In my case, that was
Code: Select all
 mount -t none /volume1/Data/MP3/ /volume1/music/MP3/ -o bind

4. Arranging for the bind remount to happen automatically whenever the device is rebooted is left as an exercise for the reader.
Solop
I'm New!
I'm New!
 
Posts: 3
Joined: Thu Sep 04, 2008 1:03 am

Re: Light-weight web based music browser / streamer

Postby Solop » Fri Sep 05, 2008 4:19 am

New problem: While I can see the ogg files, I can't play them -- nothing happens when I click them. I'm guessing that even though the default is to show *.mp3 and *.ogg, the player does not (yet?) handle ogg. Correct? If so, and adding ogg support is in the plans, can I ask that m4a support be put on the wishlist as well?


Oops. Never mind. I just realized that you're not the author of the flash player. Gotta learn to read before opening my mouth. I see that the player can't handle ogg or m4a, nor can, apparently, any other flash-based players out there. *pout*
Solop
I'm New!
I'm New!
 
Posts: 3
Joined: Thu Sep 04, 2008 1:03 am

Re: Light-weight web based music browser / streamer

Postby chatterbox21 » Mon Aug 24, 2009 1:53 pm

Does music browser can work on Windows Vista? If yes, have you encountered any errors or bugs?
chatterbox21
I'm New!
I'm New!
 
Posts: 1
Joined: Mon Aug 24, 2009 1:46 pm

Re: Light-weight web based music browser / streamer

Postby antakar » Fri Jan 06, 2012 2:59 pm

Hello,

Could someone please describe me how to install MusicBrowser?
I know what it needs, as written on the main page, but what ports does it use? Will 'just' PHP installation be enough? Do i have to configure PHP in any way?

Below commands dont tell me much in the way that...I have Synology DS212j - are commands the same and folder locations? How and from where can i copy MusicBrowser files to place them in a folder structure that i cant see from the normal file browser? Also, does it use id3 tags?

Install required software

$ sudo apt-get install lighttpd php5-cgi unzip
$ cd /etc/lighttpd/conf-enabled
$ sudo ln -s ../conf-available/10-fastcgi.conf .
$ sudo /etc/init.d/lighttpd restart

Install Music Browser

$ unzip musicbrowser.zip
$ cp -R musicbrowser /var/www
$ chmod a+rx /var/www/musicbrowser
$ chmod a+r /var/www/musicbrowser/*

In short, is there a kind person who will have pity and provide idiot-proff step by step guide on how to install and make this work?
User avatar
antakar
Beginner
Beginner
 
Posts: 27
Joined: Tue Nov 29, 2011 2:58 pm

Re: Light-weight web based music browser / streamer

Postby antakar » Fri Jan 06, 2012 6:17 pm

1. I enabled web station.
2. Enabled MySQL
3. Installed phpMyAdmin and run it.
4. Copied musicbrowser folder with content to /www/ location
5. Edited musicbrowser's index.php:
-Added path to my music folder with many subfolders:
'path' => "/volume1/Music",
-Added flac to filetypes:
'fileTypes' => array("mp3"), array("flac"),
-Extended playlist size to list all my music:
'maxPlaylistSize' => 6000,
6. In Control Panel / Shared Folder, i Edited /Web folder privileges to allow a Guest read access
7. I will have to add in HTTP Service, additional port and the forward that port on my router (cant do this at the moment as i don't have access to the router).

Are my steps correct? Do i have to do anything else to make musicbrowser work? Like start this service (somehow) etc?

I know that flash player will not play flac, but my aim is to use the playlist in foobar2000 - so i assume it should be ok with streaming flac to foobar?
User avatar
antakar
Beginner
Beginner
 
Posts: 27
Joined: Tue Nov 29, 2011 2:58 pm

Previous

Return to Media Streaming Mods

Who is online

Users browsing this forum: No registered users and 2 guests