Netvision-ui.xml

From MythTV Official Wiki
Revision as of 00:12, 17 January 2010 by Iamlindoro (talk | contribs) (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…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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


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