Coder Social home page Coder Social logo

dedenholm / mpd-coverview-kitty Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.79 MB

fetches coverart for current playing mpd song and displays it in kitty

License: GNU General Public License v2.0

Python 100.00%
album-art album-cover album-cover-art kitty-terminal mpd mpd-album-art mpd-client music

mpd-coverview-kitty's Introduction

mpd-Coverview-kitty

Fetches coverart for current playing mpd song and displays it in kitty terminal.

Written in python.

Features

  • using idle-until-player-state-change feature, enables low cpu usage.
  • fetches album art first from folder.jpeg, cover.png, etc, if none is found it uses mutagen to look for embedded cover art, if all else fails it displays a fallback image
  • no fetching album art from online databases, as ive never experienced a reliable implementation of that.

Installation

  • install all dependencies --listed below-- using pip or your package manager of choice
  • download Coverview folder to a location of your choosing
  • edit /path/to/mpd/music/library in coverview_x.x.py
  • edit /location/of/coverview/.aartminip.png and /location/of/coverview/.placeholder.png to reflect your install location

Usage

launch with python in kitty

kitty python /path/to/coverview_0.9.1.py

you can either create your own .desktop file for launching with rofi, or use a keybinding for launching it

Acknowledgements

this project started with hacking off the album art display portion of Miniplayer, with significant modifications.

Dependencies

mpd

kitty

python 3

python-mutagen

python-pixcat-git

python-mpd2

python-pillow

Screenshots

alt text alt text alt text

mpd-coverview-kitty's People

Contributors

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