[mythtv] [mythtv-commits] Ticket #2744: Scalability patch for mythmusic cd-import / ripping function.

Paul Harrison mythtv at dsl.pipex.com
Sun Jan 21 00:24:12 UTC 2007


Wendy Seltzer wrote:
> Thanks!  Good improvements here, particularly the duplicate-checking 
> and making it easier to match a previously entered Artist.
>
> I've been looking through the cdrip code to try to add support for 
> ripping multiple consecutive tracks to a single file (so classical 
> movements don't get mixed up in random mode, on any device).  Does 
> anyone who's looked at the code recently have suggestions where to start?
>
> Thanks,
> --Wendy
You need to look at CDRipperThread::run(). Basically what happens is for 
each track an encoder object is created and an output filename is 
generated then the track is ripped; the metadata is saved to the 
database then finally the encoder is deleted. You would have to look at 
reusing the same encoder object for the tracks you would want in the 
same file.

Paul H



More information about the mythtv-dev mailing list