Feature request: add the option to sort "recently added" by file date/time

See post: http://forums.plexapp.com/index.php/topic/80827-date-added-by-file-mtime-or-ctime-in-plex/

 

By default, Plex will sort the "recently added" items by the date/time they were scanned in the library.

The issue with this is that if user wants to add a lot of existing media file in the collections (or create a new one) they will take over the recently added spots.

 

The solution provided in the post linked above works perfectly and is only a simple SQL commmand:

"update metadata_items set added_at=(select media_items.updated_at from media_items where media_items.metadata_item_id=metadata_items.id);"

 

It takes 1-2 sec to run then everything is sorted by media file date..

 

I think it would be really simple to add an option in PMS advanced settings like "Sort recently added items by file date after library updates" somewhere there:

2013-11-14%2010-07-35%20AM.jpg

With this option enabled, it would simply run the command after library update (kind of like the "empty trash" option)

***Or a one time operation also would do the trick instead of running it every time...

 

I see a lot of scenarios where this could be useful:

-Splitting a collection in two separate ones

-Add a complete missing TV show season

-Adding an old movie part of a collection that was missing

etc....

Or actually having to redo a collection for any reason.

 

I just feel like Plex purpose isn't about playing manually in the databases or anywhere behind the scenes to do simple things like this.

 

***I'm perfectly "OK" doing this manually but I think it would be cleaner and more complete product if this was an actual option.

There are some other circumstances where this option would be helpful.

For instance,

  • one time some of my media “went missing”
  • sometimes the media gets corrupted
  • other times I need to deal with filenames or rearrange them in the file system for easier management.

In all of these cases, Plex will rescan, delete the missing media from the library (and hopefully database), then (re)add the new media, (re)fetch the metadata, (re)compile thumbnails, (re)…etc, etc.

In doing so, it pushes the “actual” recently added to the back of the list.

While I understand this is not a defect in the program, I think a little re-work of how this is handled would be a great improvement.

Personally I think the best approach would be to allow manual editing of the recently added list, much in the way we would edit a playlist.

So maybe they could turn it into a system generated playlist (editable) and let us take it from there?

2023 clean-up: duplicate (this one is much older but has no votes)