[mythtv] [patch] add mediamonitor to context and use in mythvideo

Leo Weppelman leo at wau.mis.ah.nl
Thu Sep 2 03:42:48 EDT 2004


On Thu, Sep 02, 2004 at 09:24:10AM +0200, Verteiler wrote:
> Leo Weppelman wrote:
> >Would it be a good idea to pull the VideoTree::buildVideoList() out of the
> >VideoTree class and move it to a separate class (VideoList?) and make both
> >the VideoTree and VideoGallery use this function?
> >
> >One step further, it could be turned into a more generic library function.
> >

> This would definitely some benefits although the setup now does tend to 
> be "easier". After having to explain my girlfriend why I have been 
> coming to bed at 2 o'clock in the morning for the past 3 weeks, I do not 
> want to go through a complete walk-through on how to filter out only the 
> music from a complete media library ;) So I for one actually prefere the 
> "newbie" concept of "here are the videos", "here are the pictures" and 
> "here is the music".
> Just thinking loud.

I didn't mean to put everything into the tree, although I can see the benefit
of this mode for some dvd's with miscelanous junk I have. If this function
accepts a list of accepted file extensions, it could just load the files
that are playable for the module calling it.

Leo.


More information about the mythtv-dev mailing list