Francesco149 / weebp

free and open-source wallpaper engine, set any window as your wallpaper
The Unlicense
547 stars 60 forks source link

´wp run´ not working? #19

Open juanRabaa opened 3 years ago

juanRabaa commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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