make "recently added movie" hide watched items by default

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Syncopation Offline
Member
Posts: 88
Joined: Dec 2009
Reputation: 0
Post: #1
Ran into this, tried to adjust by using a smart playlist, didn't succeed, thought should be changed by default. Why would anybody want to have watched items displayed so prominently? It's not very useful. Showing unwatched items which where just recently added would be a great feature though.

Here's what I did for my workaround (which didn't work):

Read http://wiki.xbmc.org/index.php?title=Cus...ustom_node
Created http://pastebin.com/Y1WDgPC2
Saved that as recentlyaddedmovies.xml
add that file to Macintosh HD/User/myname/Library/Application Support/XBMC/userdata/playlists/video

that seemed to have no effect so I

replaced the existing "recentlyaddedmovies.xml" files in
Macintosh HD/Programs/XBMC/Contents/Resources/XBMC/system/library/video and
Macintosh HD/Programs/XBMC/Contents/Resources/XBMC/system/library/video_flat

The result is interesting: the menu item now displays the playlist just as I want it: recently added and unwatched (why would I want watched movies at that place? imo the default should be changed?): http://cl.ly/image/1O420p2t371O > http://cl.ly/image/37122u3x2x0h

But at the top I still see movies that are watched (tron in this case): http://cl.ly/image/3z2T3s1a450t

If any dev runs accross this:

1) How can I change the top as well?
2) Could the default be changed to only display unwatched? I think that makes so much more sense.

OS X 10.8.3, XBMC 12.1, XBMC Remote iOS 1.3
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,233
Joined: Nov 2003
Reputation: 82
Post: #2
it's recently added. not new unwatched shit. you want new unwatched shit you make yourself an xsp or custom library node.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Fice Offline
Member
Posts: 65
Joined: Jan 2010
Reputation: 3
Post: #3
The stuff you see on the top is not supplied from xbmc core, but from a widget (a special kind of addon that the skin uses)...

I feel it might be a good addon idea to make a "Generic" xbmc widget that just displays the first items from a smart playlist, that the user can set.... that way users could display pretty much anything on the home screen (not sure if possible though)
find quote
Syncopation Offline
Member
Posts: 88
Joined: Dec 2009
Reputation: 0
Post: #4
@spiff: not sure I get what you write. Didn't I do exactly what you suggest already?

@Fice: I think that would be a great feature.

OS X 10.8.3, XBMC 12.1, XBMC Remote iOS 1.3
find quote
catware Offline
Junior Member
Posts: 2
Joined: May 2013
Reputation: 0
Post: #5
I also ran into this issue, and after about an hour came up with a solution. Now, after movies or episodes are watched, they no longer show up in the home screen thumbnail list and are replaced with the next ones in line.

The solution involves changing what is displayed in the "IncludesHomeRecentlyAdded.xml" file. You need to replace the "LatestMovie" references with the corresponding "RecentMovie" ones, which are Skin Widgets. Here are the steps I took:

(1) Make sure Skin Widgets are installed. Follow these instructions: http://wiki.xbmc.org/index.php?title=Add...in_Widgets

(2) Then in xbmc go to the Skin Widgets "Configure->Recent Items" tab, and make sure all three items are checked (the first two should be checked by default, and the third item, "Update each time you enter the home screen", will refresh the list when you return to the home screen after watching a file).

(3) Make a backup of your "IncludesHomeRecentlyAdded.xml" file

(4) Open the original "IncludesHomeRecentlyAdded.xml" file (that xbmc will load), and replace the following lines. (I only did movies and episodes):

Here is what you change for Movies. This is for the first item -- you need to change all 10 from "LatestMovie.1" to "LatestMovie.10":

Code:
<item>
    <label>$INFO[Window.Property(LatestMovie.1.Title)]</label>
    <label2></label2>
    <onclick>PlayMedia($ESCINFO[Window.Property(LatestMovie.1.Path)])</onclick>
    <icon>$INFO[Window.Property(LatestMovie.1.Thumb)]</icon>
    <thumb>-</thumb>
    <visible>!IsEmpty(Window.Property(LatestMovie.1.Title))</visible>
</item>

change to:

Code:
<item>
    <label>$INFO[Window.Property(RecentMovie.1.Title)]</label>
    <label2></label2>
    <onclick>PlayMedia($ESCINFO[Window.Property(RecentMovie.1.File)])</onclick>
    <icon>$INFO[Window.Property(RecentMovie.1.Art(poster))]</icon>
    <thumb>-</thumb>
    <visible>!IsEmpty(Window.Property(RecentMovie.1.Title))</visible>
</item>

And here is what you change for episodes (again, change all 10 of them):

Code:
<item>
    <label>$INFO[Window.Property(LatestEpisode.1.EpisodeTitle)]</label>
    <label2>$INFO[Window.Property(LatestEpisode.1.ShowTitle)] - $INFO[Window.Property(LatestEpisode.1.EpisodeNo)]</label2>
    <onclick>PlayMedia($ESCINFO[Window.Property(LatestEpisode.1.Path)])</onclick>
    <icon>-</icon>
    <thumb>$INFO[Window.Property(LatestEpisode.1.Thumb)]</thumb>
    <visible>!IsEmpty(Window.Property(LatestEpisode.1.EpisodeTitle))</visible>
</item>

change to:

Code:
<item>
    <label>$INFO[Window.Property(RecentEpisode.1.Title)]</label>
    <label2>$INFO[Window.Property(RecentEpisode.1.TVshowTitle)] - $INFO[Window.Property(RecentEpisode.1.EpisodeNo)]</label2>
    <onclick>PlayMedia($ESCINFO[Window.Property(RecentEpisode.1.File)])</onclick>
    <icon>-</icon>
    <thumb>$INFO[Window.Property(RecentEpisode.1.Art(thumb))]</thumb>
    <visible>!IsEmpty(Window.Property(RecentEpisode.1.Title))</visible>
</item>

After this, it should work as desired. At least it does on my xbmc! (running 12.2)
find quote