mihaiolteanu / vuiet

The music player and explorer for Emacs
https://mihaiolteanu.me/vuiet
GNU General Public License v3.0
278 stars 15 forks source link

I can't play anything anymore even though it worked the day before #21

Closed mihaiolteanu closed 10 months ago

mihaiolteanu commented 4 years ago

Youtube changes its video algorithms from time to time and youtube-dl has to keep up with that. Vuiet depends on youtube-dl, and when this happend youtube-dl usually fails with "signature extraction failed" or other such issues. There's a lot of topics about that on the web, you can check it out if you want to.

What you can do if you've used vuiet and now, suddenly, it just doesn't want to play anything anymore, is to confirm that this has to do with youtube-dl. From the command line, just use youtube-dl to search for any song. For example,

youtube-dl "ytsearch:queen innuendo"

If this gives you horrible errors, you've found your issue. You can fix it by using your package manager to download the latest youtube-dl version. If the package manager doesn't actually have the latest version, you can download youtube-dl directly from source,

sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl

Another type of error is when

mpv ytdl://ytsearch:"queen innuendo"

finds the youtube video, but results in "Error 403 Forbidden" and no track is played. You can try and remove the ~/.cache/youtube-dl folder in this case. (https://github.com/ytdl-org/youtube-dl/issues/6451#issuecomment-128397059)

Let me know if you've had this problem and if this solution fixed it.

mihaiolteanu commented 10 months ago

Changed to yt-dlp with #69