Help modding cirrus ev2 + rapier skin - denywinarto - 2012-06-26
Cirrus' skin is excellent and got everything i need, except it doesn't have seekbar, and the player is blocking the sub
So i'm trying to merge rapier's video osd,
I replaced cirrus' videoosd.xml with rapier's
And i merge the textures.xbt for both skins.
But I can't get the prev next rewind forward buttons to show up..
And also, whenever the focus is on Stop button, the controls somehow slides to the right
Any idea how to fix this?
Here's the code for the control panel
Code: <control type="grouplist" id="203">
<description>Player Extra Controls</description>
<posx>433</posx>
<posy>15</posy>
<width>40</width>
<height>40</height>
<itemgap>10</itemgap>
<orientation>horizontal</orientation>
<align>right</align>
<usecontrolcoords>true</usecontrolcoords>
<enable>Player.CanRecord</enable>
<onup>-</onup>
<ondown>-</ondown>
<onleft>115</onleft>
<onright>106</onright>
<control type="button" id="110">
<description>Rec</description>
<width>40</width>
<height>40</height>
<texturefocus>-</texturefocus>
<texturenofocus>-</texturenofocus>
<onclick>PlayerControl(Record)</onclick>
<pulseonselect>false</pulseonselect>
</control>
<control type="image" id="111">
<description>Rec No Focus</description>
<posx>-50</posx>
<width>40</width>
<height>40</height>
<texture>osd/osd-record-nofocus.png</texture>
<visible>!Control.HasFocus(110)</visible>
</control>
<control type="image" id="112">
<description>Rec Focus</description>
<posx>-50</posx>
<width>40</width>
<height>40</height>
<texture>osd/osd-record-focus.png</texture>
<visible>Control.HasFocus(110)</visible>
</control>
<control type="image" id="113">
<description>Rec 2 No Focus</description>
<posx>-50</posx>
<width>40</width>
<height>40</height>
<texture>osd/osd-record-2.png</texture>
<visible>Player.Recording + !Control.HasFocus(110)</visible>
</control>
<control type="image" id="114">
<description>Rec 2 Focus</description>
<posx>-50</posx>
<width>40</width>
<height>40</height>
<texture>osd/osd-record-focus.png</texture>
<visible>Player.Recording + Control.HasFocus(110)</visible>
</control>
</control>
<control type="grouplist" id="202">
<description>Player Controls</description>
<visible>!VideoPlayer.Content(LiveTV)</visible>
<posx>489</posx>
<posy>10</posy>
<width>310</width>
<height>50</height>
<itemgap>10</itemgap>
<usecontrolcoords>true</usecontrolcoords>
<orientation>horizontal</orientation>
<onup>-</onup>
<ondown>-</ondown>
<onleft>112</onleft>
<onright>100</onright>
<control type="button" id="106">
<description>Skip Prev</description>
<posy>5</posy>
<width>40</width>
<height>40</height>
<texturefocus>osd/osd-skip-prev-focus.png</texturefocus>
<texturenofocus>osd/osd-skip-prev-nofocus.png</texturenofocus>
<onclick>PlayerControl(Previous)</onclick>
<pulseonselect>false</pulseonselect>
</control>
<control type="button" id="105">
<description>Rewind</description>
<posy>5</posy>
<width>40</width>
<height>40</height>
<texturefocus>osd/osd-rewind-focus.png</texturefocus>
<texturenofocus>osd/osd-rewind-nofocus.png</texturenofocus>
<onclick>PlayerControl(Rewind)</onclick>
<pulseonselect>false</pulseonselect>
</control>
<control type="button" id="104">
<description>Stop</description>
<posy>2</posy>
<width>46</width>
<height>46</height>
<texturefocus>osd/osd-stop-focus.png</texturefocus>
<texturenofocus>osd/osd-stop-nofocus.png</texturenofocus>
<onclick>PlayerControl(Stop)</onclick>
<pulseonselect>false</pulseonselect>
</control>
<control type="togglebutton" id="107">
<description>Play/Pause</description>
<posy>2</posy>
<width>46</width>
<height>46</height>
<texturefocus>osd/osd-pause-focus.png</texturefocus>
<texturenofocus>osd/osd-pause-nofocus.png</texturenofocus>
<alttexturefocus>osd/osd-play-focus.png</alttexturefocus>
<alttexturenofocus>osd/osd-play-nofocus.png</alttexturenofocus>
<usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
<onclick>PlayerControl(Play)</onclick>
<pulseonselect>false</pulseonselect>
</control>
<control type="button" id="108">
<description>Forward</description>
<posy>5</posy>
<width>40</width>
<height>40</height>
<texturefocus>osd/osd-forward-focus.png</texturefocus>
<texturenofocus>osd/osd-forward-nofocus.png</texturenofocus>
<onclick>PlayerControl(Forward)</onclick>
<pulseonselect>false</pulseonselect>
</control>
<control type="button" id="109">
<description>Skip Next</description>
<posy>5</posy>
<width>40</width>
<height>40</height>
<texturefocus>osd/osd-skip-next-focus.png</texturefocus>
<texturenofocus>osd/osd-skip-next-nofocus.png</texturenofocus>
<onclick>PlayerControl(Next)</onclick>
<pulseonselect>false</pulseonselect>
</control>
</control>
<control type="grouplist" id="201">
<visible>VideoPlayer.Content(LiveTV)</visible>
<description>Player Settings Controls</description>
<posx>57</posx>
<posy>17</posy>
<width>300</width>
<height>35</height>
<itemgap>10</itemgap>
<orientation>horizontal</orientation>
<onup>-</onup>
<ondown>-</ondown>
<onleft>109</onleft>
<onright>110</onright>
<control type="button" id="100">
<description>Exit Fullscreen</description>
<width>35</width>
<height>35</height>
<font>-</font>
<label>$LOCALIZE[13012]</label>
<texturefocus>osd/osd-exit-fullscreen-focus.png</texturefocus>
<texturenofocus>osd/osd-exit-fullscreen-nofocus.png</texturenofocus>
<onclick>Dialog.Close(VideoOSD,true)</onclick>
<onclick>FullScreen</onclick>
<pulseonselect>false</pulseonselect>
</control>
<control type="button" id="101">
<description>Teletext</description>
<width>35</width>
<height>35</height>
<font>-</font>
<label>Teletext</label>
<texturefocus>osd/osd-teletext-focus.png</texturefocus>
<texturenofocus>osd/osd-teletext-nofocus.png</texturenofocus>
<onclick>ActivateWindow(Teletext)</onclick>
<pulseonselect>false</pulseonselect>
</control>
<control type="button" id="116">
<visible>false</visible>
</control>
<control type="button" id="102">
<description>Audio Settings</description>
<width>35</width>
<height>35</height>
<font>-</font>
<label>$LOCALIZE[13396]</label>
<texturefocus>osd/osd-audio-settings-focus.png</texturefocus>
<texturenofocus>osd/osd-audio-settings-nofocus.png</texturenofocus>
<onclick>ActivateWindow(OSDAudioSettings)</onclick>
<pulseonselect>false</pulseonselect>
</control>
<control type="button" id="103">
<description>Video Settings</description>
<width>35</width>
<height>35</height>
<font>-</font>
<label>$LOCALIZE[13395]</label>
<texturefocus>osd/osd-video-settings-focus.png</texturefocus>
<texturenofocus>osd/osd-video-settings-nofocus.png</texturenofocus>
<onclick>ActivateWindow(OSDVideoSettings)</onclick>
<pulseonselect>false</pulseonselect>
</control>
<control type="button" id="115">
<visible>false</visible>
</control>
</control>
<control type="grouplist" id="202">
<visible>VideoPlayer.Content(LiveTV)</visible>
<description>Player Controls</description>
<posx>489</posx>
<posy>10</posy>
<width>310</width>
<height>50</height>
<itemgap>10</itemgap>
<usecontrolcoords>true</usecontrolcoords>
<orientation>horizontal</orientation>
<onup>-</onup>
<ondown>-</ondown>
<onleft>112</onleft>
<onright>100</onright>
<control type="button" id="106">
<description>Guide</description>
<posy>5</posy>
<width>40</width>
<height>40</height>
<texturefocus>osd/osd-epg-focus.png</texturefocus>
<texturenofocus>osd/osd-epg-nofocus.png</texturenofocus>
<onclick>ActivateWindow(PVROSDGuide)</onclick>
<onclick>Dialog.Close(VideoOSD)</onclick>
<pulseonselect>false</pulseonselect>
</control>
<control type="button" id="105">
<description>Channels</description>
<posy>5</posy>
<width>40</width>
<height>40</height>
<texturefocus>osd/osd-channel-list-focus.png</texturefocus>
<texturenofocus>osd/osd-channel-list-nofocus.png</texturenofocus>
<onclick>ActivateWindow(PVROSDChannels)</onclick>
<onclick>Dialog.Close(VideoOSD)</onclick>
<pulseonselect>false</pulseonselect>
</control>
<control type="button" id="104">
<description>Stop</description>
<posy>2</posy>
<width>46</width>
<height>46</height>
<texturefocus>osd/osd-stop-focus.png</texturefocus>
<texturenofocus>osd/osd-stop-nofocus.png</texturenofocus>
<onclick>PlayerControl(Stop)</onclick>
<pulseonselect>false</pulseonselect>
</control>
I've changed alot of things but still no luck..
RE: Help modding cirrus ev2 + rapier skin - denywinarto - 2012-06-26
I managed to make the buttons appear by editing the buttons and togglebutton in defaults.xml
But it messes up the "button" and "togglebutton" everywhere else..
Kinda expect this when dealing with dependencies
So i tried to edit each corresponding controls manually with values in defaults.xml
But i can't override controls in osdvideo.xml with the values in defaults.xml.. any idea why?
e.g for rewind buttons controls in osdvideo.xml, i tried putting in defaults.xml's button values, but it doesn't work..
Edit : nevermind, it's working now
RE: Help modding cirrus ev2 + rapier skin - yak196109 - 2012-06-27
VideoOSD.XML :
http://xbmc.ru/forum/showthread.php?p=29243#post29243
RE: Help modding cirrus ev2 + rapier skin - soxism - 2012-12-28
Hey denywinarto any chance you can paste your changes in here?
|