Recently Added should use media file modifed date

Ok, Infuse 6 works like a dream for me even running on my old ATV4 HD. But I do have a number of small peeves and this is one of them.

My movies are all sitting in their own folders. e.g. Skyfall (2012). Currently, Recently Added is driven off the folder modified date. SO whenever I do some housekeeping and add local artwork, add a subtitle file or add a trailer or extra to this folder, Infuse then shows the movie as Recently Added.

Suggestion is to change behaviour to use the media file’s modification date and not the folder mod date. I know other Infuse users would support this as many others have commented on the impracticality of the current approach.

5 Likes

This still irritates me. After deleting a bunch of old local artwork in some movie folders, all these movies now show up as recently added. Arrrrgh!!!

If I add new Cover Art to a movie that has already been matched correctly and has been in the library for a while, it gets moved to first in the recently added, this is deliberate behaviour ?

All my movies are in their own folders and I am adding posters etc into the folder and then using Edit Metadata.

This is due to Infuse driving Recently Added behaviour from the folder modified date and not the actual media file. Its quite annoying as when you add posters, art work, subtitles or anything into the folder, the movie is shown as new/recently added, when in fact it is not.

I moved your post to the suggestion thread that @movie_lover referenced so you add your support for this suggestion to use the file instead of the folder.

Don’t forget that you need to click the like button on the first post in this thread to show your support for this suggestion! :wink:

Many Thanks

Is there any movement or solution found for this? I’ve just started adding some custom artwork and it’s destroyed my Recently Added list. :confused:

Until there is a proper solution for this, here is an AppleScript that Mac users can run on their media folders to set the Folder Modification Date to the date of the oldest file, which is likely the video file.
(Tested on films, might need modifying for TV series if videos if you want the newest video file date.)

I ran it and Infuse’s Recently Updated is back to showing the newest films, not the ones whose art I just updated. I’m sure you could automate this fairly easily.

on run
	set baseFolder to choose folder
	processFolder(baseFolder)
end run

on open theItems
	repeat with anItem in theItems
		tell application "Finder" to set isFolder to class of anItem is folder
		if isFolder then processFolder(contents of anItem)
	end repeat
end open

on processFolder(aFolder)
	tell application "Finder"
		try
			set oldestFile to first item of (sort (get files of aFolder) by modification date)
			set modification date of aFolder to oldestFile's modification date
		end try
		set subfolders to folders of aFolder
		repeat with subfolder in subfolders
			my processFolder(contents of subfolder)
		end repeat
	end tell
end processFolder