Video-ui.xml

From MythTV Official Wiki
Revision as of 21:46, 22 February 2009 by Iamlindoro (talk | contribs) (MythVideo Windows)

Jump to: navigation, search

The video-ui.xml file governs the layout and behavior of the MythVideo Plugin. It consists of the following windows and named attributes:

MythVideo Windows

Window Name Type Description
manager Window The Video Manager view type.
browser Window The Browser view type.
gallery Window The Gallery view type.
tree Window The List View Type.
file_associations Settings Screen The File Extensions screen (found at Utilities/Setup->Setup->Media Settings->Video Settings->File Types).
edit_metadata Settings Screen The Edit Metadata Screen.
itemdetailpopup Popup When an item is selected in Gallery View, this window is popped up showing details before playback.
moviesel Popup Popup for selecting from multiple results from the grabber scripts
castpopup Popup The "View Cast" popup.
plotpopup Popup The "View Plot" popup.


The "manager" window

Widget Name Widget Type Description Required?
parentallevel statetype The Parental Level statetype. Values are None, Lowest, Low, Medium, and High. N
novideos textarea Text area which appears when no videos are present in the library. N
title textarea The title of the selected item. N
director textarea The director of the selected item. N
year textarea The year of release for the selected item. N
rating textarea The ratings-body assigned rating for the selected item (G, PG, R, etc.). N
browseable textarea Whether or not the item is set to browseable. N
length textarea The length of the selected item in minutes. N
plot textarea The plot/description of the selected item. N
filename textarea The path and filename of the selected item. N
coverfile textarea The path and filename of the coverfile for the selected item. N
inetref textarea The grabber-assigned number for the film (ie IMDB number). N
videos buttonlist The list of all items in the video library. N


The "edit_metadata" window

Widget Name Widget Type Description Required?
title_edit textedit Textedit to change title. Yes
player_edit textedit Textedit to change player command. Yes
coverart_text textarea Mythvideo-filled value for path and filename of coverart. Yes
screenshot_text textarea Mythvideo-filled value for path and filename of screenshot. Yes
banner_text textarea Mythvideo-filled value for path and filename of banner art. Yes
fanart_text textarea Mythvideo-filled value for path and filename of fanart. Yes
trailer_text textarea Mythvideo-filled value for path and filename of trailer. Yes
category_select buttonlist Buttonlist to choose selected item's category. Yes
level_select buttonlist Buttonlist to choose selected item's parental level. Yes
child_select buttonlist Buttonlist to choose selected item's "Play After" file. Yes
browse_check checkbox Checkbox to select browseable/non-browseable. Yes
coverart_button button Button to change coverart. Yes
banner_button button Button to change banner. Yes
fanart_button button Button to change fanart. Yes
screenshot_button button Button to change screenshot. Yes
done_button button The "Done" button. Yes