Closed SirFireball3521 closed 1 year ago
I'm having the same issue across every Youtube player I've tried -- mps-youtube, youtube-viewer, and straw-viewer.
I'm having the same issue, I just recently installed mps-youtube. This happens for every video every time.
I too have this issue using my own Youtube API key. Running mps-youtube 0.2.8
To solve the unavailable issues, I just updated the youtube_dl python module to the latest version:
$ youtube-dl --version
2020.06.16.1
This is actually an issue of this module.
I have verified that youtube-dl is up to date (2020.06.16.1) but still see the issue. I do see that when I check:
$ mpsyt --version mpsyt version : 0.2.8 notes : released 17 February 2018 pafy version : 0.5.5 (youtube-dl backend) youtube-dl version : 2018.03.14 Python version : 3.6.9 (default, Apr 18 2020, 01:56:04) [GCC 8.4.0] Processor : x86_64 Machine type : x86_64 Architecture : 64bit, ELF Platform : Linux-5.3.0-62-generic-x86_64-with-Ubuntu-18.04-bionic sys.stdout.enc : UTF-8 default enc : utf-8 Config dir : /home/giancoli/.config/mps-youtube env:TERM : xterm-256color env:SHELL : /bin/bash env:LANG : en_US.UTF-8
It seems like mpsyt is using the older version of youtube-dl. Is there a simple way to change which one mpsyt accesses?
@maxwell-herrmann you can try using pip3
to upgrade youtube-dl according to the download page, since your Python version is 3.6.9
$ pip3 install --upgrade --user youtube_dl
Thank you that solved it and updated the version of youtube-dl that mpsyt was using. I had to delete the old cache in .config (I referred to issue #1076) and now everything works perfectly. Thanks @poyenc!
Issue / Suggestion
I installed this earlier today and after inserting my own API key, was able to search Youtube. however, when I attempted to play any of the results, I recieved the error in the title:
I can confirm that the song exists and is available for me where I am.
Your Environment