[mythtv] mythmusic w/o id3 and setting to limit how often rereads dir

Andrew C. Ohnstad mythtv-dev@snowman.net
Sat, 7 Dec 2002 11:45:51 -0800 (PST)


--- Isaac Richards <ijr@po.cwru.edu> wrote:
> On Saturday 07 December 2002 02:06 am, Chris Pinkham
> wrote:
> > My second idea concerns mythmusic scanning the
> directory every X times
> > that it starts up.  I'd prefer that it never did
> the scan unless I wanted
> > it to (ie, picking a menu item), but will probably
> take the easy road
> > out right now and make the just make it a setting
> in the config file
> > to scan every X startups.  I think someone said it
> does it every other
> > time right now which can get to be really slow.  I
> have all my mp3 files
> > stored on an nfs/samba server so mythmusic reading
> them can be slow.
> >
> > Comments/suggestions/flames?? :)
> 
> It _might_ be more worthwhile into seeing why it
> takes so long with mp3 files 
> -- most of the time sink on initial database import
> is because it's 
> calculating the length of each song, and that takes
> awhile to do properly.  
> But, each scan after that should just be testing for
> the presence of the 
> file, essentially.  For me startup time is pretty
> much instantaneous, though 
> I only have .oggs and .flacs, and I'm using it
> locally, not over a network..  
> Your call, though, as a setting would work just
> fine.  I'll commit any 
> patches you send my way.

Why not move the scanning into an external program
(ala mythfilldatabase) and not wory about verifying
anything when mythmusic starts up?

--A

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com