Generic Attributes Used in most windows

Note: The following widgets can be used in any of the MythVideo views. In addition, all textual elements can be combined however the themer likes using the <template> element. To combine the title, year, and description into a single textarea, the theme author might use a template like:

The Parental Level of the selected item. Values are None, Lowest, Low, Medium, and High.

N

season

textarea

Numerical value of the selected item's season.

N

episode

textarea

Numerical value of the selected item's episode.

N

##x##

textarea

Season/Episode value in "1x01" format.

N

s##e##

textarea

Season/Episode value in "s01e01" format.

N

subtitle

textarea

The subtitle of the selected item.

N

trailerstate

statetype

A statetype to display whether or not a given item has a trailer associated with it. Values are hasTrailer and None.

N

watchedstate

statetype

Statetype to indicate whether the item has been watched. Values are yes and no.

N

tagline

textarea

The tagline, or "stinger" phrase for the selected item.

N

The "manager", "browser", "gallery", and "tree" windows

Aside from all of the optional attributes listed above, the Manager, Browser, Gallery, and List Views must have a name="videos" item. In the "manager", "browser", and "gallery" windows, this must be a buttonlist. In the "tree" window (List View), it must be a buttontree. Otherwise you are free to lay out these screens to the extent of your creativity!

Widget Name

Widget Type

Description

Required?

videos

buttonlist OR buttontreeSee discussion!

A buttonlist or buttontree of all the videos in the library

Yes

The "file_associations" window

Widget Name

Widget Type

Description

Required?

extension_select

buttonlist

Buttonlist to selected from available, defined file extensions.

Yes

command

textedit

Textedit to assign the player program for the selected extension.

Yes

ignore_check

checkbox

Checkbox to set ignoring of the selected extension.

Yes

default_check

checkbox

Checkbox to set "Use Default Player" on selected extension.

Yes

done_button

button

The "Done" button.

Yes

new_button

button

The "New" button.

Yes

delete_button

button

The "Delete" button.

Yes

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

net_coverart_button

button

Search online for all available coverart.

Yes

net_banner_button

button

Search online for all available banners.

Yes

net_fanart_button

button

search online for all available fanart.

Yes

net_screenshot_button

button

Search online for all available screenshots.

Yes

trailer_button

button

Button to change trailer.

Yes

done_button

button

The "Done" button.

Yes

description_edit

textedit

Textedit to change Plot/description.

No

subtitle_edit

textedit

Textedit to change the subtitle.

No

rating_edit

textedit

Textedit to change rating/classification.

No

director_edit

textedit

Textedit to modify the director.

No

inetref_edit

textedit

Textedit to change IMDB/TMDB/TTVDB number.

No

watched_check

checkbox

Checkbox to mark item as "watched."

No

year_spin

spinbox

Spinbox for year of release.

No

userrating_spin

spinbox

Spinbox for user rating.

No

length_spin

spinbox

Spinbox for length in minutes.

No

tagline_edit

textedit

The editor for the tagline.

No

The "itemdetailpopup" window

The "itemdetailpopup" window is a popup that appears after selecting an item in gallery view. It can contain any or all of the generic attributes listed above to show details about the film before playing or navigating away from it.