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

Can't search tracks with Apollo #10

Open
mhlz opened this issue Oct 4, 2014 · 2 comments
Open

Can't search tracks with Apollo #10

mhlz opened this issue Oct 4, 2014 · 2 comments

Comments

@mhlz
Copy link

mhlz commented Oct 4, 2014

I just installed Apollo and I can login with Twitter just fine. Mopidy also works completely fine with another frontend (musicbox in this case).

When using Apollo I can't search for tracks at all. The logs mention this:

TypeError: Cannot call method 'search' of undefined
    at Player.search (/Users/mischa/mopidy/Apollo-Player/controllers/player.js:154:24)
    at callbacks (/Users/mischa/mopidy/Apollo-Player/node_modules/express/lib/router/index.js:164:37)
    at param (/Users/mischa/mopidy/Apollo-Player/node_modules/express/lib/router/index.js:138:11)
    at param (/Users/mischa/mopidy/Apollo-Player/node_modules/express/lib/router/index.js:135:11)
    at pass (/Users/mischa/mopidy/Apollo-Player/node_modules/express/lib/router/index.js:145:5)
    at Router._dispatch (/Users/mischa/mopidy/Apollo-Player/node_modules/express/lib/router/index.js:173:5)
    at Object.router (/Users/mischa/mopidy/Apollo-Player/node_modules/express/lib/router/index.js:33:10)
    at next (/Users/mischa/mopidy/Apollo-Player/node_modules/express/node_modules/connect/lib/proto.js:193:15)
    at SessionStrategy.strategy.pass (/Users/mischa/mopidy/Apollo-Player/node_modules/passport/lib/middleware/authenticate.js:318:9)
    at /Users/mischa/mopidy/Apollo-Player/node_modules/passport/lib/strategies/session.js:61:12
GET /api/player/search/test 500 25ms

Any help to solve this is greatly appreciated! ^.^ Apollo looks great!

I'm running on Mac OS with node installed by homebrew in case that's relevant. I can prodive more information if needed.

@danReynolds
Copy link

+1

@danReynolds
Copy link

nevermind haha you need to run mopidy first. Thought it did that for you.

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

2 participants