Option to use folder date for recently added movies
kricker
Team-XBMC QA Specialist Posts: 3,307 Joined: Apr 2004 Reputation: 16 Location: Knoxville, TN |
2012-06-09 19:55
Post: #41
And a value of 1 will be the older date between mtime and ctime?
|
| find quote |
Montellese
Team-XBMC Developer Joined: Jan 2009 Reputation: 20 Location: Switzerland |
2012-06-09 20:05
Post: #42
A value of 1 is the initial implementation logic which uses mtime and falls back to ctime if mtime is invalid.
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 |
kricker
Team-XBMC QA Specialist Posts: 3,307 Joined: Apr 2004 Reputation: 16 Location: Knoxville, TN |
2012-06-09 20:09
Post: #43
Okay. Good to know. Thanks for this feature.
|
| find quote |
jpage4500
Junior Member Posts: 20 Joined: Oct 2008 Reputation: 0 |
2012-06-13 16:59
Post: #44
I just wanted to post an update that this has been working great for me.. using the modified date makes sense and I imagine whatever option you choose (created or modified date) there's always going to be some content that end up getting marked incorrectly. That can be fixed easily enough.
I am curious if you know why a library export would end up changing a video's modified date though? I'm pretty sure that's what happened to me (I did an export before removing the source and re-adding to test this new feature). I understand all of the metadata changing, but not sure why the content would ever change via an export. Also, I know this was discussed in another thread - but if it matters I do see some benefit to this logic for TV shows as well. For example, I recently wanted to get & watch an old(er) series. The TV sort by date option, however, applies to the series date (which this series is older than most I have). It'd be useful (at least to me anyway..) to always see the series listed in order of most recently updated episode (ie: modified/created date). That would let some of the stale series fall down to the bottom of the list and keeps the active ones at the top. Anyway, I get how this would be more complicated but just adding my $.02! >> To get XBMC to choose the newer date from mtime and ctime <dateadded> needs to be set to 2 oh, 1 last note (sorry!): For your advancedproperties setting, wouldn't it make more sense if "2" used the created date instead of modified date? So, "1" (default) uses modified date and "2" uses created date. Since modified date is very likely always newer than created date - wouldn't "1" and "2" end up with the same results most of the time? thanks joe |
| find quote |
Montellese
Team-XBMC Developer Joined: Jan 2009 Reputation: 20 Location: Switzerland |
2012-06-16 09:48
Post: #45
(2012-06-13 16:59)jpage4500 Wrote: I just wanted to post an update that this has been working great for me.. using the modified date makes sense and I imagine whatever option you choose (created or modified date) there's always going to be some content that end up getting marked incorrectly. That can be fixed easily enough.Agreed. (2012-06-13 16:59)jpage4500 Wrote: I am curious if you know why a library export would end up changing a video's modified date though? I'm pretty sure that's what happened to me (I did an export before removing the source and re-adding to test this new feature). I understand all of the metadata changing, but not sure why the content would ever change via an export.I have to admit I have no clue. The library export doesn't touch your actual media file. But the dateadded value is exported as well, maybe something went wrong during the export or the import there? (2012-06-13 16:59)jpage4500 Wrote: Also, I know this was discussed in another thread - but if it matters I do see some benefit to this logic for TV shows as well. For example, I recently wanted to get & watch an old(er) series. The TV sort by date option, however, applies to the series date (which this series is older than most I have). It'd be useful (at least to me anyway..) to always see the series listed in order of most recently updated episode (ie: modified/created date). That would let some of the stale series fall down to the bottom of the list and keeps the active ones at the top. Anyway, I get how this would be more complicated but just adding my $.02!Yeah the problem is that depending on the use case one or the other way of handling date added makes more sense for tvshows (or all "groups" in that case) and we currently can't cover all of them unless we also introduce a lastModified value to the database. (2012-06-13 16:59)jpage4500 Wrote: >> To get XBMC to choose the newer date from mtime and ctime <dateadded> needs to be set to 2The problem is that ctime has different meanings on different platforms. On Windows it's "creation time" but on linux it's "change time" and changes everytime a file is renamed, moved, changes owner/group or when it's content changes. That's why I specifically used "ctime" in the description and not "creation time". On linux there's no such thing as "creation time" (because not all filesystems support it). 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 |
kricker
Team-XBMC QA Specialist Posts: 3,307 Joined: Apr 2004 Reputation: 16 Location: Knoxville, TN |
2012-06-27 23:21
Post: #46
I seem to have come across lot of older files that for some reason have no modified date. This causes them to always show up as the newest items. If I have no modified date it should fall back to the created date, correct? The created date for these files are all back in 2011. They should not be showing as a recently added items. Do I need to add the <dateadded>1</dateadded> setting to my advanced file? From the earlier post I assumed this was the default logic, so I never added it to my advancedsettings.xml file.
(This post was last modified: 2012-06-27 23:22 by kricker.)
|
| find quote |
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2012-06-27 23:48
Post: #47
Any file I download that gets extracted on my NAS (ext4) ends up not appearing in my recently added movies because both dates are the date the file was initially created by whoever originally made it, so folder date would be the only way to get it working.
![]() |
| find quote |
kricker
Team-XBMC QA Specialist Posts: 3,307 Joined: Apr 2004 Reputation: 16 Location: Knoxville, TN |
2012-06-27 23:56
Post: #48
Hitcher, so your files have no dates of any kind? Being on ext4 I am assuming that is Linux. Does a "ls -l" command not show any date at all on such files?
(This post was last modified: 2012-06-27 23:56 by kricker.)
|
| find quote |
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2012-06-28 00:02
Post: #49
No, both dates (created and modified) have the date of the original file.
Here's an example of something I downloaded yesterday - ![]() As you can see it has the date the file was created before uploading to Usenet. - Added To Usenet: 25/Apr/2012 2:23:37 PM GMT ![]()
(This post was last modified: 2012-06-28 00:04 by Hitcher.)
|
| find quote |
Memphiz
Team-XBMC Developer Joined: Feb 2011 Reputation: 91 Location: germany |
2012-06-28 11:01
Post: #50
You can't use the folder date. We (devs) already discussed this on IRC. Whenever something in a folder changes the date of the folder gets altered. So just exporting your metadata into the movie folder would change the order they would appear in "recently added".
AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here HowTo setup NFS for XBMC: Wiki NFS HowTo configure avahi (zeroconf): Wiki Avahi READ THE IOS FAQ!: iOS FAQ |
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
![[Image: sig_zps3af3b48e.jpg]](http://i620.photobucket.com/albums/tt289/Arcanthur/Celestium/sig_zps3af3b48e.jpg)
![[Image: clipboard01yz.jpg]](http://img545.imageshack.us/img545/8292/clipboard01yz.jpg)
Search
Help