Feature Request - make "recently added movie" hide watched items by default

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Syncopation Offline
Senior Member
Posts: 114
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.9, Ubuntu 13.10, XBMC 13nightly, XBMC Remote iOS 1.4.1, XBMC Remote WindowsPhone 1.3
(This post was last modified: 2014-07-13 10:04 by jmarshall.)
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #2
it's recently added. not new unwatched shit. you want new unwatched shit you make yourself an xsp or custom library node.
find quote
Fice Offline
Member
Posts: 71
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
Senior Member
Posts: 114
Joined: Dec 2009
Reputation: 0
Post: #4
@spiff: I don't agree. I honestly think this will be the default in the future.

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

OS X 10.9, Ubuntu 13.10, XBMC 13nightly, XBMC Remote iOS 1.4.1, XBMC Remote WindowsPhone 1.3
(This post was last modified: 2013-10-05 09:21 by Syncopation.)
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
Syncopation Offline
Senior Member
Posts: 114
Joined: Dec 2009
Reputation: 0
Post: #6
I'd love to hear a developer give his stance on this. Imo this would be most useful to every XBMC user. Who wants already played shows at such a prominent place? You add new movies (most likely not watched) you watch them -> they disappear. Sounds like a sane workflow to me.

Opinions?

OS X 10.9, Ubuntu 13.10, XBMC 13nightly, XBMC Remote iOS 1.4.1, XBMC Remote WindowsPhone 1.3
(This post was last modified: 2013-08-16 10:55 by Syncopation.)
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 19,885
Joined: Jan 2011
Reputation: 247
Location: Arizona, USA
Post: #7
(2013-08-15 23:32)Syncopation Wrote:  I'd love to hear a developer give his stance on this. Imo this would be most useful to every XBMC user. Who want already played shows at such a prominent place? You add new movies (most likely not watched) you watch them -> they disappear. Sounds like a sane workflow to me.

Opinions?

I agree. I think the solution would be to make the widget or whatever that Confluence uses to follow the same logic as the recently added node, and then maybe a discussion about which should be default, but both excluding/including watched would then be configurable.

You can make easy links to the XBMC wiki using double brackets around common XBMC words: [[debug log]] = debug log, [[Video library]] = Video library, [[SMB]] = SMB , [[userdata]] = userdata, etc
find quote
theo_testperson Offline
Junior Member
Posts: 2
Joined: Mar 2013
Reputation: 1
Post: #8
thanks for this code,
i was looking for this a long time and it works like a charm.
i also think this feature should be a default.
find quote
Syncopation Offline
Senior Member
Posts: 114
Joined: Dec 2009
Reputation: 0
Post: #9
Any chance this code could make it into the nightly build? I'd love to test this feature.

OS X 10.9, Ubuntu 13.10, XBMC 13nightly, XBMC Remote iOS 1.4.1, XBMC Remote WindowsPhone 1.3
find quote
Kris404 Offline
Donor
Posts: 17
Joined: Dec 2009
Reputation: 0
Location: Los Angeles, CA
Post: #10
+1 This would be a nice addition to Gotham.

Mac Pro, Pioneer Elite PRO 141FD, Denon 4311CI, Synology DS509+DX5 (30TB), SiliconDust HDHomeRun Prime
find quote
palsch Offline
Junior Member
Posts: 3
Joined: Jun 2014
Reputation: 0
Star  RE: make "recently added movie" hide watched items by default
Post: #11
+1 for this feature.

This was my idea too. So i was collecting some informations before finding this thread.
Here they are:

Confluence skin: Home -> RecentlyAdded movies:
- [1] http://wiki.xbmc.org/?title=InfoLabels#Window
- [2] \skin.confluence\720p\IncludesHomeRecentlyAdded.xml (line 139)

We need new InfoLabel to show only "unwatched" recently added movies (see [1]). Something like "LatestMovie.[1-10].xxx" but only unwatched. Maybe: "LatestUnWatchedMovie.[1-10].xxx"
See [2] for the using of this InfoLabel.
find quote
nickr Offline
Donor
Posts: 7,526
Joined: May 2009
Reputation: 128
Location: Christchurch NZ
Post: #12
I am pretty sure conq works like that, at least for TV Shows.

If I have helped you or increased your knowledge, click the plus button and increase my reputation :)
find quote
texaco Offline
Member
Posts: 90
Joined: Aug 2010
Reputation: 0
Post: #13
For a single user setup this works great but if there are several user viewing stuff independently (and yes using the same account which is quite common) then having this as a default option would not be as good. it should at least be a setting to toggle this ON (it's OFF as default).

Also it would change the purpose of "Recently added" to "New and unwatched".
find quote