Created
January 9, 2023 00:47
-
-
Save itslukej/2baab0ee19c8e81728f7f9597501af23 to your computer and use it in GitHub Desktop.
Fix incorrect metadata for Plex Media Server Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
/usr/lib/plexmediaserver/Plex\ Media\ Server \ | |
--sqlite /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Databases/com.plexapp.plugins.library.db \ | |
"UPDATE metadata_items SET added_at = created_at WHERE added_at > strftime('%s', 'now');" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment