DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#126 2008-04-18 19:28:04

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: Light-weight web based music browser / streamer

I'm trying to get it to work with my Squeezebox, but i get a reaching error. Do i have to enter anything in this line?  'allowLocal' => array()

What do i enter if i want to control from my laptop (192.168.2.4) and the slimserver is on the nas (192.168.2.10)?

Offline

 

#127 2008-04-18 19:33:20

mingoto
Member
Registered: 2007-10-19
Posts: 61

Re: Light-weight web based music browser / streamer

knireis wrote:

I'm trying to get it to work with my Squeezebox, but i get a reaching error. Do i have to enter anything in this line?  'allowLocal' => array()

What do i enter if i want to control from my laptop (192.168.2.4) and the slimserver is on the nas (192.168.2.10)?

You don't need to change allowLocal.  Install musicbrowser on your NAS, and make sure slimserver and musicbrowser uses the same path (e.g. "/mnt/music/") to access you music.

Offline

 

#128 2008-04-18 19:56:16

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: Light-weight web based music browser / streamer

mingoto wrote:

knireis wrote:

I'm trying to get it to work with my Squeezebox, but i get a reaching error. Do i have to enter anything in this line?  'allowLocal' => array()

What do i enter if i want to control from my laptop (192.168.2.4) and the slimserver is on the nas (192.168.2.10)?

You don't need to change allowLocal.  Install musicbrowser on your NAS, and make sure slimserver and musicbrowser uses the same path (e.g. "/mnt/music/") to access you music.

still get: Error reaching slimserver

Offline

 

#129 2008-04-18 19:58:51

mingoto
Member
Registered: 2007-10-19
Posts: 61

Re: Light-weight web based music browser / streamer

knireis wrote:

still get: Error reaching slimserver

Have you tried this (from the Troubleshooting section):

* I get "Could not open URL - Error reaching slimserver" when trying to play on Squeezebox
Try opening the URL from the error message into a new browser window. You might see that you must lower your CSRF Protection Level in SqueezeCenter » Settings » Advanced » Security.

Last edited by mingoto (2008-04-18 19:59:45)

Offline

 

#130 2008-04-18 20:22:07

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: Light-weight web based music browser / streamer

yes, i put the CSRF to off. On the display of the squeezebox it says: error can not open url from a distance and then the url to the music files.
I use version 6.3.0 of the slimserver

Offline

 

#131 2008-04-18 20:42:04

mingoto
Member
Registered: 2007-10-19
Posts: 61

Re: Light-weight web based music browser / streamer

knireis wrote:

yes, i put the CSRF to off. On the display of the squeezebox it says: error can not open url from a distance and then the url to the music files.
I use version 6.3.0 of the slimserver

If you go to Slimserver --> My music --> Browse music folder, go to a music folder and right-click the play button.  If you "copy link location", it should have an URL which should be similar to the one in the MusicBrowser error message.  Are they very different?

By the way, I haven't tried this with 6.3, only with 6.5 and 7.0.   There might be a change in functionality between the versions.  (In version 7.0 the "right click" verification trick only works with the Classic skin.)

Last edited by mingoto (2008-04-18 20:53:44)

Offline

 

#132 2008-04-18 21:29:13

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: Light-weight web based music browser / streamer

I think it looks a bit different in 6.3. I'm away for a few days and try again later.

Offline

 

#133 2008-04-24 23:25:22

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: Light-weight web based music browser / streamer

I can't get it to work. On the webpage the message 'Error reaching slimserver' appears and on the squeezebox itself the message is: 'error: can't open remote url file:///mnt/usb/etch/music/genesis/abacab'. So it can reach the slimserver and the squeezebox but it can't open the music file. I turned off the password protection on the website without succes.

Any suggestions of what to try?

Offline

 

#134 2008-05-11 23:25:23

mingoto
Member
Registered: 2007-10-19
Posts: 61

Re: Light-weight web based music browser / streamer

knireis wrote:

I can't get it to work.

Did you update from 6.3?

Offline

 

#135 2008-05-13 07:47:59

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: Light-weight web based music browser / streamer

No, I have no linux knowledge to compile it for the 323. There are versions for debian available but they are not for an arm processor. So I'm waiting for someone who has and linux knowledge and a Squeezebox and wants to use slimserver on his/her DNS-323.

Offline

 

#136 2008-05-13 10:10:29

mingoto
Member
Registered: 2007-10-19
Posts: 61

Re: Light-weight web based music browser / streamer

knireis wrote:

No, I have no linux knowledge to compile it for the 323. There are versions for debian available but they are not for an arm processor. So I'm waiting for someone who has and linux knowledge and a Squeezebox and wants to use slimserver on his/her DNS-323.

Aha, OK.  Slimserver is written in Perl, and doesn't need to be compiled.  But some linux skills are probably good to have smile

Offline

 

#137 2008-07-02 11:14:36

mingoto
Member
Registered: 2007-10-19
Posts: 61

Re: Light-weight web based music browser / streamer

Version 0.15 is out, now with an ajax folder browser.  This way the Flash player doesn't stop if you select a folder.

Offline

 

#138 2008-07-02 11:28:14

5h4rk
Member
Registered: 2008-01-26
Posts: 27

Re: Light-weight web based music browser / streamer

Thanks for the update. I'm having problem displaying foreign characters tho, Spanish characters.


FFP 0.5 | FW 1.0.5

Offline

 

#139 2008-07-02 12:07:37

mingoto
Member
Registered: 2007-10-19
Posts: 61

Re: Light-weight web based music browser / streamer

5h4rk wrote:

Thanks for the update. I'm having problem displaying foreign characters tho, Spanish characters.

Have you tried changing the charset in index.php? (Switch from utf-8 to iso-8859-1, or the other way around)

Offline

 

#140 2008-07-02 15:23:29

5h4rk
Member
Registered: 2008-01-26
Posts: 27

Re: Light-weight web based music browser / streamer

Thanks, iso-8859-1 worked, I thought utf-8 has more compatibility that iso-8859-1, that's why I have it set that way.


FFP 0.5 | FW 1.0.5

Offline

 

#141 2008-07-10 14:37:32

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: Light-weight web based music browser / streamer

Any chance for .flac support?

Offline

 

#142 2008-07-10 14:53:49

mingoto
Member
Registered: 2007-10-19
Posts: 61

Re: Light-weight web based music browser / streamer

knireis wrote:

Any chance for .flac support?

Have you tried adding "flac" to fileTypes in index.php?  The flash media player won't support flac, since it only supports what Adobe Flash supports (FLV, MP4, MP3, AAC).

Last edited by mingoto (2008-07-10 14:57:51)

Offline

 

#143 2008-08-13 00:08:16

whankin2
Member
Registered: 2008-08-11
Posts: 8

Re: Light-weight web based music browser / streamer

When I download the file, open and try to extract it with Winzip to my www directory, it says access denied.  Please  provide any assistance,as I'm looking forward to using this app.  I'm using ffp 0.5, with PHP which I believe is working properly.  I also chmod 'd the www directory.
EDIT : It actually says "Error Creating File..."

Last edited by whankin2 (2008-08-13 00:13:08)

Offline

 

#144 2008-08-13 00:16:00

whankin2
Member
Registered: 2008-08-11
Posts: 8

Re: Light-weight web based music browser / streamer

In installation step # 2, it says "Edit path in index.php to match
> your site (e.g. /mnt/media/mp3)". Please explain to a newbe such as
> myself what that means, or how.  Thanks in advance, and I'm looking
> forward to using this app for my 323!

Offline

 

#145 2008-08-19 21:24:04

mingoto
Member
Registered: 2007-10-19
Posts: 61

Re: Light-weight web based music browser / streamer

I've added a dedicated forum for Music Browser now, in case anyone is interested: http://sourceforge.net/projects/musicbrowser/forums

Offline

 

#146 2008-08-24 13:56:30

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Re: Light-weight web based music browser / streamer

Hi, great tool.

I've got one problem though. I have funplug + programs on usb stick.

I unpacked the musicbrowser to /usb/www/pages/musicbrowser

If I configure the path to my files (/mnt/HD_a2/Media) in index.php it works fine.
Dosnwide is that fwd/rwd is not working in winamp etc. using it this way.

If I configure empty dir to use current dir, and have a symlink in /usb/www/pages/musicbrowser pointing to /mnt/HD_a2/Media it doesn't work. Only the folder Media is shown in the musicbrowser and the frist 100 songs are available in flash player and do play. But changeing into the Media folder doesn't work. No error messages in /usb/www/logs/error-log.txt

Code:

root@NAS:/www/pages/musicbrowser# ls -l
-rwxr-xr-x    1 root     root        35609 Aug 24 12:30 COPYING.txt
lrwxrwxrwx    1 root     root           17 Aug 24 12:56 Media -> /mnt/HD_a2/Media/
-rwxr-xr-x    1 root     root         6188 Aug 24 12:30 README.txt
-rwxr-xr-x    1 root     root          270 Aug 24 12:30 download.gif
-rwxr-xr-x    1 root     root         2590 Aug 24 12:51 index.php
-rwxr-xr-x    1 root     root         2600 Aug 24 12:51 index.php~
-rwxr-xr-x    1 root     root        39987 Aug 24 12:30 mediaplayer.swf
-rwxr-xr-x    1 root     root        10087 Aug 24 12:30 musicbrowser.js
-rwxr-xr-x    1 root     root          264 Aug 24 12:30 play.gif
-rwxr-xr-x    1 root     root        31952 Aug 24 12:30 streamlib.php
-rwxr-xr-x    1 root     root         3246 Aug 24 12:30 template.inc

Any solution?


EDIT: I found a workaround:
- put the musicbrowser files in /mnt/HD_a2/Media
- create a symlink /usb/www/pages/musicbrowser pointing to /mnt/HD_a2/Media
- have the the default current folder be used in index.php

Now it works, so it seems that the original symlink of my first atttempt confuses the musicbrowser script?

Last edited by Opperpanter (2008-08-24 14:10:27)

Offline

 

#147 2008-08-24 14:23:50

mingoto
Member
Registered: 2007-10-19
Posts: 61

Re: Light-weight web based music browser / streamer

Opperpanter wrote:

Now it works, so it seems that the original symlink of my first atttempt confuses the musicbrowser script?

Yes, that's true.  It's really a security feature, but the next version will have a workaround for it.

Offline

 

#148 2008-08-24 14:35:29

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Re: Light-weight web based music browser / streamer

mingoto wrote:

Opperpanter wrote:

Now it works, so it seems that the original symlink of my first atttempt confuses the musicbrowser script?

Yes, that's true.  It's really a security feature, but the next version will have a workaround for it.

ok. great.

Offline

 

#149 2008-08-24 14:37:18

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Re: Light-weight web based music browser / streamer

Sorry to bother you again, but I just enabled ssl in lighttpd. Browsing through the folders works great, but playing a folder in flash or download m3u, pls, etc doesn't work. Have you got it working with ssl?

Offline

 

#150 2008-08-24 14:38:23

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: Light-weight web based music browser / streamer

Opperpanter wrote:

Hi, great tool.

I've got one problem though. I have funplug + programs on usb stick.

I unpacked the musicbrowser to /usb/www/pages/musicbrowser

If I configure the path to my files (/mnt/HD_a2/Media) in index.php it works fine.

For me this does not work. I also have the www/pages/musicbrowser on a usb stick, however pointing the webbrowser to the index.php gives me the webpage but no musicfiles. It just says 'loading...'
The path in the index.php is configured to /mnt/HD_a2/music.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB