[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mythtv-dev
Subject:    Re: [mythtv] mythmusic doesn't detect CD eject
From:       leoweppelman () googlemail ! com
Date:       2007-04-30 20:36:30
Message-ID: 20070430203630.GF4427 () wau ! mis ! ah ! nl
[Download RAW message or body]

On Mon, Apr 30, 2007 at 01:21:03PM -0700, Craig Boline wrote:
> Bryant
> 
> You aren't the only one that has this issue.  I found that I just trained myself to \
> stop playing the cd first.  But you are right, this is kinda odd behavior. Why \
> don't you submit a ticket in Trac.  Or, better yet, check if a ticket is already \
> there.  There may already be a patch.

It annoys me too and I got to the point that I changed the paranoia_cb
function in mythmusic/cddecoder.cpp to read:

static void paranoia_cb(long inpos, int function)
{
    inpos = inpos; function = function;
if (function == PARANOIA_CB_READERR)
  VERBOSE(VB_IMPORTANT, "paranoia_cb: Read error");
}


And yes, when I eject the cd during playing, I do get the
'paranoia_cb: Read error' message. Next step is patching CdDecoder::run()
(right below) to do someting with this knowledge - like quitting the decoding.
I haven't had time to cook up a patch yet....

Leo.

_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic