Option to use folder date for recently added movies

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
rev105 Offline
Junior Member
Posts: 35
Joined: Nov 2010
Reputation: 0
Post: #31
Yes I do realize this is for the next release of xbmc and I will wait till the nightly builds become sort of stable before I try them again. I am just looking ahead and everything I already have in my library has NFO's. It would not be easy to modify all of them to make it work with these changes.

All I was trying to say and I was wondering is if something else could be implemented to make it work with existing libraries full of existing NFO's.

If it can't be done no worries.

Maybe Media Companion could be changed some day so it adds the needed line to all the NFO's new and existing?
find quote
Montellese Online
Team-XBMC Developer
Posts: 2,778
Joined: Jan 2009
Reputation: 20
Location: Switzerland
Post: #32
I already mentioned earlier in this thread that this whole feature only applies to videos that are newly scanned into the library independent of whether they have an NFO file or not. That's how it always is with new features. Sometimes it's possible to add the information on the fly but sometimes it isn't. In this case the dateadded value is retrieved by reading file properties and that would take quite a while for people who have their files stored on a NAS or something like that so it's not really feasable.

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.

[Image: badge.gif]
find quote
rev105 Offline
Junior Member
Posts: 35
Joined: Nov 2010
Reputation: 0
Post: #33
I know it would require a rescan the entire library. The only reason I stared this thread is to find a way to maintain recently added when the entire library is rescaned.
find quote
Montellese Online
Team-XBMC Developer
Posts: 2,778
Joined: Jan 2009
Reputation: 20
Location: Switzerland
Post: #34
As an FYI I have committed two fixes today. The first takes care of the creation/modification date problem by always picking the newer of the two dates for video files. The second fixes dateadded for stacked files.

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.

[Image: badge.gif]
find quote
kricker Offline
Team-XBMC QA Specialist
Posts: 3,304
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #35
I love this change. This has been bugging me for a long time when I would refresh info. Now it makes more sense and on the plus side it helped me find some files which had strange modifications dates in the future. I fixed those and now my recently added movies looks as it should even when I refresh info for old movies. Thanks a ton for this!

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
jpage4500 Offline
Junior Member
Posts: 20
Joined: Oct 2008
Reputation: 0
Post: #36
I'm also really looking forward to this change -- it's one of those little things that's bugged me every time I've had to re-scan my library from scratch (happened recently when I did a clean update -- somehow everything got blown away in the process).

Can I ask if there's a semi-stable build with this in it? (ie: seems to work for one of you during normal use?) I haven't used the daily builds in a while but would love to give this one a shot.
find quote
kricker Offline
Team-XBMC QA Specialist
Posts: 3,304
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #37
It has been in the nightlies for a while now. You can try one of the Fordo alphas if you like. I feel they are "semi" stable. But your results may vary.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
jpage4500 Offline
Junior Member
Posts: 20
Joined: Oct 2008
Reputation: 0
Post: #38
I just tried this out in the latest nightly - very nice!

I suppose it's already been discussed elsewhere - but why does it use the newer of the create/modified dates (windows)? I happen to notice some movies that were added back in 2009 but have today's modified date.. no idea actually how they were 'modified' since I haven't touched that movie or folder.. just curious what the logic is between using creation and modified.. also, is there any option to configure the use of creation instead (ie: config option)?

>> creation/modification date problem by always picking the newer of the two dates for video files

Either way - I am a very happy camper -- much appreciated!!

joe
find quote
Montellese Online
Team-XBMC Developer
Posts: 2,778
Joined: Jan 2009
Reputation: 20
Location: Switzerland
Post: #39
PR1034 of mine will bring a configuration option to advancedsettings.xml. We're still discussing what to set as the default value though.

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.

[Image: badge.gif]
find quote
Montellese Online
Team-XBMC Developer
Posts: 2,778
Joined: Jan 2009
Reputation: 20
Location: Switzerland
Post: #40
I have merged the pull request with the default value being the behaviour that prefers mtime over ctime or the current time. To get the old (Eden) behaviour back <dateadded> in <videolibrary> needs to be set to 0. To get XBMC to choose the newer date from mtime and ctime <dateadded> needs to be set to 2.

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.

[Image: badge.gif]
find quote
Post Reply