GithubHelp home page GithubHelp logo

Comments (6)

Saiyato avatar Saiyato commented on July 25, 2024

I just patched the tvservice not found error, it needed a symlink in the install script.

I couldn't reproduce the JSON error, do you have more info for me? How can I test that?

The last error is caused by a memory shortage, you need a reboot after installation (/boot/config.txt is changed)

from volumio-plugins.

Saiyato avatar Saiyato commented on July 25, 2024

Never mind, I see what happened... you removed the zip file; the problem is with the directory name I used, I use a capital K and uploaded a non-capital k directory.

What do you think? Capital K or not? I have no real preference, just used the capital because it's a name.

Maybe even make it a naming convention, all lower or something like that.

from volumio-plugins.

volumio avatar volumio commented on July 25, 2024
  • Use all lowercase (so no capital K)
  • Avoid as much as possible to write to SD Card (so don't make the symlink if possible)
  • If the user needs to restart you must tell him, so use a popup to notify, see alsa controller plugin to see how to do it
  • I removed the zip because we should always produce from source, this way we can keep code consistent

from volumio-plugins.

Saiyato avatar Saiyato commented on July 25, 2024

Check! Will (try to) patch the directory name tomorrow.

The symlink is because the file is read from /usr/bin/ as opposed to /opt/vc/bin/, it's not really necessary, but the error is ugly imho. It might just work if I move the tvservice binary to /usr/bin/ not sure what that would mean for other applications (I think nothing, but it's just a theory).

I will also read into the alsa controller plugin... I know how to create the pop-up, just not after installation (from install.sh), don't know if the onInstall method works right now.

from volumio-plugins.

volumio avatar volumio commented on July 25, 2024
  • We can add an alias for tv service, I think its useful. Can you send a pr to the build repo? (look in volumioconfig.sh when we create the aliases), we can take the chance of adding the command to nopasswd as well
  • We can extend the rest api service to include a call from which you can broadcast a popup, we need to be creative with this ;) so you can invoke it from the sh

from volumio-plugins.

Saiyato avatar Saiyato commented on July 25, 2024

Added the PR for tv service, not sure if nopasswd is required. Heck, I don't even fully understand what it does, I believe it detects attached screens, but apart from that...

The pop-up in the API would help yes, haven't had the time to read into the alsa controller, but I presume that pop-up doesn't come from sh.

Testing the new directory name now first, hopefully I can push the version tonight.

from volumio-plugins.

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.