Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add a field to edit the Date Added #3

Open
raddacle opened this issue Jan 11, 2021 · 11 comments
Open

Feature Request: Add a field to edit the Date Added #3

raddacle opened this issue Jan 11, 2021 · 11 comments

Comments

@raddacle
Copy link

I've had to edit the Date Added from SQLite for a long time, and it would be incredible if that could be done directly from Plex. This could allow easy customization of the Recently Added rows.

@denniskalpedis
Copy link
Owner

I can take a look at this, not sure if it would work thought.
What exactly is the column name in SQLite? and what is some example data for that column? how does it store the date?

@keldian
Copy link

keldian commented Feb 28, 2021

The column is named added_at in the table metadata_items.

For example if I were to change the added date of an item I'd first figure out the id of the item and then run the following query: UPDATE metadata_items SET added_at = 'YYYY-MM-DD HH:MM:SS' WHERE id='####';

@dauheeIRL
Copy link

just wondering, why do you need to edit the date added value?

@keldian
Copy link

keldian commented Jun 30, 2023

To change the timestamp of when the item appears to have been added to Plex, on the Plex interface?

@dauheeIRL
Copy link

am wondering what the benefit of this is? There are quite a few ordering options for libraries in plex

@keldian
Copy link

keldian commented Jun 30, 2023

Libraries, maybe, but the Recently Added sections are always ordered by date added, and those sections are usually the first thing a user sees when they open Plex.

@dauheeIRL
Copy link

dauheeIRL commented Jun 30, 2023

I don't see the need/benefit for this request. There are advanced filter and sorting options already with PLEX

@keldian
Copy link

keldian commented Jun 30, 2023

I just explained to you that those filtering and sorting options are not available for the Recently Added sections, but you're certainly free to see or not see what you like buddy.

@dauheeIRL
Copy link

lets get back to basics buddy. What's the purported benefit to modifying the date added for content?

@raddacle
Copy link
Author

In certain situations, when files are relocated, Plex may not just update the file location but instead remove the content from the interface and then re-add it. This process can cause older content to appear in the Recently Added section, which is typically where users look for new content on the server.

Additionally, if I were to add missing episodes of an older show to the server, I wouldn't want these minor corrections to be displayed and clutter the Recently Added section.

@dauheeIRL
Copy link

for point #1 Too infrequent, doesn't warrant userscript - a more fitting method would be to run via SQL - also benefit of doing a mass update and not having to do each individually which could be a LOT. FYI if doing a library change, best to edit the location in the backend instead of doing a complete rebuild and lose the infrequent tweaks that may be required on things like posters, incorrect matching etc - there are some good tutorials on that

for point #2, it is literally the WHOLE point of Recently Added section to show what has been recently added. It wasn't there, now it is . . .

Tampermonkey absolutely rocks, but just because it can do something, doesn't mean it should. Feature requests should be submitted to PLEX for features that improve and enhance the product - so that ALL users can benefit, not just those lucky enough to have found this script for Tampermonkey. Some requests go against PLEX design principles (i.e. direct link to 3rd party content rating sites), which is where the power of Tampermonkey kicks in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants