Git Product home page Git Product logo

Comments (4)

worron avatar worron commented on August 20, 2024

be multi-user friendly (using a common FIFO under /tmp isn't really

Why it isn't? You can manually edit ~/.config/cavalcade/cava.ini and set individual file for every user. I can add unique file name auto generation per user on first launch if manual editing is really problem.

or ideally multi-process friendly, like the FIFO being placed under /run/cavalcade/$PID for example.

Not sure it's that easy, current GUI part was not designed for multi-process.

Also, two cava instances after manually killing can be really problem, I should rethink about it. But it doesn't seems like multi-user matter.

from cavalcade.

Thesola10 avatar Thesola10 commented on August 20, 2024

Also, two cava instances after manually killing can be really problem,

At least trapping SIGTERM to kill cava with cavalcade should partly solve the problem.

from cavalcade.

Thesola10 avatar Thesola10 commented on August 20, 2024

Also, concerning the FIFO, can't you open a FD pipe so that cava communicates with cavalcade entirely internally? (os.pipe(), os.fork(), os.execve() basically forking to call cava with the pipe pre-made, a la C language). It would solve the instance problem since cava would be killed by a broken pipe when cavalcade stops.

from cavalcade.

worron avatar worron commented on August 20, 2024

I'll take a look what can be done.

from cavalcade.

Related Issues (9)

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.