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"}
)
@rjsears Did you manage to find the itemID? My command is running fine in console, but no changes are being reflected in my library, so I'm thinking I'm using the wrong value.