mps-youtube / yewtube

yewtube, forked from mps-youtube , is a Terminal based YouTube player and downloader. No Youtube API key required.
GNU General Public License v3.0
8.07k stars 648 forks source link

Error parsing commandline option title: option requires parameter #1054

Closed joachimnielandt closed 4 years ago

joachimnielandt commented 4 years ago

Issue / Suggestion

mpsyt starts as usual, after selection of a song to play I get the following error: Error parsing commandline option title: option requires parameter I suspect a package update caused a mismatch between the various needed components, but I have no clue where to start looking for the error based on the error.

Your Environment

 ﬌ mpsyt --version
mpsyt version      : 0.2.8
   notes           : released 17 February 2018
pafy version       : 0.5.5 (youtube-dl backend)
youtube-dl version : 2020.01.24
Python version     : 3.8.1 (default, Jan 22 2020, 06:38:00) 
[GCC 9.2.0]
Processor          : 
Machine type       : x86_64
Architecture       : 64bit, ELF
Platform           : Linux-5.4.15-arch1-1-x86_64-with-glibc2.2.5
sys.stdout.enc     : utf-8
default enc        : utf-8
Config dir         : /home/user/.config/mps-youtube
env:TERM           : xterm-256color-italic
env:SHELL          : /bin/zsh
env:LANG           : en_US.UTF-8

5.4.15-arch1-1

 ﬌ mpv --version
mpv 0.32.0 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
ffmpeg library versions:
   libavutil       56.31.100
   libavcodec      58.54.100
   libavformat     58.29.100
   libswscale      5.5.100
   libavfilter     7.57.100
   libswresample   3.5.100
ffmpeg version: n4.2.2
kz6wk9 commented 4 years ago

this is already fixed in the develop branch https://github.com/mps-youtube/mps-youtube/issues/1052

AurelienDevGames commented 4 years ago

Same problem, same distro, until a new release is published you can use the working aur git version.

joachimnielandt commented 4 years ago

Same problem, same distro, until a new release is published you can use the working aur git version.

Check, this works for me!

jtanmay-dev commented 4 years ago

How can I get this fix through brew? Or any other suggestion!?

kz6wk9 commented 4 years ago

this is not an mpsyt problem, this error has to do with the latest mpv release, I already posted a link that have all the explanation for it, the only solution for now is to use the git develop branch, where this error is already solved, you can do that by using git clone or you can use pip install from git too alternatively... I suppose you're running linux, but if you're on MacOs AFAIK these 2 methods work there too

mlavi commented 4 years ago

@deracinator agreed on your assessment, it would be helpful if you could give any guidance for the next release date, even if the answer is "unknown" or a referral for who better to ask.

It looks like we're coming up on a year according to https://github.com/mps-youtube/mps-youtube/releases/tag/v0.2.8

Final Q: do you add release versions or labels to issues?

Thanks for your incredible work, I appreciate this project.

mlavi commented 4 years ago

FYI, since I am on LInux Mint, I was able to unlink the Homebrew version of mpv (0.32.0) and install the older version that comes with my package manager, which made mpsyt happy!

brew unlink mpv && sudo apt-get install -y mpv

Here's how you can see the versions: brew list mpv ; apt list mpv

tommysolsen commented 4 years ago

Our troubleshooting page does contain a small guide on how to install the develop branch of mpsyt.

https://github.com/mps-youtube/mps-youtube/wiki/Troubleshooting

The owner of the org is fairly inactive(and so are the main contributors, including myself), and he is the only one with the ability and credentials to release new versions and put them up on pip and some of our other packaging sources, so sadly it is not possible for any of the other contributors to alleviate this other than asking people to use the develop branch as that is something that does at least see intermitent development.

Atcold commented 4 years ago

For the lazy ones, here's a onliner fix on MacOS.

/usr/local/Cellar/mps-youtube/0.2.8_9/libexec/bin/pip3 install --upgrade https://github.com/mps-youtube/pafy/archive/develop.zip https://github.com/mps-youtube/mps-youtube/archive/develop.zip