SegoCode / AutoWall

🌌 Live wallpapers on Windows 7/8/10/11(23H2) using open-source wallpaper engine
GNU General Public License v3.0
566 stars 54 forks source link

mpv window border visible #4

Closed Garulfo closed 3 years ago

Garulfo commented 3 years ago

Hello, for any reasons, when I use AutoWall, the window border of the video player is visible in the background image

This is really really strange because when I perform manually every steps one by one in a cmd terminal, it works well :

cd "C:\Apps\AutoWall\mpv\"
"C:\Apps\AutoWall\weebp\wp.exe" run mpv "C:\Apps\AutoWall\VideosHere\KagangtuyaBlackHole.mov" --loop=inf --player-operation-mode=pseudo-gui --force-window=yes --no-audio
cd "C:\Apps\AutoWall\weebp\"
wp add --wait --fullscreen --class mpv

Thank you very much for your app, I hope you can help :)

SegoCode commented 3 years ago

Hey, Can you give me more information about? like.. Windows version, AutoWall version, is reproducible only on the "Apply" button?

You know how AutoWall works right? when run the bat file create in %appdata%\Microsoft\Windows\Start Menu\Programs\Startup (When check "Set on windows startup") still the same issues?

Garulfo commented 3 years ago

image I think I used the latest version of AutoWall, I downloaded from your github yesterday. But anyway I don't think this is related to AutoWall itself because when I run the bat file generated the bug is reproduced. But if in a cmd prompt, I copy paste and run lines one by one, it works well. To be frank this is really weird ...

autowall

SegoCode commented 3 years ago

Mmm.... really weird yea...

Try this, create a bat file, and before the wp add --wait --fullscreen --class mpv put this ping 127.0.0.1 -n 3 > nul and run the bat.

Like this;

cd "C:\Apps\AutoWall\mpv\"
"C:\Apps\AutoWall\weebp\wp.exe" run mpv "C:\Apps\AutoWall\VideosHere\KagangtuyaBlackHole.mov" --loop=inf --player-operation-mode=pseudo-gui --force-window=yes --no-audio
cd "C:\Apps\AutoWall\weebp\"
ping 127.0.0.1 -n 3 > nul
wp add --wait --fullscreen --class mpv

Same issuse for other format videos on "Apply" button?

What happens if you paste https://www.youtube.com/embed/lRTtMcx6rSM?autoplay=1&loop=1&mute=1&playlist=lRTtMcx6rSM in text field and press apply?

Garulfo commented 3 years ago

ping 127.0.0.1 -n 3 > nul

it works! incredible :)

Same issuse for other format videos on "Apply" button?

yeah ... I tried mov, gif, mp4

What happens if you paste https://www.youtube.com/embed/lRTtMcx6rSM?autoplay=1&loop=1&mute=1&playlist=lRTtMcx6rSM in text field and press apply?

it works as well, no borders

I hope it'll help :)

SegoCode commented 3 years ago

Nice! Really weird, I'm not sure why it happens, but mpv sometimes has a delay when it runs. I will have to investigate or change video player.

Thx for the feedback

SegoCode commented 3 years ago

Fixed in 1.5 using mpv.conf