pimusicbox / mopidy-musicbox-webclient

Web Client for Mopidy Music Server and the Pi MusicBox
https://www.pimusicbox.com
Apache License 2.0
398 stars 106 forks source link

Search not working #166

Closed urbainvaes closed 8 years ago

urbainvaes commented 8 years ago

Hello!

First, thank you very much for Pi Musicbox, it's a great project!

My issue is that, since a couple of days ago, the search feature of my Pi Musicbox is not working anymore, and this happens regardless what is enabled or disabled. When I click search, it loads for a while, but then doesn't display any search results. Apparently, other people are in the same situation, see here.

Is this really a problem from Spotify? Because in my case, it doesn't even work when only Youtube in enabled. And do you have any idea how I could fix this?

Thank you!

kingosticks commented 8 years ago

The issue you have linked to is specifically regarding Spotify. If you have disabled spotify in settings.ini then this cannot be the same problem as you are experiencing. Can you please try a search and then look in the log file at /var/log/mopidy/mopidy.log to see if there are any error messages.

kingosticks commented 8 years ago

Also, can I assume you are running v0.6 of musicbox and have not manually updated anything ?

urbainvaes commented 8 years ago

Thank you for the quick answer. Actually, Youtube search doesn't seem to work either. I am using v0.6 indeed, and did a fresh install this afternoon to check that this wasn't the problem. I do get a few warnings in the log file, but I don't think that they are related:

2016-12-17 22:36:35,895 - WARNING Found alsamixer configuration errors, the extension has been automatically disabled: 2016-12-17 22:36:35,896 - WARNING alsamixer/control must be set. 2016-12-17 22:36:35,897 - WARNING alsamixer/card must be set. 2016-12-17 22:36:35,898 - WARNING Found musicbox_webclient configuration errors, the extension has been automatically disabled : 2016-12-17 22:36:35,899 - WARNING musicbox_webclient/musicbox unknown config key. 2016-12-17 22:36:35,900 - WARNING Please fix the extension configuration errors or disable the extensions to silence these messages.

urbainvaes commented 8 years ago

And here is the result of a search with only youtube activated:

2016-02-15 01:49:16,367 - INFO Searching Youtube for query 'rihanna' 2016-02-15 01:49:16,380 - INFO Starting new HTTPS connection (1): www.googleapis.com 2016-02-15 01:49:17,330 - INFO Youtube says: Sign in to confirm your age [B3eAMGXFw1o] 2016-02-15 01:49:19,384 - INFO dashmpd 2016-02-15 01:49:19,919 - INFO unknown url type: unknown 2016-02-15 01:49:21,268 - INFO dashmpd 2016-02-15 01:49:22,773 - INFO dashmpd 2016-02-15 01:49:24,264 - INFO dashmpd 2016-02-15 01:49:24,790 - INFO unknown url type: unknown 2016-02-15 01:49:26,017 - INFO dashmpd 2016-02-15 01:49:27,375 - INFO unknown url type: unknown 2016-02-15 01:49:28,812 - INFO dashmpd 2016-02-15 01:49:30,231 - INFO dashmpd 2016-02-15 01:49:31,713 - INFO dashmpd 2016-02-15 01:49:32,100 - INFO unknown url type: unknown 2016-02-15 01:49:32,561 - INFO unknown url type: unknown 2016-02-15 01:49:33,866 - INFO dashmpd

jcass77 commented 8 years ago

It looks like support for age restricted videos was only added in pafy v0.3.72 - might require a version upgrade if you are using an older version?

urbainvaes commented 8 years ago

Hey! Thanks for the input. I don't think so though, because it doesn't work no matter what I search for. I feel like I must be missing something obvious, as I seem to be the only one to have this problem.

2016-02-15 22:34:17,565 - INFO Searching Youtube for query 'mozart' 2016-02-15 22:34:17,577 - INFO Starting new HTTPS connection (1): www.googleapis.com 2016-02-15 22:34:19,539 - INFO dashmpd 2016-02-15 22:34:20,992 - INFO dashmpd 2016-02-15 22:34:21,436 - INFO unknown url type: unknown 2016-02-15 22:34:21,923 - INFO unknown url type: unknown 2016-02-15 22:34:22,365 - INFO unknown url type: unknown 2016-02-15 22:34:22,748 - INFO unknown url type: unknown 2016-02-15 22:34:23,142 - INFO unknown url type: unknown 2016-02-15 22:34:23,605 - INFO unknown url type: unknown 2016-02-15 22:34:24,033 - INFO unknown url type: unknown 2016-02-15 22:34:24,540 - INFO unknown url type: unknown 2016-02-15 22:34:25,050 - INFO unknown url type: unknown 2016-02-15 22:34:25,563 - INFO unknown url type: unknown 2016-02-15 22:34:25,962 - INFO unknown url type: unknown 2016-02-15 22:34:26,651 - INFO unknown url type: unknown 2016-02-15 22:34:27,588 - INFO unknown url type: unknown

jcass77 commented 8 years ago

Have you tried upgrading to the latest version of Mopidy-Youtube?

I'm not sure this issue is related to the web client - perhaps try doing the same search using something else like Mopidy-Mobile?

If you get the same errors then this is probably something that should be logged over at the Mopidy-YouTube project.

urbainvaes commented 8 years ago

Hello!

For some reason, Spotify search started working again, and with it youtube search also works now.

Thank you for your help!