GithubHelp home page GithubHelp logo

playerctl-butler's Introduction

playerctl-butler

May I take care of the volume for you, Sir?

The issue

Inevitably, every album ends up being mixed at different volumes, and when listening to several in a row you find yourself having to find the perfect volume again and again, every time you go through it. Normalization isn't a feature every client offers, and when it's there it often is unrealiable, leading to unsatisfying results.

Come in, Jeeves

playerctl-butler is a bash script that keeps track of the desired volume for each album - or whatever combination of metadata - and applies it to the player of choice when they match. It depends on playerctl to interface with MPRIS without reinventing the wheel.

Customization

The properties and player to be checked can be customized, as well as how often. The script itself comes with a self-explanatory example, and more details on the format are given by playerctl itself.

Usage

Once the case-insensitive metadata map, format, player and interval variables have been set in the script, the script needs no further args. nohup ./playerctl-butler.sh & will do just fine.

TODO

  • Support for partial player name match
  • Loop through every player if no player information is configured

playerctl-butler's People

Contributors

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