Code Monkey home page Code Monkey logo

Comments (2)

sulazix avatar sulazix commented on August 17, 2024

Hi
You can try: chmod +x m3u2volumio.py

Also try to add python at the begining of the command : python m3u2volumino ....

Chmod +x change the file permission to allow eXecution

from m3u2volumio.

suuuehgi avatar suuuehgi commented on August 17, 2024

By executing

volumio@mutfak:~$ m3u2volumio test.m3u

within you shell, you implicitly query the PATH variable whether m3u2volumio is present on the locations the variable holds. Have a look:

$ echo $PATH
/usr/sbin:/usr/bin:/sbin:/bin

If its neither in /usr/sbin, nor /usr/bin, nor /sbin or /bin, you get command not found.

Since its a python script, you can either call it directly via

python3 /path/to/m3u2volumio.py [...]

or execute it directly

/path/to/m3u2volumio.py [...]

if you declared it to be executable beforehand:

chmod +x m3u2volumio.py

This implicitly executes the program given on the first line #!/usr/bin/python3 (see Shebang) that then runs the script.

from m3u2volumio.

Related Issues (2)

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.