New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have to issue 'set player mpv' every time on Windows #397
Comments
Yes I've had this issue as well when on windows. I have no idea what's causing it either. |
Hm, that's odd. Does it change anything to use |
FWIW, both
After setting the player to
|
Hm, mpsyt is supposed to check the version of mpv, so it knows which argument to give, so I guess it must not be running the version checking function for some reason... |
What I did now was this:
This is the content of
Not sure if it helps though... |
I read the code in https://github.com/mps-youtube/mps-youtube/blob/develop/mps_youtube/util.py#L41 and executed it on Windows. There seems to be a problem with I'll illustrate:
The problem has something to do with the regex, which also explains why it works on Linux but not on Windows. On Windows,
As you can see, it only contains 'mpv'. On Linux, this is no problem: the exename is Proposed solution: declare a different variable, without the extension. I can't test it myself due to #400. |
Using Windows 7 x86.
Some debug information:
mpsyt
:mpv.com
:set
output:The problem I'm facing:
I start
mpsyt
. I look up a video.mpsyt
gives the expected search results. When trying to play a video, I'm gettingerror: retrying
in the bottom left corner of the terminal.The strange thing: after issuing
set player mpv
and choosing the desired video again, the video plays.I exit
mpsyt
, and start it again. The same problem arises: I have to issueset player mpv
again before I can play videos.For the record, I posted the
mpv.com
version output as I can't get thempv.exe
output, butplayer
gets set tompv.exe
, as it should.The text was updated successfully, but these errors were encountered: