[mythtv] [PATCH] Video Gallery - a folder browser for MythVideo

Marcel m.bijsterveld1 at chello.nl
Mon May 24 17:34:14 EDT 2004


This patch adds an additional menu option to MythVideo named Video Gallery. Video Gallery provides a folder view of your video collection with the cover images as thumbnails. This view is similar to the image browser of MythGallery.

I saw a recent request for a similar feature on the user mailing list, but I was already working on it.

Additional features are:
- You can either show the folder structure or ignore it and have a 'flat' overview of all your videos.
- You can have 3x3 videos per screen with the names printed below them or 4x3 videos with no names.
- You can put a picture as folder.[png|jpg|gif] in a subdirectory and it will be shown as a folder thumbnail.

Note, the code doesn't actually traverse through your file system. It retrieves all the video metadata from the MySQL database and uses the path in the file names to create the folder view. This means that you do have to register a new video via the Video Manager before it becomes available in the browser, but also that Video Gallery supports all the related techniques to organize and filter your video collection.

I do not yet cache the scaled thumbnails so there is still room for some speed optimization.

The complete patch consists of a diff-file and some additional source and image files. 
It is all in this archive: http://members.chello.nl/m.bijsterveld1/videogallery.tar.gz

Marcel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20040524/d63e6ef9/attachment.html


More information about the mythtv-dev mailing list