Git Product home page Git Product logo

playerctl.el's People

Contributors

claha avatar nikoshi avatar purcell avatar robertodr avatar syohex avatar thomas-louvigne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

playerctl.el's Issues

Add copyright notice and COPYING file

The file playerctl.el states it is licensed under GPLv3, but lacks a copyright notice. Furthermore, the project should provide a copy of the GPL in a file conventionally named COPYING. See https://www.gnu.org/licenses/gpl-howto.html for more information.

You may also be aware that GitHub recently updated their Terms of Service in a way that is potentially negative for GPL projects. See https://www.mirbsd.org/permalinks/wlog-10_e20170301-tg.htm for such an interpretation.

playerctl-metadata appears to be broken.

I don't think my implementation of playerctl-metadata works as intendend :( Suggestions on how I could debug this?

playerctl-metadata: Wrong number of arguments: #[(cmd arg msg) "���������	%������������
��\"�������!)��" [cmd arg proc msg start-process "playerctl.el" "*playerctl*" "playerctl" "status" set-process-filter ...] 6], 4

Adding a new command

Hello and thanks for this package! I am trying to add a new command to show metadata from a player:

  (defun playerctl-metadata ()
    "Get metadata from playerctl player."
    (interactive)
    (let ((proc (start-process "playerctl.el" "*playerctl*" "playerctl" "metadata" "--format {{ playerName }}")))
      (set-process-filter proc (lambda
                                 (proc line)
                                 (message line))))
    )

The command playerctl metadata --format {{ playerName }} works fine in the terminal, but run within Emacs it gives: Unknown option --format {{ playerName }}. This is the first time I write an Emacs function, should command-line arguments be treated in a special way?

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.