Option to use folder date for recently added movies
Montellese
Team-XBMC Developer Joined: Jan 2009 Reputation: 20 Location: Switzerland |
2013-04-18 19:42
Post: #131
WinRAR seems to be very stupid. It only adjusts the mtime of the top-level folder in my rar archive. Any file in that directory keeps the original mtime.
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 |
snowjim
Senior Member Posts: 281 Joined: Aug 2004 Reputation: 0 |
2013-04-18 20:05
Post: #132
(2013-04-18 19:42)Montellese Wrote: WinRAR seems to be very stupid. It only adjusts the mtime of the top-level folder in my rar archive. Any file in that directory keeps the original mtime. Okay? So you haven't really tested this in Windows or do you use another Winrar application that works as XBMC needs it to? |
| find quote |
garretn
Junior Member Joined: Oct 2010 Reputation: 2 |
2013-04-18 20:07
Post: #133
(2013-04-18 20:05)snowjim Wrote:(2013-04-18 19:42)Montellese Wrote: WinRAR seems to be very stupid. It only adjusts the mtime of the top-level folder in my rar archive. Any file in that directory keeps the original mtime. Come on man, lighten up already. That's a winrar problem, not an XBMC problem. |
| find quote |
garretn
Junior Member Joined: Oct 2010 Reputation: 2 |
2013-04-18 20:24
Post: #134
Yeah, I thought there was "problems" when it came to windows and mtime, I came across it before doing a perl script at one time a while back. It simply doesn't behave the same as it does in other OSes. Take winrar out of the equation and simply copy any file. Both the ctime and mtime will be the same as the original file on the time. In other OSes, the new file would have the current time for ctime/mtime on the new file.
|
| find quote |
Montellese
Team-XBMC Developer Joined: Jan 2009 Reputation: 20 Location: Switzerland |
2013-04-18 20:59
Post: #135
I haven't tested it on windows with RAR archives because I don't use RAR archives for videos or any other media because IMO it's an extra burden on the user and is therefore plain stupid. Why can't you just use the dateadded mode that always uses the current time when a video is added to the library/database instead? It will do exactly what you want without having to mess around with winrar or touch your files or whatever.
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 |
snowjim
Senior Member Posts: 281 Joined: Aug 2004 Reputation: 0 |
2013-04-18 23:20
Post: #136
Okay, so if a user is in the following environment :
1. Windows platform 2. Gets movies/videos in rar archives 3. Needs to sort on last added to library he/she will now have to create a advanced setting file, look up how the tag is suppose to look like and then set it accordingly. Something tells me that there is A LOT of users that runs like this, but hay, what do I know, you are the developers ![]() I have nothing more to say, good luck with more quality development. |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,564 Joined: Oct 2003 Reputation: 138 |
2013-04-19 07:25
Post: #137
You won't have an issue if you don't extract the rars, right?
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 |
snowjim
Senior Member Posts: 281 Joined: Aug 2004 Reputation: 0 |
2013-04-19 09:04
Post: #138
(2013-04-19 07:25)jmarshall Wrote: You won't have an issue if you don't extract the rars, right? Im not sure, I will look in to this. But not even you suggests streaming rar archives? And I agree with this, its generates other problems with the library. I do agree that Winrar should set the modified date but it is not and this software have been around for a LONG time so if this is not a temporary bug all the users that needs this basic sort order will have to set the advanced setting file. Maybe there is another rar application that does this right? All I'm saying is that there will probably be a lot of users that runs in to this problem and they will not have a clue to why until they read in the forums/Wiki. But as I said, I have nothing more to add in this topic. |
| find quote |
pecinko
Member+ Joined: Dec 2008 Reputation: 29 Location: Prague / Belgrade |
2013-04-19 10:29
Post: #139
What about movies/episode release/aired date? Is this available in DB?
Recently added node would filter by date added to DB, while Recently released would show fresh releases. |
| find quote |
bobloblaw
Junior Member Posts: 1 Joined: May 2013 Reputation: 0 |
2013-05-25 05:36
Post: #140
(2013-04-15 16:50)snowjim Wrote: Just to be clear on the status : SnowJim: Thank you for posting the code for the advanced settings as well as your posts. This is exactly what I needed. My case: Windows XBMC + Sab/Sick/Couch Media stored on a NAS Media (Independent of it being legal or not) that I downloaded via Newsgroups or Torrents was being sorted incorrectly due to the way the archives store the c/m date. I let Sab do the un-raring and it keeps the dates untouched from when they were uploaded. +1 to having the default library sort based on Last Added (the last file added to the library) A compromise could be an additional "Sort By" option that is Modified Date or Created Date Thank you again |
| find quote |


![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)

Search
Help