Recently Added Episode Plot fix
#1
From here -

http://forum.xbmc.org/showthread.php?tid=79290


Hitcher Wrote:I was looking at my modded recentlyadded script so I got the plot part wrong but I've figured out why it's repeating the plot.

The problem is in the Includes_Latest_Added.xml.

PHP Code:
<item id="5">
                <
label>$INFO[Window.Property(LatestEpisode.5.EpisodeTitle)]</label>
                <
label2>$INFO[Window.Property(LatestEpisode.5.ShowTitle)] - $INFO[Window.Property(LatestEpisode.5.EpisodeNo)]</label2>
                <
onclick>PlayMedia($INFO[Window.Property(LatestEpisode.5.Path)])</onclick>
                <
icon>$INFO[Window.Property(LatestEpisode.5.Thumb)]</icon>
                <
thumb>$INFO[Window.Property(LatestEpisode.5.Fanart)]</thumb>
                <
visible>!Control.IsVisible(87)</visible>
                <
visible>Container(300).HasFocus(7)</visible>
              </
item>
              <
item id="5">
                <
label>$INFO[Window.Property(LatestEpisode.6.EpisodeTitle)]</label>
                <
label2>$INFO[Window.Property(LatestEpisode.6.ShowTitle)] - $INFO[Window.Property(LatestEpisode.6.EpisodeNo)]</label2>
                <
onclick>PlayMedia($INFO[Window.Property(LatestEpisode.6.Path)])</onclick>
                <
icon>$INFO[Window.Property(LatestEpisode.6.Thumb)]</icon>
                <
thumb>$INFO[Window.Property(LatestEpisode.6.Fanart)]</thumb>
                <
visible>!Control.IsVisible(87)</visible>
                <
visible>Container(300).HasFocus(7)</visible>
              </
item>
              <
item id="5">
                <
label>$INFO[Window.Property(LatestEpisode.7.EpisodeTitle)]</label>
                <
label2>$INFO[Window.Property(LatestEpisode.7.ShowTitle)] - $INFO[Window.Property(LatestEpisode.7.EpisodeNo)]</label2>
                <
onclick>PlayMedia($INFO[Window.Property(LatestEpisode.7.Path)])</onclick>
                <
icon>$INFO[Window.Property(LatestEpisode.7.Thumb)]</icon>
                <
thumb>$INFO[Window.Property(LatestEpisode.7.Fanart)]</thumb>
                <
visible>!Control.IsVisible(87)</visible>
                <
visible>Container(300).HasFocus(7)</visible>
              </
item

Notice the same id is used for all three entries. It should look like this -

PHP Code:
<item id="5">
                <
label>$INFO[Window.Property(LatestEpisode.5.EpisodeTitle)]</label>
                <
label2>$INFO[Window.Property(LatestEpisode.5.ShowTitle)] - $INFO[Window.Property(LatestEpisode.5.EpisodeNo)]</label2>
                <
onclick>PlayMedia($INFO[Window.Property(LatestEpisode.5.Path)])</onclick>
                <
icon>$INFO[Window.Property(LatestEpisode.5.Thumb)]</icon>
                <
thumb>$INFO[Window.Property(LatestEpisode.5.Fanart)]</thumb>
                <
visible>!Control.IsVisible(87)</visible>
                <
visible>Container(300).HasFocus(7)</visible>
              </
item>
              <
item id="6">
                <
label>$INFO[Window.Property(LatestEpisode.6.EpisodeTitle)]</label>
                <
label2>$INFO[Window.Property(LatestEpisode.6.ShowTitle)] - $INFO[Window.Property(LatestEpisode.6.EpisodeNo)]</label2>
                <
onclick>PlayMedia($INFO[Window.Property(LatestEpisode.6.Path)])</onclick>
                <
icon>$INFO[Window.Property(LatestEpisode.6.Thumb)]</icon>
                <
thumb>$INFO[Window.Property(LatestEpisode.6.Fanart)]</thumb>
                <
visible>!Control.IsVisible(87)</visible>
                <
visible>Container(300).HasFocus(7)</visible>
              </
item>
              <
item id="7">
                <
label>$INFO[Window.Property(LatestEpisode.7.EpisodeTitle)]</label>
                <
label2>$INFO[Window.Property(LatestEpisode.7.ShowTitle)] - $INFO[Window.Property(LatestEpisode.7.EpisodeNo)]</label2>
                <
onclick>PlayMedia($INFO[Window.Property(LatestEpisode.7.Path)])</onclick>
                <
icon>$INFO[Window.Property(LatestEpisode.7.Thumb)]</icon>
                <
thumb>$INFO[Window.Property(LatestEpisode.7.Fanart)]</thumb>
                <
visible>!Control.IsVisible(87)</visible>
                <
visible>Container(300).HasFocus(7)</visible>
              </
item
Reply
#2
Hitcher Wrote:From here -

http://forum.xbmc.org/showthread.php?tid=79290

Update: this does not fix the issue it mealy blanks the tv shows recently added.
Reply
#3
Needs to look more like this.

id 8 had
<label2>$INFO[Window.Property(LatestEpisode.8.ShowTitle)] - $INFO[Window.Property(LatestEpisode.5.EpisodeNo)]</label2>
the 5 needs to be an 8


PHP Code:
<item id="5">
                <
label>$INFO[Window.Property(LatestEpisode.5.EpisodeTitle)]</label>
                <
label2>$INFO[Window.Property(LatestEpisode.5.ShowTitle)] - $INFO[Window.Property(LatestEpisode.5.EpisodeNo)]</label2>
                <
onclick>PlayMedia($INFO[Window.Property(LatestEpisode.5.Path)])</onclick>
                <
icon>$INFO[Window.Property(LatestEpisode.5.Thumb)]</icon>
                <
thumb>$INFO[Window.Property(LatestEpisode.5.Fanart)]</thumb>
                <
visible>!Control.IsVisible(87)</visible>
                <
visible>Container(300).HasFocus(7)</visible>
              </
item>
              <
item id="6">
                <
label>$INFO[Window.Property(LatestEpisode.6.EpisodeTitle)]</label>
                <
label2>$INFO[Window.Property(LatestEpisode.6.ShowTitle)] - $INFO[Window.Property(LatestEpisode.6.EpisodeNo)]</label2>
                <
onclick>PlayMedia($INFO[Window.Property(LatestEpisode.6.Path)])</onclick>
                <
icon>$INFO[Window.Property(LatestEpisode.6.Thumb)]</icon>
                <
thumb>$INFO[Window.Property(LatestEpisode.6.Fanart)]</thumb>
                <
visible>!Control.IsVisible(87)</visible>
                <
visible>Container(300).HasFocus(7)</visible>
              </
item>
              <
item id="7">
                <
label>$INFO[Window.Property(LatestEpisode.7.EpisodeTitle)]</label>
                <
label2>$INFO[Window.Property(LatestEpisode.7.ShowTitle)] - $INFO[Window.Property(LatestEpisode.7.EpisodeNo)]</label2>
                <
onclick>PlayMedia($INFO[Window.Property(LatestEpisode.7.Path)])</onclick>
                <
icon>$INFO[Window.Property(LatestEpisode.7.Thumb)]</icon>
                <
thumb>$INFO[Window.Property(LatestEpisode.7.Fanart)]</thumb>
                <
visible>!Control.IsVisible(87)</visible>
                <
visible>Container(300).HasFocus(7)</visible>
              </
item>
              <
item id="8">
                <
label>$INFO[Window.Property(LatestEpisode.8.EpisodeTitle)]</label>
                <
label2>$INFO[Window.Property(LatestEpisode.8.ShowTitle)] - $INFO[Window.Property(LatestEpisode.8.EpisodeNo)]</label2>
                <
onclick>PlayMedia($INFO[Window.Property(LatestEpisode.8.Path)])</onclick>
                <
icon>$INFO[Window.Property(LatestEpisode.8.Thumb)]</icon>
                <
thumb>$INFO[Window.Property(LatestEpisode.8.Fanart)]</thumb>
                <
visible>!Control.IsVisible(87)</visible>
                <
visible>Container(300).HasFocus(7)</visible
Reply

Logout Mark Read Team Forum Stats Members Help
Recently Added Episode Plot fix0