[mythtv] patch for mythVideo to use already scanned coverfile

Isaac Richards ijr at po.cwru.edu
Mon Jul 14 21:24:27 EDT 2003


On Monday 14 July 2003 06:59 pm, Dave Alden wrote:
> Hi,
>   I decided to scan all of my DVD covers (I wasn't happy with using the
> posters from imdb -- many of my movies didn't have any posters).  Rather
> than having to modify the sql database each time I enter a new movie, I
> decided to modify mythVideo so it checks a directory to see if there
> already exists a "<movie name>.jpg" for the specified "<movie name>.avi".
> I'm not a c++ programmer (I an old C programmer :-), nor do I know QT,
> so this patch may not be the cleanest.  This is also my first time creating
> a diff using cvs -- let me know if I did it wrong.  :-)

Would it be better to just look for <name>.[image extension] in the same 
directory as the movie itself?  Also, probably not best to just assume 
everything's going to have a 3 character extension when generating the cover 
name.

Isaac


More information about the mythtv-dev mailing list