GithubHelp home page GithubHelp logo

hukka / cplay Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 2.0 121 KB

cplay is a curses front-end for various audio players

License: GNU General Public License v2.0

Makefile 1.23% Python 96.10% Roff 2.67%

cplay's People

Contributors

anrxc avatar holizz avatar hukka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

argafal climent

cplay's Issues

Python2 > Python3 - Support Debian 2020

How are you? I'm updating the "cplay" package in Debian, and I'd like to warn you that in 2020 we will no longer have support for python2, if you could pass the code to python3, thank you. So I can re-boot the Debian repository.

Connection to mplayer should not use a named pipe

Named pipes cause problems with multiple cplays and mplayers. Better to run "mplayer -quiet -slave" and open with Popen(command, stdin=PIPE, stdout=PIPE) and read status by sending for example "get_time_pos" and reading the answer. Don't forget to run "fcntl.fcntl(mplayer.stdout, fcntl.F_SETFL, os.O_NONBLOCK)"!

See how Pygme does it, also check ftp://ftp2.mplayerhq.hu/MPlayer/DOCS/tech/slave.txt.

mplayer backend should seek properly

Now mplayer just restarts at a given position, like every other player. But it actually can seek within the same process using the "seek" command. Use that.

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.