Closed smileservices closed 1 year ago
I face this issue too. As a detail. I updated API key with my own from google using Youtube Data API v3.
Got the same problem on Linux Manjaro
mpsyt version : 0.2.8
notes : released 17 February 2018
pafy version : 0.5.5 (youtube-dl backend)
youtube-dl version : 2020.05.08
Python version : 3.8.2 (default, Apr 8 2020, 14:31:25)
[GCC 9.3.0]
Processor :
Machine type : x86_64
Architecture : 64bit, ELF
Platform : Linux-4.19.121-1-MANJARO-x86_64-with-glibc2.2.5
sys.stdout.enc : utf-8
default enc : utf-8
Config dir : /home/alexandre/.config/mps-youtube
env:TERM : xterm-256color
env:SHELL : /bin/bash
env:LANG : fr_FR.UTF-8
Using mpv 0.32.0
Found how to bypass this one. I changed my audio/video player (set player vlc
). Usually, I am using mpv
. By setting it to vlc
the music does play correctly.
Thus, I am thinking that the problem is linked on how mpv
is invoked.
Always make sure to read some already created issues before creating a new one, this is already fixed for months by #1053
I confirm the fix. I used the version from git and it is now working properly. Thank you !
See #1069 for reference. Edit: Also #1054 and #1052 In defense of the OP
Solved it by:
pip uninstall mps-youtube
pip install git+https://github.com/mps-youtube/mps-youtube/
Ensure the latest mpv
is installed (atleast v0.32). Use: https://mpv.io/installation/
mpsyt
, do set player mpv
Should work now. If you face any errors, just search the issues tab.
I solved it by
sudo apt install mplayer
set player mplayer
That's it and now i can enjoy music on terminal
Mplayer is a terminal based player. Found how to bypass this one. I changed my audio/video player (
set player vlc
). Usually, I am usingmpv
. By setting it tovlc
the music does play correctly. Thus, I am thinking that the problem is linked on howmpv
is invoked.
Agree with this solution on my Ubuntu 20, just set the VLC as my default audio and video player, then issue gone, thank you for the answer.
Executed a search and wanted to play a song. It didn't play and it gave this error
Issue / Suggestion
Exiting... (Fatal error) Error parsing commandline option title: option requires parameter
Your Environment
mpsyt version : 0.2.7.1 notes : released 6 July 2016 pafy version : 0.5.2 (youtube-dl backend) youtube-dl version : 2020.03.24 Python version : 3.8.2 (default, Apr 27 2020, 15:53:34) [GCC 9.3.0] Processor : x86_64 Machine type : x86_64 Architecture : 64bit, ELF Platform : Linux-5.4.0-29-generic-x86_64-with-glibc2.29 sys.stdout.enc : utf-8 default enc : utf-8 Config dir : /home/vladimir/.config/mps-youtube env:TERM : xterm-256color env:SHELL : /bin/bash env:LANG : en_US.UTF-8
Ubuntu 20.04