Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
457 lines (377 sloc) 16.8 KB
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE mythuitheme SYSTEM "http://www.mythtv.org/schema/mythuitheme.dtd">
<mythuitheme>
<!-- TODO Fix the visualizer border stuff, mask isnt working for the video widget -->
<!-- Shows the current internet streams and more detailed information about
the current song. Also shows the coverart and the visualizer -->
<window name="streamview" include="base_music.xml">
<imagetype name="background" from="base_background"/>
<textarea name="heading" from="base_heading">
<position>0,0</position>
<textarea name="text">
<value>Internet Stream View</value>
</textarea>
</textarea>
<textarea name="nostreams" from="base_textarea">
<area>20,505,1240,30</area>
<align>allcenter</align>
<value>Press MENU to add some radio streams to play.</value>
</textarea>
<shape name="streamlist_background" from="base_background_shape">
<area>20,50,330,480</area>
</shape>
<buttonlist name="streamlist" from="base_buttonlist">
<area>35,68,300,450</area>
<spacing>3</spacing>
<statetype name="buttonitem">
<state name="active">
<area>0,0,300,52</area>
<shape name="buttonimage_background" from="base_background_shape">
<area>5,5,42,42</area>
<cornerradius>0</cornerradius>
</shape>
<imagetype name="buttonimage">
<area>6,6,40,40</area>
</imagetype>
<textarea name="station" from="base_textarea">
<area>55,2,200,30</area>
<scroll direction="horizontal" rate="35"/>
</textarea>
<textarea name="channel" from="base_textarea">
<area>55,27,200,20</area>
<font>text_small</font>
<scroll direction="horizontal" rate="35"/>
</textarea>
<!-- optional textarea name="genre" -->
<statetype name="playstate" from="base_music_playstate">
<area>265,3,30,30</area>
</statetype>
</state>
<state name="inactive" from="active"/>
<state name="selectedactive" from="active">
<area>0,0,300,52</area>
<shape name="background" from="base_button_shape_selectedactive" />
</state>
<state name="selectedinactive" from="active">
<area>0,0,300,52</area>
<shape name="background" from="base_button_shape_selectedinactive" />
</state>
</statetype>
<statetype name="upscrollarrow">
<position>100%-75,100%-10</position>
</statetype>
<statetype name="downscrollarrow">
<position>100%-100,100%-10</position>
</statetype>
</buttonlist>
<shape name="playedtrackslist_background" from="base_background_shape">
<area>365,50,895,480</area>
</shape>
<buttonlist name="playedtrackslist" from="base_buttonlist">
<area>380,65,865,453</area>
<spacing>1</spacing>
<statetype name="buttonitem">
<state name="active">
<area>0,0,865,36</area>
<shape name="buttonimage_background" from="base_background_shape">
<area>4,3,30,30</area>
<cornerradius>0</cornerradius>
</shape>
<imagetype name="buttonimage">
<area>5,4,28,28</area>
</imagetype>
<textarea name="tracknum" from="base_textarea">
<area>45,3,50,30</area>
<align>right,vcenter</align>
<template>%1 -</template>
</textarea>
<textarea name="title" from="base_textarea">
<area>105,3,300,30</area>
<scroll direction="horizontal" rate="35"/>
</textarea>
<textarea name="artist" from="base_textarea">
<area>420,3,320,30</area>
<scroll direction="horizontal" rate="35"/>
</textarea>
<textarea name="length" from="base_textarea">
<area>760,3,95,30</area>
<align>right,vcenter</align>
<scroll direction="horizontal" rate="35"/>
</textarea>
</state>
<state name="inactive" from="active"/>
<state name="selectedactive" from="active">
<area>0,0,865,36</area>
<shape name="background" from="base_button_shape_selectedactive" />
</state>
<state name="selectedinactive" from="active">
<area>0,0,865,36</area>
<shape name="background" from="base_button_shape_selectedinactive" />
</state>
</statetype>
<statetype name="upscrollarrow">
<position>100%-30,100%-10</position>
</statetype>
<statetype name="downscrollarrow">
<position>100%-55,100%-10</position>
</statetype>
</buttonlist>
<!-- this is the background for the information at the bottom like
shows coverart, track details, ratings and the visualizer -->
<shape name="trackdetails_background" from="base_background_shape">
<area>20,545,1240,165</area>
</shape>
<!-- this is the actual cover image that will be shown if its
available, otherwise only the background image is visible -->
<imagetype name="coverart_background_image">
<area>36,561,133,133</area>
<mask>images/media/music_item_nfmask.png</mask>
<filename>images/media/music_type/album.png</filename>
<preserveaspect>true</preserveaspect>
</imagetype>
<imagetype name="coverart">
<area>36,561,133,133</area>
<mask>images/media/music_item_nfmask.png</mask>
<preserveaspect>true</preserveaspect>
</imagetype>
<imagetype name="coverart_border">
<area>36,561,133,133</area>
<filename>images/media/music_item_nfborder.png</filename>
</imagetype>
<!-- the vertical separator -->
<shape name="cover_separator" from="base_background_shape">
<area>185,546,1,163</area>
</shape>
<imagetype name="ratingstate_background" from="base_rating_background">
<position>980,565</position>
</imagetype>
<statetype name="ratingstate" from="base_rating">
<position>980,565</position>
</statetype>
<textarea name="title" from="base_textarea">
<area>200,560,770,30</area>
<font>title</font>
<scroll direction="horizontal" rate="35"/>
</textarea>
<textarea name="artist" from="base_textarea">
<area>200,595,870,30</area>
<scroll direction="horizontal" rate="35"/>
</textarea>
<textarea name="channel" from="base_textarea">
<area>200,630,600,30</area>
<font>text_grey</font>
<scroll direction="horizontal" rate="35"/>
<template>%STATION% - %CHANNEL%</template>
</textarea>
<progressbar name="bufferprogress" from="base_progressbar">
<position>200,670</position>
</progressbar>
<textarea name="bufferstatus" from="base_textarea">
<area>715,665,140,30</area>
</textarea>
<textarea name="lastplayed" from="base_textarea">
<area>820,630,250,30</area>
<align>right,vcenter</align>
<template>Last played: %1</template>
</textarea>
<textarea name="playcount" from="base_textarea">
<area>860,665,210,30</area>
<align>right,vcenter</align>
<template>Played %1 times</template>
</textarea>
<!-- the vertical separator -->
<shape name="visualizer_separator" from="base_background_shape">
<area>1092,546,1,163</area>
</shape>
<!-- the visualizer and the border around it -->
<imagetype name="visualizer_background_image">
<area>1110,561,133,133</area>
<mask>images/media/music_item_nfmask.png</mask>
<filename>images/media/music_visualization_bg.png</filename>
<preserveaspect>true</preserveaspect>
</imagetype>
<video name="visualizer">
<area>1110,561,133,133</area>
</video>
<imagetype name="visualizer_border">
<area>1110,561,133,133</area>
<filename>images/media/music_item_nfborder.png</filename>
</imagetype>
<!-- This button is not visible and only included to take away
the focus from the playlist. If this button has focus
then the fast forward and backward action can be used -->
<button name="musiccontrols" from="base_button">
<position>580,725</position>
</button>
</window>
<!-- Shows the available stream information that can be edited -->
<window name="editstreammetadata">
<imagetype name="background" from="base_background"/>
<textarea name="heading" from="base_heading">
<position>0,0</position>
<textarea name="text">
<value>Add/Edit Music Stream</value>
</textarea>
</textarea>
<shape name="editstreammetadata_background" from="base_background_shape">
<area>310,195,635,331</area>
</shape>
<textarea name="stationlabel" from="base_textarea">
<area>325,210,175,36</area>
<align>right,vcenter</align>
<value>Station:</value>
</textarea>
<textedit name="stationedit" from="base_textedit">
<position>510,210</position>
</textedit>
<button name="searchbutton" from="base_searchbutton">
<position>895,210</position>
</button>
<textarea name="channellabel" from="stationlabel">
<position>325,250</position>
<value>Channel:</value>
</textarea>
<textedit name="channeledit" from="stationedit">
<position>510,250</position>
</textedit>
<textarea name="urllabel" from="stationlabel">
<position>325,290</position>
<value>URL:</value>
</textarea>
<textedit name="urledit" from="stationedit">
<position>510,290</position>
</textedit>
<textarea name="logourllabel" from="stationlabel">
<position>325,330</position>
<value>Logo URL:</value>
</textarea>
<textedit name="logourledit" from="urledit">
<position>510,330</position>
</textedit>
<textarea name="genrelabel" from="stationlabel">
<position>325,370</position>
<value>Genres:</value>
</textarea>
<textedit name="genreedit" from="urledit">
<position>510,370</position>
</textedit>
<textarea name="formatlabel" from="stationlabel">
<position>325,410</position>
<value>Metadata Format:</value>
</textarea>
<textedit name="formatedit" from="stationedit">
<position>510,410</position>
</textedit>
<shape name="button_separator" from="base_background_shape">
<area>311,460,638,1</area>
</shape>
<button name="savebutton" from="base_button">
<position>475,475</position>
<value>Save</value>
</button>
<button name="cancelbutton" from="base_button">
<position>640,475</position>
<value>Cancel</value>
</button>
</window>
<!-- TODO add a better icecase placeholder -->
<!-- TODO check whats with the selectedstate -->
<!-- Shows all available streams that can be selected -->
<window name="searchstream">
<imagetype name="background" from="base_background"/>
<textarea name="heading" from="base_heading">
<position>0,0</position>
<textarea name="text">
<value>Search for Music Stream</value>
</textarea>
</textarea>
<shape name="searchstream_background" from="base_background_shape">
<area>150,90,970,570</area>
</shape>
<textarea name="stationlabel" from="base_textarea">
<area>165,105,175,36</area>
<align>right,vcenter</align>
<value>Station:</value>
</textarea>
<buttonlist name="stationlist" from="base_selector_wide">
<position>350,105</position>
</buttonlist>
<textarea name="genrelabel" from="stationlabel">
<position>165,145</position>
<value>Genre:</value>
</textarea>
<buttonlist name="genrelist" from="base_selector_wide">
<position>350,145</position>
</buttonlist>
<textarea name="channellabel" from="stationlabel">
<position>165,185</position>
<value>Channel:</value>
</textarea>
<textedit name="channeledit" from="base_textedit">
<position>350,185</position>
</textedit>
<textarea name="matcheslable" from="base_textarea">
<area>750,185,235,36</area>
<value>Matches:</value>
<align>right,vcenter</align>
</textarea>
<textarea name="matchestext" from="stationlabel">
<position>1000,185</position>
<align>left,vcenter</align>
</textarea>
<shape name="result_separator" from="base_background_shape">
<area>151,235,968,1</area>
</shape>
<buttonlist name="streamlist" from="base_buttonlist">
<area>165,250,940,398</area>
<statetype name="buttonitem">
<state name="active">
<area>0,0,940,36</area>
<imagetype name="buttonimage">
<area>5,4,28,28</area>
<filename />
</imagetype>
<shape name="buttonimage_background" from="base_background_shape">
<area>4,3,30,30</area>
<fill color="#000000" alpha="0" />
<cornerradius>0</cornerradius>
</shape>
<!--<statetype name="selectedstate">
<position>900,0</position>
<state name="off" />
<state name="on">
<imagetype name="statusimage">
<area>3,3,30,30</area>
<filename>playlist_yes.png</filename>
</imagetype>
</state>
</statetype>-->
<textarea name="station" from="base_textarea">
<area>50,0,400,36</area>
<scroll direction="horizontal" rate="35"/>
<template>%STATION% - %Channel%</template>
</textarea>
<textarea name="genre" from="base_textarea">
<area>460,0,465,36</area>
<scroll direction="horizontal" rate="35"/>
</textarea>
</state>
<state name="inactive" from="active"/>
<state name="selectedactive" from="active">
<area>0,0,940,36</area>
<shape name="background" from="base_button_shape_selectedactive" />
</state>
<state name="selectedinactive" from="active">
<area>0,0,940,36</area>
<shape name="background" from="base_button_shape_selectedinactive" />
</state>
</statetype>
<statetype name="upscrollarrow">
<position>100%-30,100%-10</position>
</statetype>
<statetype name="downscrollarrow">
<position>100%-55,100%-10</position>
</statetype>
</buttonlist>
</window>
</mythuitheme>