Ability to abort ripping/recoding #11

Open
azatoth opened this Issue Feb 6, 2013 · 1 comment

Projects

None yet

2 participants

@azatoth
azatoth commented Feb 6, 2013

I'm trying to find a way to solve following three events, and has yet to come up with a solution. Sometimes cd2track just freezes and I have to use kill -9 to kill it.

I'm writing a own program for a project, which is an automated ripping to mp3 when CD is inserted into a drive, but I've been able to reproduce the issues using cd2track.

  1. Ejecting of CD during ripping (using udisk1 for event handling, but hasn't found a way to stop the ripping)
  2. Disconnect the physical CD drive (external USB portable drive)
  3. removal of the target directory during ripping
@tuffy
Owner
tuffy commented Feb 8, 2013

I've pushed out a fix to ensure CD reading doesn't lock up the whole Python interpreter. That way you should be able to perform a ctrl-c to exit in the worst case without having to kill -9 it.

I'll see if I can track down an external USB drive and reproduce the lockups. CD reading is a pretty thin wrapper around libcdio's cdio_read_audio_sectors function so it may be something I need to push upstream if I can locate the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment