GithubHelp home page GithubHelp logo

tm1628mpd's Introduction

tm1628mpd

A simple Python package that monitors the status of MPD running on devices with TM1628 4-digit VFD displays. When MPD is playing, it displays the time elapsed on the VFD. Otherwise, it displays the current time.

Installation

$ git clone https://github.com/patrickkfkan/tm1628mpd.git
$ cd tm1628mpd
$ sudo pip install .

Running as a systemd service

To start tm1628mpd as a systemd service, continue from above:

$ cd systemd
$ sudo ./install.sh

You can restart, stop and check status of the service:

$ systemctl status tm1628mpd    # Check status
$ systemctl restart tm1628mpd   # Restart
$ systemctl stop tm1628mpd      # Stop

Running from console

If you do not use systemd, you can start tm1628mpd directly from the console:

$ sudo tm1628mpd

Uninstallation

$ sudo pip uninstall tm1628mpd

If you installed tm1628mpd as a systemd service:

$ cd <path/to/tm1628mpd_installation>/systemd   # This is the same path where you ran the script to install the systemd service
$ sudo ./uninstall.sh

License

GPL 2.0

tm1628mpd's People

Contributors

patrickkfkan avatar

Watchers

 avatar

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.