cozmobotics / DJ

Play audio files, start the next song a few seconds before the current song ends - almost like a real DJ
GNU General Public License v3.0
0 stars 0 forks source link

DJ

Play audio files, start the next song a few seconds before the current song ends - almost like a real DJ. This project has nothing to do with Cozmo, it is just in the same repository.

play songs without pause, i.e. start the next song a few seconds before the current song ends

optional arguments:

To stop playing, press ^C (Ctrl-C, Strg-C,..). Then the current song will be played to the end, next song will not be started, and the program ends. Press ^C again to stop the current song which will be faded out and the program ends.

Prerequisites: VLC media player and python-vlc (VLC python bindings) installed. Runs on Python2 and Python3. Currently it seems to run on Linux only, not on Windows, see issues.

Tested with

Credits: Thank you for mentioning the solution on stackoverflow https://stackoverflow.com/a/25899180/12436318