Sometimes Plex saves a addedAt
date in the future, in which case the item will always be stuck in the first position.
With this method you don't have to edit the database directly or shut down the server. You can fix it directly in the browser.
- Open your browser's developer tools
- Navigate to the console tab
- Adjust the following command and paste it into the console
var plexHost = "https://plex.domain.com"
var plexToken = "XXXXXXXXXXX"
var sectionId = "1"
var itemId = "12345"
// 1 for movie, 4 for episode
var typeId = "4"
// unix timestamp
var addedAtValue = "1672527600"
fetch(
`${plexHost}/library/sections/${sectionId}/all?type=${typeId}&id=${itemId}&addedAt.value=${addedAtValue}&X-Plex-Token=${plexToken}`,
{"method": "PUT"}
)
Thanks for the quick reply, @cweakland. I was able to get the original instructions to work - I had the item ID correct but had forgotten to change the section ID! Once I did that, everything worked as expected.