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

"set show_video false" ignored when playing a livestream with mpv #1039

Open selplacei opened 4 years ago

selplacei commented 4 years ago

Issue

When either launched with "mpsyt set show_video false, playurl [URL]" or played using the "playurl" command inside mpsyt, the video is shown anyway, as if show_video was set to true. The expected behavior is that the livestream would be played normally, with audio only, like any other video. P.S. I tried it with mplayer, and the livestream didn't play at all, showing that the video length is 00:00 and immediately stopping playback after entering the command.

Your Environment

mpsyt version : 0.2.8 notes : released 17 February 2018 pafy version : 0.5.4 (youtube-dl backend) youtube-dl version : 2019.11.28 Python version : 3.8.0 (default, Oct 23 2019, 18:51:26) [GCC 9.2.0] Processor : Machine type : x86_64 Architecture : 64bit, ELF Platform : Linux-5.4.1-arch1-1-x86_64-with-glibc2.2.5 sys.stdout.enc : utf-8 default enc : utf-8 Config dir : /home/selplacei/.config/mps-youtube env:TERM : screen env:SHELL : /usr/bin/zsh env:LANG : en_US.UTF-8

System: Arch Linux MPV version: 0.30.0

tommysolsen commented 4 years ago

Hi. See #812