Skip to content
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

´wp run´ not working? #19

Open
juanRabaa opened this issue Feb 7, 2021 · 3 comments
Open

´wp run´ not working? #19

juanRabaa opened this issue Feb 7, 2021 · 3 comments

Comments

@juanRabaa
Copy link

juanRabaa commented Feb 7, 2021

I'm trying to run the example from the README, but its not working. MPV works fine on its own.
With wp run mpv args videoPath, nothing seems to happen. If a do mpv args videoPath instead, MPV starts correctly, and then I can run wp add --wait --class mpv.

I followed the installation intructions. Don't know if I can give you more info, but let me know. Thanks!

@kmgb
Copy link

kmgb commented Feb 7, 2021

Are you trying to run wp run mpv args videoPath as written, or are you substituting args and videoPath with your arguments and a path to a video file on your system?

@juanRabaa
Copy link
Author

Are you trying to run wp run mpv args videoPath as written, or are you substituting args and videoPath with your arguments and a path to a video file on your system?

Im replacing those values, should have been more clear sorry. Im running the exact example from the git.

@echo off

wp run mpv ^
--player-operation-mode=pseudo-gui ^
--force-window=yes ^
--terminal=no ^
--no-audio ^
--loop=inf ^
--loop-playlist=inf ^
--input-ipc-server=\\.\pipe\mpvsocket ^
%USERPROFILE%\Videos\wallpapers

wp mv --wait --class mpv -x 1920
wp add --wait --fullscreen --class mpv

@kmgb
Copy link

kmgb commented Feb 7, 2021

Running that exact script worked on my machine (with a different path to my videos).
Make sure that the directory %USERPROFILE%\Videos\wallpapers exists on your machine and has video files in it.
(mp4's worked in my case) Also remove the @echo off to see where/if it's getting stuck

@juanRabaa juanRabaa reopened this Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants