Kodi Community Forum
[MOD] Rapier Qualar Mod - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Rapier (https://forum.kodi.tv/forumdisplay.php?fid=120)
+---- Thread: [MOD] Rapier Qualar Mod (/showthread.php?tid=61126)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


- steph99 - 2009-12-08

wow, you're quick.
yes, exactly


- r1ctus - 2009-12-08

Mine looks like this:
Image


- steph99 - 2009-12-08

nice, but....how did you do it? Wink


- pezlin - 2009-12-08

qualar Wrote:Unfortunately I do not have the hardware to be able to test this.

I do this change every time that I update the Rapier Qualar Mod skin and I can verify that it is working.


- qualar - 2009-12-08

Now the problem is that pressing "i" is an internal XBMC function that calls the information window. Without testing the only way I can think to achieve your result would be to put the entire 3dview code in the movie info xml. I would be loathed to do this because the 3dview code is quite large even though you could use an include to reduce the code a lot the xbmc skinning engine will still have to process all of it each time.


- qualar - 2009-12-08

pezlin Wrote:I do this change every time that I update the Rapier Qualar Mod skin and I can verify that it is working.

Ok just upload your default.xml and I will merge it into the next and subsequent releases.


- qualar - 2009-12-08

steph99 Wrote:Hi qualar,

First of all: a BIG THANK YOU for your grate work! I just love it! Smile

I changed 2 things in my own version, maybe worth a thought for you or someone else:
1. I use the 3d wrap view. Here I show one pic on the right which I changed into an automatic slideshow of all extrathumbs I have.
2. I added a scrollbar to the bottom. It's activated on down. Trailers are shown on second down. I have around 300 movies, so I really need a scrollbar....

My question:
Right now I try to make the movie info (the detail window with plot and cast etc.) into a popup that shows in front of your 3d wrap view when info is pressed. I already changed the current one into a "type dialog" but your view still vanishes from the background when the detail window appears. --> can you give me any hints where to look? Huh
Would be much appreciated.

Again: thanks for all your hard work!

Stephan

I would merge the scrollbar providing you have also added an option in customskinsettings to enable/disable it. However, I cannot include the extra thumbs part because not everyone goes to the trouble of downloading extras and only use what is scraped. If you want the parts I mention merged upload your xmls and I will include.


- wannabegt4 - 2009-12-08

I looked at the text on the home screen idea and it doesn't look like you can do the mirror effect for text. flipx appears to be limited to use on images according to all that I could find in the wiki.


- steph99 - 2009-12-08

Thanks for your quick reply!

I think the idea to make the movie datails incl. actor info etc "a part of" the general info is worth considering. Especially in terms of usability but also regarding the look&feel of the interface.

In case you're interested: showmix 2.5 (http://www.showmix-project.com/plugins/pviewgallery/pviewgallery.php?image=23 ) have done just that in their multiplex view. They just "flip" (rotatey) the info-part to show the actors etc. Maybe they found a different/easier way of doing this?

One more (separate) point: I'd love to see the actors as selectable thumbs and search for them in my database. Wink


- qualar - 2009-12-08

steph99 Wrote:Thanks for your quick reply!

I think the idea to make the movie datails incl. actor info etc "a part of" the general info is worth considering. Especially in terms of usability but also regarding the look&feel of the interface.

In case you're interested: showmix 2.5 (http://www.showmix-project.com/plugins/pviewgallery/pviewgallery.php?image=23 ) have done just that in their multiplex view. They just "flip" (rotatey) the info-part to show the actors etc. Maybe they found a different/easier way of doing this?

One more (separate) point: I'd love to see the actors as selectable thumbs and search for them in my database. Wink

Oh I think i slightly misunderstood. If you use showmix as a guide you should be able to work out how they intercepted the "i" call. However, talking about maintaining look and feel if you implemented this type of mod on the 3d view. when people use other views they would get a different info screen. But I am happy to implement anything within reason providing it is optional so that people who prefer the original can have that if they wish.


- steph99 - 2009-12-08

Quote:I would merge the scrollbar providing you have also added an option in customskinsettings to enable/disable it. However, I cannot include the extra thumbs part because not everyone goes to the trouble of downloading extras and only use what is scraped. If you want the parts I mention merged upload your xmls and I will include.

Thanks a lot for your offer! Unfortunately, I have no clue about programming. I just started to experiment by trial and error and reading the wiki and so on.

So all I could give you for the scrollbar is this code I inserted into ViewsVideo.xml:

Code:
<control type="scrollbar" id="150">
    <posx>-1</posx>
    <posy>710</posy>
    <height>10</height>
    <width>1282</width>
    <orientation>horizontal</orientation>
    <texturesliderbackground border="2">scrollbar-background.png</texturesliderbackground>
    <texturesliderbar border="2">scrollbar-slider-horz-nofocus.png</texturesliderbar>
    <texturesliderbarfocus border="2">scrollbar-slider-horz-focus.png</texturesliderbarfocus>
<!--    <visible>Skin.HasSetting(ShowWrapInfoViewScrollbar) + Control.IsVisible(53)</visible>  -->
    <animation effect="fade" end="50" condition="true">Conditional</animation>
    <onup>500</onup>
    <ondown>XBMC.PlayMedia($INFO[ListItem.Trailer],1,noresume)</ondown>
</control>

In addition, I changed the <ondown> here:

Code:
<control type="wraplist" id="74">
    <viewtype label="31119">3D Wrap View</viewtype>
        <posx>7</posx>
        <posy>530</posy>
        <width>1260</width>
        <height>200</height>    
        <onleft>74</onleft>
        <onright>74</onright>
        <onup>505</onup>
<!-- <ondown>XBMC.PlayMedia($INFO[ListItem.Trailer],1,noresume)</ondown> -->
        <ondown>150</ondown>

And the Trailer Label:

Code:
<control type="label">
<description>Play Trailer Label</description>
<posx>850</posx>    
<posy>430</posy>
<font>Font_NewRapierNarrowCaps_22</font>
<textcolor>ffffffff</textcolor>                    
<label>*** Press Down 2x To View Trailer ***</label>    
<align>center</align>
<visible>!IsEmpty(ListItem.Trailer) + !Player.HasMedia</visible>
</control>



- steph99 - 2009-12-08

Quote:Oh I think i slightly misunderstood. If you use showmix as a guide you should be able to work out how they intercepted the "i" call.
well, as I said: I'm a complete idiot when it comes to programming... Wink
But I'll try.

Quote:However, talking about maintaining look and feel if you implemented this type of mod on the 3d view. when people use other views they would get a different info screen. But I am happy to implement anything within reason providing it is optional so that people who prefer the original can have that if they wish.

I understand, although: if one can intercept the "i", then wouldn't it be possible to show a custom window instead of the default DialogVideoInfo.xml? If so, then other views would not be affected.Am I correct...or just not as smart as I wanna be? Huh


- wannabegt4 - 2009-12-08

steph99 Wrote:well, as I said: I'm a complete idiot when it comes to programming... Wink
But I'll try.



I understand, although: if one can intercept the "i", then wouldn't it be possible to show a custom window instead of the default DialogVideoInfo.xml? If so, then other views would not be affected.Am I correct...or just not as smart as I wanna be? Huh

Shouldn't it be as easy as having two conditionally visible control groups in the viewsvideoinfo.xml. One that shows only when in 3D wrap view and the other that shows on all other views. XBMC should pic the first condition that returns true and ignore the rest. So I doubt adding the extra code should affect performance much if at all.


Selectable Actors incl. search - steph99 - 2009-12-08

hi again,

in case you're interested: I included selectable Actors in my movie infos (DialogVideoInfo.xml). Actor search also works.

If someone wants to incorporate this, you might need to change x and y positions a bit. I played around with DialogVideoInfo.xml so much, it looks...different now. Wink

1. In DialogSelect.xml one line has to be added to line 2: <zorder>3</zorder> (so the search dialog comes to the front)
2. In DialogVideoInfo.xml I change the following around line 331:

Code:
            <!--        <control type="textbox" id="50">  -->
            <!--            <description>Cast and Role</description>  -->
            <!--            <posx>250</posx>  -->
            <!--            <posy>430</posy>  -->
            <!--            <width>780</width>  -->
            <!--            <height>130</height>  -->
            <!--            <include>MediaInfoPlotTextbox</include>  -->
            <!--            <label>$INFO[ListItem.CastAndRole]</label>  -->
            <!--            <autoscroll time="2000" delay="10000" repeat="10000">true</autoscroll> -->
            <!--        </control>  -->
                                
                        <!-- mod cast with icons selectable -->
                            
                        <control type="list" id="50">
                            <description>Cast List Container</description>
                            <posx>250</posx>        
                            <posy>380</posy>
                            <width>780</width>
                            <height>115</height>
                            <onleft>9000</onleft>
                            <onright>9000</onright>
                            <onup>9000</onup>
                            <ondown>50</ondown>
                            <orientation>vertical</orientation>
                            <itemlayout width="250" height="28">
                                <control type="image">
                                    <posx>0</posx>
                                    <posy>3</posy>
                                    <width>22</width>
                                    <height>22</height>
                                    <texture>DefaultActorBig.png</texture>
                                    <info>ListItem.Icon</info>
                                    </control>
                                <control type="label">
                                    <posx>30</posx>
                                    <posy>3</posy>
                                    <width>570</width>
                                    <height>22</height>
                                    <aligny>center</aligny>
                                    <include>MediaInfoLabel</include>
                                    <align>left</align>
                                    <info>ListItem.Label</info>
                                    </control>
                                </itemlayout>
                            <focusedlayout height="28" width="250">
                                <control type="image">
                                    <posx>0</posx>
                                    <posy>3</posy>
                                    <width>22</width>
                                    <height>22</height>
                                    <texture>DefaultActorBig.png</texture>
                                    <info>ListItem.Icon</info>
                                    </control>
                                <control type="label">
                                    <posx>30</posx>
                                    <posy>3</posy>
                                    <width>570</width>
                                    <height>22</height>
                                    <font>MediaInfoFont</font>
                                    <textcolor>InfoDialogHeaderColor</textcolor>
                                    <aligny>center</aligny>
                                    <align>left</align>
                                    <info>ListItem.Label</info>
                                    </control>
                                </focusedlayout>
                            </control>
                        <control type="group">
                            <visible>Control.IsVisible(50)</visible>
                            <animation effect="slide" start="0,0" end="25,0" time="0" condition="!Control.IsVisible(61)">conditional</animation>
                            <control type="image">
                                <description>Actor image</description>
                                <posx>0</posx>
                                <posy>360</posy>
                                <width>150</width>
                                <height>128</height>
                                <info>Container(50).ListItem.Icon</info>
                                <aspectratio aligny="center">keep</aspectratio>
                                <align>center</align>
                                </control>
                            </control>                        
            
            <!-- END mod cast with icons selectable -->    
                        
                    </control>



- r1ctus - 2009-12-08

steph99 Wrote:nice, but....how did you do it? Wink
i modified the 2d part of the 3D Wrap mode. trailer window's also ready now. this is how it looks like when the trailer's playing:
Image