Coder Social home page Coder Social logo

Comments (2)

SegoCode avatar SegoCode commented on August 20, 2024

Hi!

Thank you for your kind words about the AutoWall. I'm glad you find it easy to use.

The ability to automatically change the wallpaper every X minutes would be a useful feature.

If you don't want to wait a future update I will explain that you can change wallpaper without opening AutoWall, to send a video to the mpv pipe at any time, you can use the following command in the terminal:

echo "loadfile path/to/video.mp4" >\\.\pipe\mpvsocket

This command sends the "loadfile" command followed by the path to the video file to the mpv pipe. This will cause mpv to load and play the specified video file.

For example, if your video file is located at "C:\Videos\myvideo.mp4", you would use the following command:

echo "loadfile C:\Videos\myvideo.mp4" >\\.\pipe\mpvsocket

it is possible to create a batch script that changes the video being played by mpv at regular intervals using the mpv pipe.

@echo off
:loop
echo "loadfile path/to/video1.mp4" >\\.\pipe\mpvsocket
timeout /t 60
echo "loadfile path/to/video2.mp4" >\\.\pipe\mpvsocket
timeout /t 60
goto loop

This script sends the "loadfile" command followed by the path to the first video file to the mpv pipe, which causes mpv to load and play the specified video. It then waits for 60 seconds using the "timeout" command, and then sends the "loadfile" command followed by the path to the second video file to the mpv pipe. This process is repeated in a loop.

You can modify this script to use different video files and to change the interval at which the videos are changed. You can also add additional commands to control playback, such as "pause" or "stop".

I hope you find it helpful!

from autowall.

SegoCode avatar SegoCode commented on August 20, 2024

Added in 1.12 support edl files to make a playlist or control the loop time

from autowall.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.