feat: Add new recovery and scanning scripts for Plex Media Server
This commit is contained in:
1 parent
c1eea4ebd4
commit
a299cee9bb
10 files changed
+19
-1
No files matched your search
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
set -uo pipefail
|
||||
|
||||
DB_DIR="/mnt/recovery/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases"
|
||||
SQLITE="/usr/lib/plexmediaserver/Plex SQLite"
|
||||
|
||||
for db in \
|
||||
"$DB_DIR/com.plexapp.plugins.library.db-2026-08-20" \
|
||||
"$DB_DIR/com.plexapp.plugins.library.blobs.db-2026-08-20"
|
||||
do
|
||||
echo "Checking $(basename "$db")"
|
||||
"$SQLITE" -readonly "$db" "PRAGMA integrity_check;"
|
||||
done
|
||||
Reference in new issue
Block a user