|
| date added | |
| | Author | Message |
---|
hanson Media Companion Supporter
Posts : 13 Join date : 2009-09-16
| Subject: date added Mon Nov 02, 2009 7:31 am | |
| this may not be a bug maybe I am not understanding the logic behind it.
I just upgaded to .3.148 and noticed when i list the movies with date added they seems to be some movies listed first that are not or were not there before
on xbmc xbox it uses the date modified to sort by date.
so on the xbox the movies added last to the system show up at top of list when selecting by date on the xbox. Now they still show up correctly on xbox by date, but now the date added button the list is allittle out of order.
the last version i used it and the order was correct was 3.125 and it was ok then.
I use this feature alot on xbox and MC.
Now is the MC listing by date of nfo and not movie file?
Im tring to understand the logic on the sort by date list please explain. | |
| | | billyad2000 Admin
Posts : 1326 Join date : 2008-09-20
| Subject: Re: date added Mon Nov 02, 2009 1:28 pm | |
| The date added function uses - Code:
-
Dim myDate2 As Date = filecreation2.LastWriteTime newmovie.filedate = Format(myDate2, "yyyyMMddHHmmss").ToString
The list is sorted by the order that an nfo was last wrote to, this could be creation, rescraping, quick save, or changing the watched status. If you select a movie when is the "Date Added" view and do one of the above, even if you don't change anything, selecting "quick save" will move the selected movie to the top. Maybe I should change the button from "Date Added" to "Last Changed" | |
| | | dbareis Senior Member
Posts : 223 Join date : 2008-12-08
| Subject: Re: date added Wed Nov 04, 2009 7:43 am | |
| - billyad2000 wrote:
- Maybe I should change the button from "Date Added" to "Last Changed"
yes please, has my vote. I'd also like the last button state to be remembered for the default for next MC invokation. Thanks, Dennis | |
| | | StormyKnight VIP
Posts : 556 Join date : 2008-10-08 Location : Australia
| Subject: Re: date added Wed Nov 04, 2009 8:47 am | |
| Just thinking again about this date issue.....
Just wondering what it is we are trying to sort by....
Is it the date that we first added the movie to MC, or is it the date that the movie details were last modified?
I guess the question comes back to whats the best method to find a movie based on its history in MC. i.e. when it was added or when I last updated it.
The issue I see with the last updated date, is that you can batch update all your movies at once, then the date is the same for all the movies thus providing no effective date difference between them.
To me it should be left at Date Added & the sort be of the Date Added to MC.
Optionally, a second sort method, "Last Updated" could be addded OR in the preferences, the prefered method of date sorting be defined.
Now in saying that I think XP has an issue in that the behaviour of the creation date is different from Vista. XP's creation date stays fixed, even after the file is accessed & rewritten too, however Vista's is updated with the new date so the real creation date is lost.
Perhaps the Date added, needs to be moved into the relavent movie nfo in order for it to stick?
Cheers | |
| | | dbareis Senior Member
Posts : 223 Join date : 2008-12-08
| Subject: Re: date added Wed Nov 04, 2009 9:24 am | |
| - StormyKnight wrote:
- Is it the date that we first added the movie to MC, or is it the date that the movie details were last modified?
I'd like both but wasn't going to push it :-) - StormyKnight wrote:
- Now in saying that I think XP has an issue in that the behaviour of the creation date is different from Vista. XP's creation date stays fixed, even after the file is accessed & rewritten too, however Vista's is updated with the new date so the real creation date is lost.
If that is the case then that is a Vista bug and the question is is it fixed in Windows 7, however that doesn't occur on my Windows Vista SP1 (64 bit) machine. Are you using the same program to test on both machines? The more likely reason is you are writing with a tool that removes the original (delete or perhaps rename to backup) and then writes a NEW file. Either way the info is better in the XML if you ask me :-) Bye, Dennis | |
| | | StormyKnight VIP
Posts : 556 Join date : 2008-10-08 Location : Australia
| Subject: Re: date added Wed Nov 04, 2009 12:21 pm | |
| Well the issue arose when the date added feature was initially added to MC, Billys machine was Vista & mine was XP & we had different results.....I'm pretty sure I have the details correct as to which OS was doing what but perhaps Billy can fill us in again if his memory is better than mine .... If I right click on my XP desktop & create a new text document & then check the properties of that document I have the following... Created Today, 4 November 2009, 8:22:15 PM Modified Today, 4 November 2009, 8:22:15 PM Accessed Today, 4 November 2009, 8:22:15 PM When I open it & add say TEST to the top line & save, the properties now show as... Created Today, 4 November 2009, 8:22:15 PM Modified Today, 4 November 2009, 8:25:02 PM Accessed Today, 4 November 2009, 8:25:02 PMIs this the same behaviour in Win7? | |
| | | billyad2000 Admin
Posts : 1326 Join date : 2008-09-20
| Subject: Re: date added Wed Nov 04, 2009 1:01 pm | |
| I have been thinking of adding a filter to display newly added movies that does not rely on the file date tag.
Part of the issue is that when the nfo is changed within MC, the whole nfo file is overwritten, hence the date is reset to the current.
Their are 3 possible fixes that I can think of;
1)Add a <dateadded> tag to the actual media nfo tag, this is external to MC and would let the movies be listed in the order added, and would give it permanance
2)I could add a newly added tag to the movie cache that is set when movies are auto-scraped, this would be reset when the auto-scrape us used again. The problem with this is that only movies added in the last batch would be listed.
3)I could use the file creation tag from windows, but rather than overwriting the xml nfo, just edit it. This would likely be the most difficult since I have no idea how it works right now and would have to do some research.
The first would be my preference, fairly east to implement and effective. I'm not 100% how I would add it to the GUI since the sort panel is now full with 6 buttons, Maybe I could drop the invert button out of it into a space below since it isn't really a sort, I will have to think about it. | |
| | | dbareis Senior Member
Posts : 223 Join date : 2008-12-08
| Subject: Re: date added Thu Nov 05, 2009 1:04 am | |
| - StormyKnight wrote:
Created Today, 4 November 2009, 8:22:15 PM Modified Today, 4 November 2009, 8:22:15 PM Accessed Today, 4 November 2009, 8:22:15 PM
When I open it & add say TEST to the top line & save, the properties now show as...
Created Today, 4 November 2009, 8:22:15 PM Modified Today, 4 November 2009, 8:25:02 PM Accessed Today, 4 November 2009, 8:25:02 PM
Is this the same behaviour in Win7? I'll have Win7 soon but that is what I'd expect and that also confirms that the creation date didn't change for you, I've used WinXp for years and I'd expect that there also. What I have occassionally noticed (in XP) is that there are bugs in explorer which mean that when you open the properties it shows the wrong times and I don't know where these come from (I've only noticed it with UNC filenames). You can at times prove this as the info shown in the explorer properties window can differ to the info displayed in the explorer columns (you can add created/accessed columns).... Now from my recent Vista experience it is very buggy and a lot of these are in explorer, hopefully WIN7 is better (or I'm finding a freeware alternative to explorer).. | |
| | | StormyKnight VIP
Posts : 556 Join date : 2008-10-08 Location : Australia
| Subject: Re: date added Thu Nov 05, 2009 8:20 am | |
| Redone the "txt" file test on Vista...
The initial creation date information is the same as XP, but after I had opened the file & added some text & closed & saved it, the created date stayed the same but also the accessed date stayed the same. The only one that changed was the Modified date.....
I think that this is where the initial issue was between XP & Vista & MC's original date sort method. | |
| | | Sponsored content
| Subject: Re: date added | |
| |
| | | | date added | |
|
Similar topics | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |