how to add my files to /usr/bin ?

  • i want to add some my programs or scripts to /usr/bin,but system image file is readonly filesystem,how can i do that?

    Edited once, last by pipipapa ().

  • To put things in /usr/bin you need to compile a custom LE image with appropriate configuration and package changes. There are probably other ways to achieve something though, if you explain in more detail what you're trying to achieve.

  • To put things in /usr/bin you need to compile a custom LE image with appropriate configuration and package changes. There are probably other ways to achieve something though, if you explain in more detail what you're trying to achieve.

    i not only let it to be a movie player,but also a file sever, and control the lights of my living room(when it play a movie turn light to dark and end play turn light to bright)

  • how are you switching the lights on and off? There are addons for hue and xiaomi lights. Also there is a callbacks addon that allows you to run any script or web url. That allows access to almost any home control software.

  • also libreelec already has file sharing, there is nothing to add for that.

    i can use pc to visit LE share files but i don't know how to use mobile phone to player LE share movies

  • how are you switching the lights on and off? There are addons for hue and xiaomi lights. Also there is a callbacks addon that allows you to run any script or web url. That allows access to almost any home control software.

    not only on and off but also dark and bright or half dark/bright,changing slowly. it need send some commands to my light corntrol device.

  • LE has Samba which can share files. It does not share 'movies' in the sense that it does not format/convert/stream specially for phone use. Your phone will also need Kodi or an app like VLC that understands how to read/play the files.

  • As you seem to have an aversion to telling us about what lighting system you have, it is hard to help further.