[mythtv] mythgame and the db...

David Hunnisett mythtv-dev@snowman.net
Sun, 24 Nov 2002 21:36:02 +0000


I have been thinking about a similar problem for the mp3 part of the
program for mp3's not added by mythmusic.
I was thinking of using either find or locate on startup to see if the
number of records was different to the number of files and if it was re
populate the database
On Sun, Nov 24, 2002 at 02:47:06PM -0500, Chris Liscio wrote:
> Hi guys,
> 
> I don't know how many other people on the list use mythgame, but I noticed
> an oddity when I first tried it.  It only updates the db at most once, until
> you manually go into mysql and blow away the db contents.
> 
> I hacked together a quick fix for this with a mythgamefilldatabase app that
> blows the db away and repopulates it.  I suppose this would make more sense
> since someone can just update the db when they know they've added some stuff
> to their game directory.  I know I am continually adding things to my game
> directory as I acquire new memories of my misspent youth in the 80's... ;)
> 
> Similarly to mythfilldatabase, this can possibly be tossed in a cron job.
> However, when someone adds something new to the directory, they'd probably
> want to get the list updated right away.  In the end, I don't think a cron
> job would make much sense.
> 
> So to get to the point, I'd like to know if anyone else would agree that
> creating mythgamefilldatabase would be desired behavior for mythgame.
> Issac, what do *you* think about this?
> 
> Cheers,
> Chris
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev