Kodi Community Forum
Plot information for movies... - 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: Transparency! (https://forum.kodi.tv/forumdisplay.php?fid=115)
---- Thread: Plot information for movies... (/showthread.php?tid=73288)

Pages: 1 2 3 4 5


- daleybox - 2010-05-15

Awesome, you are amazingly fast. I'm going to have to learn how to use the SVN to check out the new version. It's been a while.

If I wanted to swap out the banner image on the season selection page for the season information (descrption and episode numbers, watched and unwatched) that is shown on the tv show selection page, what code would I need to replace and what code would I copy and paste from the fanart view xml file?

I've tried to find it, but I keep messing it up. The reason I ask is I was wondering what it would look like since I usually get posters for the folder.jpg files since I'm using Windows and a WDTV in another room and the banners look funny because they aren't banners but posters. =)


- ronie - 2010-05-15

the banner you want to remove:
Code:
<control type="image">
    <posx>286</posx>
    <posy>568</posy>
    <width>541</width>
    <height>100</height>
    <aspectratio scalediffuse="false" align="center">stretch</aspectratio>
    <texture fallback="DefaultBanner.png" diffuse="banner-diffuse.png" background="true">$INFO[Container.TVshowThumb]</texture>
    <visible>!stringcompare(ListItem.Label,..) + !Skin.HasSetting(TVShowsPosters)</visible>
</control>

for the watched/unwatched stuff, you'd use something among the lines of:
Code:
<label>$INFO[ListItem.Episode,$LOCALIZE[20360] : ] $INFO[ListItem.Property(WatchedEpisodes),(, $LOCALIZE[16102] - ]$INFO[ListItem.Property(UnWatchedEpisodes), , $LOCALIZE[16101])]</label>

and...i don't think there's a description available at season level.


- daleybox - 2010-05-15

Thanks again, everything is working great. I love the skin.


- daleybox - 2010-05-16

I checked out the SVN and saw the new changes to the season information. Great work, that's basically the same thing I did, so I just reverted to yours. The only thing I have changed now is the plot info on the initial movie screen, the initial reason for the post! =)


- luger - 2010-07-24

ronie Wrote:yes, the next version will have a separate screen just for the plot:

Image

Any update on this? I don't see this in the latest versions yet.


- humferier - 2010-07-25

in the movie information screen, bottom right corner you'll find a "+" sign, that's it


- luger - 2010-07-27

Ah, gotcha. I see now. Thanks!


- jpf55 - 2011-06-04

Hi Ronie,
I must be stupid, I can't get this to work...

As you suggested earlier in this thread, I added these lines at line 1054 of View-Fanart.xml in order to get the plot.
Code:
<control type="textbox">
                        <posx>257</posx>
                        <posy>465</posy>
                        <width>600</width>
                        <height>85</height>
                        <font>font-19</font>
                        <align>justify</align>
                        <textcolor>white</textcolor>
                        <shadowcolor>black</shadowcolor>
                        <pagecontrol>9999999999</pagecontrol>
                        <label>$INFO[ListItem.Plot]</label>
                        <autoscroll time="2000" delay="8000" repeat="5000">Skin.HasSetting(AutoScroll)</autoscroll>
                    </control>
I also modified the posy to 465 for the 2 underlay.png and modified the height to 243 to compensate for the 85 height of the plot.

BUT, the plot does not show up.

Also I was thinking of adding a timer like in the Slide view that would only show the plot after say, 5 or 10 seconds

Can you help

Thanks


- ronie - 2011-06-04

jpf55 Wrote:BUT, the plot does not show up.

i don't see anything wrong with your code...

jpf55 Wrote:Also I was thinking of adding a timer like in the Slide view that would only show the plot after say, 5 or 10 seconds

try with something like:
Code:
<animation effect="fade" start="0" end="100" time="200" delay="2000">Visible</animation>
<animation effect="fade" start="100" end="0" time="200">Hidden</animation>
<visible>!Container.OnNext + !Container.OnPrevious</visible>

jpf55 Wrote:Can you help

nope, i'm sorry....


- jpf55 - 2011-06-04

I moved the Plot code to line 391 and now it works.
I adjusted the underlay.png at line 276 for the height of the plot

Here is what it looks like:
Image

I have tried adding the animation code before and after the plot code but it does not seem to be the right spot.


- ronie - 2011-06-04

jpf55 Wrote:I have tried adding the animation code before and after the plot code but it does not seem to be the right spot.

put the animation code together with the textbox inside a group control.

i haven't tested it, so no idea if it'll work....


- jpf55 - 2011-06-04

No, it does not work but no worries, you've helped me get the important stuff.

This mod was is for the AppleTV and I don't want to slow it down any further.

Thanks for your help


- jpf55 - 2011-09-12

Ultimately, this is what I did for the Movies:
Image
My only question is purely cosmetic and comes from when you escape that window:
Image
As you can see, the Poster, Title, List and Trailer icon have faded, The fanart is stationary, as is the page and item count but the plot moved down. How can I fade the plot out instead of animate it down?


- ronie - 2011-09-12

jpf55 Wrote:How can I fade the plot out instead of animate it down?

use a fade animation instead of a slide animation.

something like this, i guess:
Code:
<animation effect="fade" start="100" end="0" time="300">WindowClose</animation>



- jpf55 - 2011-09-13

ronie Wrote:use a fade animation instead of a slide animation.

something like this, i guess:
Code:
<animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
I'm not sure I understand, should I be looking to change an existing slide to a fade or should I ad a new <animation effect="fade" ?
I tried adding your line to my code, and it did not change anything.
I also tried to find an existing <animation effect="slide" concerning the Plot but did not find one, at least not in View-Fanart.xml.
this is my code:
Code:
<control type="textbox">
                        <posx>1</posx>
                        <posy>-20</posy>
                        <width>1270</width>
                        <height>215</height>
                        <font>font-28</font>
                        <align>justify</align>
                        <textcolor>grey</textcolor>
                        <shadowcolor>black</shadowcolor>
                        <pagecontrol>9999999999</pagecontrol>
                        <label>$INFO[ListItem.Plot]</label>
                        <autoscroll time="2000" delay="12000" repeat="8000">Skin.HasSetting(AutoScroll)</autoscroll>
                    </control>
Help!


This forum uses Lukasz Tkacz MyBB addons.