Recent Movies - More than 3

  Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mad-max Offline
Posting Freak
Posts: 1,479
Joined: Jul 2010
Reputation: 57
Location: Germany
Post: #31
(2012-03-12 21:35)wilson.joe Wrote:  how can I get this to go beyond the 10 to all 25? and the same with the latest tv episodes.

AFAIK not possible as the builtin info labels only reach up to 10...
Having more needs changing of internal code...

mm

[Image: obi3o55x.jpg]
[Image: 7c8w3bu8.png]

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
find quote
bigbully Offline
Member
Posts: 69
Joined: Jun 2011
Reputation: 2
Post: #32
(2012-03-12 21:35)wilson.joe Wrote:  how can I get this to go beyond the 10 to all 25? and the same with the latest tv episodes.

In the IncludesHomeRecentlyAdded.xml you have to duplicate/increment the code for each item number.

Search for
Code:
<item id="1">
                <label>$INFO[Window.Property(LatestMovie.1.Title)]</label>
                <label2></label2>
                <onclick>PlayMedia($INFO[Window.Property(LatestMovie.1.Path)])</onclick>
                <icon>$INFO[Window.Property(LatestMovie.1.Thumb)]</icon>
                <thumb>-</thumb>
            </item>

There should be 5 of them by default (if I remember correctly), but in my mod there are 10. Duplicate the section for each additional recent movie you want and increment the id, title and path. example for #11:
Code:
<item id="11">
                <label>$INFO[Window.Property(LatestMovie.11.Title)]</label>
                <label2></label2>
                <onclick>PlayMedia($INFO[Window.Property(LatestMovie.11.Path)])</onclick>
                <icon>$INFO[Window.Property(LatestMovie.11.Thumb)]</icon>
                <thumb>-</thumb>
            </item>

Do the same thing for the TV episodes down near the bottom of the xml. There are four by default.
Duplicate and increment:
Code:
<item id="1">
                <label>$INFO[Window.Property(LatestEpisode.1.EpisodeTitle)]</label>
                <label2>$INFO[Window.Property(LatestEpisode.1.ShowTitle)] - $INFO[Window.Property(LatestEpisode.1.EpisodeNo)]</label2>
                <onclick>PlayMedia($INFO[Window.Property(LatestEpisode.1.Path)])</onclick>
                <icon>-</icon>
                <thumb>$INFO[Window.Property(LatestEpisode.1.Thumb)]</thumb>
            </item>

The TV episodes are in backwards order, but I'm not sure off hand if that has any effect.
(2012-03-12 22:36)mad-max Wrote:  AFAIK not possible as the builtin info labels only reach up to 10...
Having more needs changing of internal code...

mm

Looks like you're right. I just tried to add two more movies and they come up blank.

Looks like 10 is the limit for recent movies.
(This post was last modified: 2012-03-12 22:48 by bigbully.)
find quote
wilson.joe Offline
Fan
Posts: 449
Joined: Nov 2010
Reputation: 6
Location: Salem, Or
Post: #33
Thanks for the quick response. I did get the movies up to 10 and then I reordered
the tv shows the other direction, that way I would have the latest to the oldest
instead of the oldest to the newest. Why I posted the question was because of
the blank screen and I couldn't find where to made the change. If its in the code
itself then perhaps later on when I compile I can look it over there. No biggie 10
of each should suffice.

EDIT: I could just break things down into playlists and add them to submenus.
(This post was last modified: 2012-03-12 23:05 by wilson.joe.)
find quote
Post Reply