GithubHelp home page GithubHelp logo

Comments (6)

lachlan-00 avatar lachlan-00 commented on August 29, 2024

i have taken the last-100 plugin and tried writing to the data folder using fs-extra.

problem is that it crashes the web interface until i disable it.
does a system plugin have extra features over a user plugin?

from volumio-plugins.

volumio avatar volumio commented on August 29, 2024

No, you should check your code better.
Let me see what you've done

from volumio-plugins.

lachlan-00 avatar lachlan-00 commented on August 29, 2024

I have the plugin creating the txt file on start so I'm nearly there. I just cut out the last 100 i didnt want, then added fs-extra lines.

Here is a zip from the cli
https://cloud.lachlandewaard.org/index.php/s/ffM5PFqMJsjCeYc

from volumio-plugins.

volumio avatar volumio commented on August 29, 2024

You're doing it wrong.
Use the plugin helper to create a new plugin:
https://volumio.github.io/docs/Plugin_System/Writing_A_Plugin.html

from volumio-plugins.

lachlan-00 avatar lachlan-00 commented on August 29, 2024

Will do. I'm usually a python person but I'll sit down after work and sort this out.

from volumio-plugins.

lachlan-00 avatar lachlan-00 commented on August 29, 2024

cache_fm.zip

I give up. i've tried making separate functions and tried to work out how to stop the plugin reloading every time i start if but i can't work out what i'm doing.

the functions run but the web interface resets whenever i enable socket-io. I want to use sockets to get the playing song data but i've tried every existing plugin/get/push/etc and nothing works.

checkCacheruns and then it looks like it crashes at io.connection in checkPlayback.

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.