hukka / cplay Goto Github PK
View Code? Open in Web Editor NEWcplay is a curses front-end for various audio players
License: GNU General Public License v2.0
cplay is a curses front-end for various audio players
License: GNU General Public License v2.0
libncurses breaks, libncursesw works
Look into http://git.sysphere.org/play/log/ for some patches
http://ncurses.scripts.mit.edu/?p=ncurses.git;a=commit;h=70322aa06a4a97eb
See the fix in play.
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.
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.
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.
http://git.alsa-project.org/?p=alsa-python.git;a=summary come from the actual ALSA project
At least some versions of mplayer might report a negative time. cplay needs to make sure these are not passed on to ncurses.
What services are used these days? See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=339553
At least default command line options, player configuration and metadata view should go to cplayrc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.