Coder Social home page Coder Social logo

Comments (5)

tatsumoto-ren avatar tatsumoto-ren commented on August 14, 2024

It's been a while since I used Celluoid. How do you install the scripts on it? I'm guessing copying the folder to ~/.config/celluloid/scripts should work though.

from mpvacious.

k-kirill avatar k-kirill commented on August 14, 2024

I either copy them manually to the ~/.config/celluloid/scripts or drop them into the Plugins tab. But as I wrote in the first comment it does not work for mpvacious, perhaps due tot the fact that there are several scripts.

from mpvacious.

tatsumoto-ren avatar tatsumoto-ren commented on August 14, 2024

as I wrote in the first comment it does not work for mpvacious, perhaps due tot the fact that there are several scripts.

Vanilla mpv expects each folder in ~/.config/mpv/scripts to contain a file named main.lua. This file is executed when an add-on loads. Unless Celluoid supports something similar, running mpvacious may be impossible.

from mpvacious.

k-kirill avatar k-kirill commented on August 14, 2024

I found some lua script and was able to modify it to make mpvacious work with Celluloid :) With it in the scripts folder it can load everything from the checked out mpvacious directory.

local mpv_scripts_dir_path = os.getenv("HOME") ..  "/.config/celluloid/scripts/"
package.path = package.path .. ';' .. os.getenv("HOME") .. '/.config/celluloid/scripts/mpvacious/?.lua'
function load(relative_path) dofile(mpv_scripts_dir_path .. relative_path) end 
load("mpvacious/subs2srs.lua")

from mpvacious.

tatsumoto-ren avatar tatsumoto-ren commented on August 14, 2024

I see. I'll modify the readme file accordingly.

from mpvacious.

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.