[mythtv-commits] Ticket #5757: MythVideo improperly caching metadata

MythTV mythtv at cvs.mythtv.org
Thu Oct 2 21:13:54 UTC 2008


#5757: MythVideo improperly caching metadata
---------------------------------------------+------------------------------
 Reporter:  scott.milliken at e-comsultant.net  |       Owner:  awithers
     Type:  defect                           |      Status:  new     
 Priority:  minor                            |   Milestone:  0.22    
Component:  mythvideo                        |     Version:  head    
 Severity:  medium                           |     Mlocked:  0       
---------------------------------------------+------------------------------
 Using trunk svn 18531.

 I have noticed that until you completely exit MythTV, any changes to the
 filesystem are not reflected in MythVideo.  I can easily reproduce on my
 system by doing the following:

 {{{
 touch /myth/video/newfile.avi
 launch MythTV
 Go into Video Manager and Scan for Changes, the file will appear (in both
 Video Manager and Watch Videos)
 rm /myth/video/newfile.avi
 Go back to Video Manager and Scan for Changes, the file is still there (in
 both Video Manager and Watch Videos)
 Exit MythTV completely
 Launch MythTV
 Watch Videos no longer shows the file.  Video Manager will now properly
 remove the file if it is no longer there.
 }}}

 Additionally I have found that modifying the parental level of a file in
 the database directly does not take effect on each front end until it
 completely restarts MythTV.

 example:
 Every 15 minutes I have a cron job set up to automatically add any new
 videos that are unsuitable for my young'un to the videometadata table.  It
 inserts the title, filename, showlevel=2 and browse=0.

 Prior to 15831 this would reflect in the Watch Videos and Video Manager
 screens the next time that I entered into them.  As of 15831, though, they
 don't reflect until MythTV is completely exited.
 Previous behavior was great because the only Level 1 shows on my system
 are Thomas the Train and Curious George, so my 3 year old can run the TV
 on his own, but now he's able to pull up episodes of CSI with bloody
 corpses all over the place...

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


More information about the mythtv-commits mailing list