Difference between revisions of "Netvision-ui.xml"

From MythTV Official Wiki
Jump to: navigation, search
(Created page with 'The netvision-ui.xml file governs the layout and behavior of the MythNetvision plugin. It consists of the following windows and named attributes: = MythNetvision Plugin Windows…')
 
Line 106: Line 106:
 
| A textarea to appear when there are no sites/scripts present or set up.
 
| A textarea to appear when there are no sites/scripts present or set up.
 
| align="center"  | N  
 
| align="center"  | N  
 +
|-
 +
| style="background:darkturquoise" | width
 +
| style="background:darkturquoise" align="center" | textarea
 +
| style="background:darkturquoise" | The pixel width of the selected item.
 +
| style="background:darkturquoise" align="center" | N
 +
|-
 +
| height
 +
| align="center"  | textarea
 +
| The pixel height of the selected item.
 +
| align="center"  | N
 +
|-
 +
| style="background:darkturquoise" | resolution
 +
| style="background:darkturquoise" align="center" | textarea
 +
| style="background:darkturquoise" | The resolution of the selected item (ie 640x480).
 +
| style="background:darkturquoise" align="center" | N
 +
|-
 
|}
 
|}
  

Revision as of 22:06, 17 January 2010

The netvision-ui.xml file governs the layout and behavior of the MythNetvision plugin. It consists of the following windows and named attributes:

MythNetvision Plugin Windows

Window Name Type Description
netsearch Window The MythNetvision Internet Video Search screen.
rsseditpopup Window The Add/Edit RSS subscription window.
tree Window The List/Tree view site browse view.
gallery Window The Gallery site browse view.
browser Window The Browse site browse view.
treeeditor Window The Add/Edit RSS subscription window.
rsseditor Window The RSS subscription management window.

Generic Attributes Used in most windows

The MythNetvision Browser, Gallery, and List views are unique as they share many/most attributes, most of which are entirely optional. This allows the themer to show whichever information he or she likes across four different views. This is a list of attributes you can theme across all of the aforementioned windows.
Widget Name Widget Type Description Required?
title textarea The title of the selected item. N
description textarea The description/plot of the selected item. N
url textarea The URL to the <link> attribute of the selected item. N
thumbnail textarea The URL to the selected item's thumbnail. N
mediaurl textarea The URL to the <media:content> attribute of the selected item (usually the download link). N
author textarea The author of the selected item. N
date textarea The date of the selected item (format set by user's frontend preferences). N
time textarea The duration of the item in seconds. N
filesize textarea The filesize in bytes of the selected item. N
filesize_str textarea The "plain english" filesize of the selected item, in megabytes. N
rating textarea The user rating of the selected item. N
nosites textarea A textarea to appear when there are no sites/scripts present or set up. N
width textarea The pixel width of the selected item. N
height textarea The pixel height of the selected item. N
resolution textarea The resolution of the selected item (ie 640x480). N


The "netsearch" window

Widget Name Widget Type Description Required?
sites buttontlist The buttonlist for all the configured search scripts. Features special textarea count for number of search results. Yes
results buttonlist A list of search results for the current search. Most of the above attributes such as title, author, etc. can be used in this buttonlist. Yes
search textedit A textedit to enter the search term. Yes
preview imagetype A preview image/thumbnail for the selected item. No
page textarea The page presently displayed in the search (ie, "Page 2/4"). No
downloadable statetype Whether or not the selected item is downloadable (Yes/No). State names are "yes" and "no". No

The "tree" window

Widget Name Widget Type Description Required?
videos buttontree A buttontree for all the browseable videos. Yes


The "gallery" window

Widget Name Widget Type Description Required?
videos buttonlist A buttonlist for all the browseable videos. Yes


The "browser" window

Widget Name Widget Type Description Required?
videos buttonlist A buttonlist for all the browseable videos. Yes