[mythtv-users] Modifying the video browsing

Pasha Golovko pasha at golovko.org
Tue Aug 8 06:43:18 UTC 2006


I have made a patch to videotree.cpp/h to allow displaying most of the 
information on the video list screen.

In addition to 'plot', 'video_player', 'video_file' and 'video_title' that 
were there before, you can add following fields to the xml to get data 
displayed (after applying patch):
- video_year
- video_length
- video_rating
- video_director
- video_genre

I tried working with the latest SVN trunk, but it doesn't seem to compile for 
me at all, so the patch is against 0.19-fixes.

Let me know if it works for you.

Also, not sure if anyone is interested, I have a patch to display the 
genre-based classification of the videos in the tree view. After applying 
patch you can enable it in the mythvideo settings menu.

- Pasha

On Monday 07 August 2006 20:05, Anduin Withers wrote:
> > If you are open to it, I would love to help.
>
> The opportunity to submit patches is open to everyone. If it is a good
> patch, doesn't break MythVideo in a fundamental way, etc, the odds of it
> making it in (eventually) are good.
>
> > On a side not, you mention plot availability, I assume the code looks
> > for a field (defined in the ui.xml file) with a certain name.  If not
> > found the data is skipped.  What would the name of the datafield be that
> > the code is looking for the the plot data? video_plot?
>
> Just "plot".
>
> Allowing the theme file access to the information is a trivial change,
> unfortunately I've been working on getting a number of less trivial changes
> in and simply won't have time until after this release.
>
> If you do make a patch, all I ask is that you wait for the .20 release and
> send in patches against that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: videotreeinfo.patch
Type: text/x-diff
Size: 7305 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20060807/e93c90cc/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genretree.patch
Type: text/x-diff
Size: 7199 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20060807/e93c90cc/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20060807/e93c90cc/attachment.pgp 


More information about the mythtv-users mailing list