[mythtv-commits] Re: Ticket #248: Enhance scanning of video library to accomodate DVD backups

MythTV mythtv at cvs.mythtv.org
Fri Aug 26 21:50:36 UTC 2005

#248: Enhance scanning of video library to accomodate DVD backups
 Reporter:  peter_greis at yahoo.com  |        Owner:  ijr 
     Type:  enhancement            |       Status:  new 
 Priority:  minor                  |    Milestone:  0.19
Component:  mythvideo              |      Version:  head
 Severity:  medium                 |   Resolution:      
       Cc:                         |  
Comment (by erik at hovland.org):

 I took a look at the code. As a special case it probably isn't that hard
 to code up. There is an if clause in the buildFileList which recurses if
 it finds a dir. One could insert some code there to check the name of the
 dir (if VIDEO_TS, then add to m_!VideoFiles, if not go down the directory
 looking for video files. Then put in a VIDEO_TS entry in the extensions
 table in dbcheck.cpp and see if it works out.

 The one issue I haven't figured out is that all of the extension files use
 the same playcommand. But dvd copies would require a different playcommand
 by default. It could be changed manually once mythvideo is up, but that is
 a little cumbersome.

 The other thing I don't like is that the dvd copy search is hardcoded in
 the videoscan class instead of having a little more general solution. I
 wonder if coding it the easy way, if it would be accepted?

Ticket URL: <http://svn.mythtv.org/trac/ticket/248>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list