[mythtv] [PATCH] mythvideo cd support

Matt Porter mporter at kernel.crashing.org
Tue Jun 29 18:28:09 EDT 2004


On Tue, Jun 29, 2004 at 11:55:23PM +0200, Xavier Hervy wrote:
> Xavier Hervy wrote:
> > Xavier Hervy wrote:
> > 
> >> What does this patch ?
> >>
> >> mediamonitor_iso9660.diff add volumeid and keyid for iso cd and change
> >> mediahandler to allow it to send MythMediaDevice.
> >>
> >> for mythvideo:
> >> mythvideocdsupport.diff + 2 files videoutils.cpp and .h
> >> This patch do a lot of thing
> >> + allow browsing cd
> >> + add cd in database collection (add a table called videostorage)
> >> + videotree,videogallery and videobrowse take care about the browse flag
> >> (in VideoFilterSettings class)
> >> + add last time seen flag, each time you watch a movie the lastseen =
> >> curdate ( in videometadata new fields lastseen)
> >> + change menu in videogallery by a menu in tree that allow to filter
> >> list and group by some fields (instead of filepath)
> >> + move all code for playing a video in videoplayer class (in
> >> videoutils.h & .cpp)
> >> + in videomanager if the imdb is 00000000 and you press select, the
> >> movie is search on internet (imdb / allocine) instead of open
> >> editmetadata dialog)
> >> + add code in metadata.h and .cpp, to manage storage (videostorage)
> >>
> >> + and more
> >>
> >> I don't finished to compile but it should work.
> >>
> >> Comment are welcome.
> >>
> >> We will probably find bugs, tell me, then i can fix them.
> >>
> >> Xavier
> >>
> > Something is wrong in this patch, you should include qapplication.h in 
> > videofilter.cpp
> > Xavier
> > 
> 
> :( forget this, that doesn't fix it !
> Xavier

Fix bits at videobrowser.cpp:402 and videofilter.cpp:154 to
get rid of the warnings.

You need to #include <mythtv/mythmediamonitor.h> and use
MediaMonitor::getMediaMonitor()->getMedias() in a couple
places to fix the build. i.e. in videofilter, videotree, and
videoutils.

I can't test the build until I get home.

-Matt


More information about the mythtv-dev mailing list