[mythtv] libmyth

Isaac Richards mythtv-dev@snowman.net
Sat, 21 Sep 2002 17:17:58 -0400


Started working on this -- I think I'm fairly done breaking CVS now =)  If 
anyone's following CVS, I'd recommend doing a new checkout, as I've moved 
directories and files around quite a bit, and CVS isn't all that great at 
updating things like that.  Please let me know if things don't build 
properly, but it does all compile on my box, as of now.

Anyway, 'libmyth' isn't too library-ish yet, but I've got all the mythtv apps 
and mythmusic using it now.

On Friday 20 September 2002 05:29 pm, Thor Sigvaldason wrote:
> 	Absolutely. In fact, it would be nice to have a fairly large shared lib
> that can do the lcd stuff, handle menus, and even act as a "Myth Server".
> If it can access the database and knows about where content is on the
> filesystem, then it could be the "thing" that could serve content to any
> requesting client whether local or across a network (to solve all of those
> "I want the server in my basement and a diskless box in my living room"
> requests).

Hmm.  I'd think the best way to do this is using nfs mounts, really..  Just 
have to tell it to use the basement server for the mysql queries, and search 
all specified locations for files to play, and you've got a remote box.

I haven't decided how heavy the lib's going to be, yet.

> 	Whenever you start building a lib, all the algorithms and logic go in
> there, and the GUI's become lighter (more and more like thin clients).
>
> 	The alternative, of course, is a lighter library and a separate mythServer
> process. Either way, I'd really like to get to a point where you can
> configure mythboxes as peers on a network. It just opens up so much
> potential (mythFarms in your basement that record oodles of programs [e.g.
> handoff of conflicts], p2p file sharing, to end-user streaming, dedicated
> re-encoding boxes for DVD/VCD burning, etc., etc.).
>
> 	On a related note, are you planning to move MythMusic into the main MC
> executable, or is the plan for it to stay separate (?). Just wondering
> about how to best start sticking mythLCD into other things.

I think I'm going to keep it separate for now.  Hm.  How well does lcdproc 
deal with having multiple programs try and talk to it?

Isaac