YouTube not working

I have not been able to get YouTube working on my setup, and I don’t really know why.

Searching under the YouTube service just gives me a “Loading Data from MusicBox. Please Wait…” forever, and the mopidy log just gives me:

Searching Youtube for query 'test'
Starting new HTTPS connnection (1): www.googleapis.com
200 GET / (127.0.0.1) 16.12ms
200 GET / (127.0.0.1) 16.58ms
...
...
(this goes on for as long as I let it search)

I tried searching with URL’s such as:
https://www.youtube.com/watch?v=Gv94m_S3QDo
Gv94m_S3QDo
yt:Gv94m_S3QDo

and I get the same results, even though I know this is actually a Streams functionality.

Is there something I’m missing?

Keep in mind my installation is completely stock. I would be surprised if I was the only one with the same issue. If I need to provide more information, let me know.

apt-get update
apt-get upgrade
apt-get install gstreamer1.0-plugins-bad gstreamer1.0-libav
pip install --upgrade pafy
shutdown -r now

Thanks, but this did not work.

While it seems that now it is able to get YouTube data such as video title and length, it still does not play sound.
It now doesn’t play any sound for that matter, I’ll have to reset the Pi. I would post logs but I’ve been too busy with school.

Thanks again

JetFission It work, but only in some videos. Look at the YouTube search broken topic.

Like I said, the sound is now universally broken, not just with YouTube. It did not work, I cannot even play local files.

Still, I appreciate your help.

JetFission Try to reflash new pimusicbox image on sd card.