Coder Social home page Coder Social logo

Comments (4)

TheAMM avatar TheAMM commented on June 27, 2024

Hmm. This is because mpv is being called in the background.
I don't have a Mac to test on (and don't know much about the ecosystem), so this could get complicated.

So let's try the first thing I can come up with.
Please edit the mpv_thumbnail_script_server.lua near line 417, adjust it as follows:

diff --git a/mpv_thumbnail_script_server.lua b/new.lua
index 6a9686e..94e00ab 100644
--- a/mpv_thumbnail_script_server.lua
+++ b/new.lua
@@ -417,6 +417,7 @@ function create_thumbnail_mpv(file_path, timestamp, size, output_path)
         "mpv",
         -- Hide console output
         "--msg-level=all=no",
+        "--player-operation-mode=cplayer",
         file_path,
 
         -- Disable ytdl

(Add the "--player-operation-mode=cplayer", without the leading +)

This might fix it, so fingers crossed.

from mpv_thumbnail_script.

waxfingers avatar waxfingers commented on June 27, 2024

I'm afraid it did not... but got it a bit narrowed down; it only occurs when opening the files by double clicking them in the finder, from the terminal behaviour is ok, I disabled all other scripts, plugs and settings to be sure. OT but just thought it could be useful to have a settings to choose IF automatically delete thumbs from temp once video is closed.

from mpv_thumbnail_script.

Akemi avatar Akemi commented on June 27, 2024

this should be fixed with the next mpv release. the fix is currently only in mpv master.

from mpv_thumbnail_script.

TheAMM avatar TheAMM commented on June 27, 2024

Closing this in advance unless something new pops up.

from mpv_thumbnail_script.

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.