Giter Club home page Giter Club logo

mpdart's Introduction

MPD-Art


Music Player Daemon Current playing info

screenshot 3

screenshot 2

screenshot 3

requirements


- netifaces
- Pillow
- make_colors
- pydebugger
- mutagen >= 1.43.1
- requests
- PyQT5
- qdarkstyle
- qtmodern
- qt-material
- configset
- python-mpd2 / python-mpd
- xnotify (option for notification to growl/pushbullet/nmd/ntfy on nix/win)
- notify2 (option for local notification on nix)
- mimelist
- python 3+

usage


cover: will check image file for local/remote before if run on local then will check tag, if not exist or cover not valid then will get cover from cover server or last.fm (api key requirement). (optional) run mpd as cover server (-s) with -S, -P and -p options on where mpd server running before if you want get cover from cover server.

    usage: mpdart [-h] [-s] [-S COVER_SERVER_HOST] [-P COVER_SERVER_PORT] [-p MUSIC_DIR] [--mpd-host MPD_HOST] [--mpd-port MPD_PORT]
          [-t SECOND]
    
    optional arguments:
      -h, --help            show this help message and exit
      -s, --cover-server    Run cover server
      -S COVER_SERVER_HOST, --cover-server-host COVER_SERVER_HOST
                            Listen cover server on, default = "0.0.0.0"
      -P COVER_SERVER_PORT, --cover-server-port COVER_SERVER_PORT
                            Listen cover server on port, default = "8800"
      -p MUSIC_DIR, --music-dir MUSIC_DIR
                            Music dir from config file
      --mpd-host MPD_HOST   MPD Server host, default = "127.0.0.1"
      --mpd-port MPD_PORT   MPD Server port, default = "6600"
      -t SECOND, --sleep SECOND
                            Time interval, default = 1 second
    
    MPD Client info + Art
  • example:
    # running as cover server on MPD Server
    python mpdart.py -s -S 192.168.0.3 -P 8800 -p /mnt/musics
    
    # running mpdart as a client on any guest / pc
    python mpdart.py -p /mnt/musics
you can use config file `mpdart.ini` to direct setup some options

author


cumulus13

mpdart's People

Contributors

cumulus13 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.