Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error - unknown command subscribe #5

Closed
sethbuzz opened this issue Mar 6, 2012 · 8 comments
Closed

error - unknown command subscribe #5

sethbuzz opened this issue Mar 6, 2012 · 8 comments

Comments

@sethbuzz
Copy link

sethbuzz commented Mar 6, 2012

An issue on Fedora 16 with node v0.6.12

In the browser I get an alert with:

[5@0] {} unknown command "subscribe"

From the node server I get:

> groovebasin@0.0.4 start /home/seth/code/groovebasin/node_modules/groovebasin
> node server.js

The "sys" module is now called "util". It should have a similar interface.
   info  - socket.io started
   info  - Serving at http://localhost:16242/
   warn  - httpd streaming not enabled in mpd conf
   warn  - sticker_file not set in mpd conf
   warn  - recommended to turn auto_update on in mpd conf
   warn  - recommended to turn gapless_mp3_playback on in mpd conf
   warn  - recommended to turn volume_normalization on in mpd conf
   warn  - recommended to set max_command_list_size to >= 16384 in mpd conf
   error -  [5@0] {} unknown command "subscribe"
   error -  [5@0] {sticker} sticker database is disabled
   info  - handshake authorized 5563762851790529285

Let me know what additional information I should be providing.

@andrewrk
Copy link
Owner

andrewrk commented Mar 6, 2012

Ah. Groove Basin is trying to use a new feature from MPD that isn't in the package you installed yet. If you compile MPD from source this problem will go away.

When I get a chance I will fix this so that the features that require this are simply disabled instead of popping up errors.

Check the warning messages that the server issues upon startup.

@andrewrk
Copy link
Owner

andrewrk commented Mar 6, 2012

by the way, the "mpd conf" that it is referring to is /etc/mpd.conf. I'll have it print the actual path.

@sethbuzz
Copy link
Author

sethbuzz commented Mar 6, 2012

sticker_file isn't an option in the fedora 15 shipped version of mpd (I forget what version, and I have compiled from source since then)

Compiling from source isn't a problem. You can just say that whatever version of mpd fedora 15 ships with isn't supported.

@ghost ghost assigned thejoshwolfe Mar 7, 2012
@andrewrk
Copy link
Owner

andrewrk commented Mar 7, 2012

@thejoshwolfe can you solve this by using our user list for status messages instead of mpd channel subscriptions?

@andrewrk
Copy link
Owner

andrewrk commented Mar 7, 2012

Actually, I'm about to add another dependency on latest git mpd which will give us the ability to read song tags before the song is added to the library, so it's pointless to remove this dependency.

@sethbuzz So yep, what you said. Bleeding-edge mpd or bust!

@andrewrk andrewrk closed this as completed Mar 7, 2012
@sethbuzz
Copy link
Author

sethbuzz commented Mar 7, 2012

What about installing mpd from by way of packages.json? You could fork MPD
to add a npm friendly build script, and pull that over git. Is that
something that npm /can/ do? I'm not familiar with now NPM builds modules
that require compilation.

On Wed, Mar 7, 2012 at 4:00 PM, Andrew Kelley <
reply@reply.github.com

wrote:

Actually, I'm about to add another dependency on latest git mpd which will
give us the ability to read song tags before the song is added to the
library, so it's pointless to remove this dependency.

@sethbuzz So yep, what you said. Bleeding-edge mpd or bust!


Reply to this email directly or view it on GitHub:
#5 (comment)

@andrewrk
Copy link
Owner

andrewrk commented Mar 7, 2012

The problem I foresee with that is that it does not actually make the compilation/installation of mpd easier, because mpd has many C++ library dependencies that are best satisfied with your distro's package manager.

Did you have an idea for how to work around this?

@davidbanham
Copy link
Contributor

To anyone else finding this trying to solve a similar issue, ensure that all relevant dependencies are installed when compiling MPD from source. Specifically for the sticker feature, the sqlite3 dev library. On Ubuntu:

sudo apt-get install libsqlite3-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants