3 Commits

Author SHA1 Message Date
Chuck
d6bf75db6d Merge pull request #261 from ChuckPa/chuckpa/autoincrement
Deflate - Minor adjustment per Plex engineering.
2025-12-04 12:06:08 -05:00
ChuckPa
0701adf77a Deflate - Minor adjustment per Plex engineering. 2025-12-04 11:56:48 -05:00
Chuck
15b2dbabb3 Update README.md 2025-12-03 16:19:35 -05:00
3 changed files with 19 additions and 4 deletions

View File

@@ -2,12 +2,12 @@
#########################################################################
# Database Repair Utility for Plex Media Server. #
# Maintainer: ChuckPa #
# Version: v1.13.01 #
# Date: 14-Nov-2025 #
# Version: v1.13.02 #
# Date: 04-Dec-2025 #
#########################################################################
# Version for display purposes
Version="v1.13.01"
Version="v1.13.02"
# Have the databases passed integrity checks
CheckedDB=0
@@ -1462,9 +1462,12 @@ DoDeflate() {
-- Exclusive DB access
BEGIN IMMEDIATE;
-- Remove old temp table if exists
DROP TABLE IF EXISTS temp_bandwidth;
-- Create new table
CREATE TABLE temp_bandwidth (
id INTEGER PRIMARY KEY,
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
account_id INTEGER,
device_id INTEGER,
timespan INTEGER,

View File

@@ -104,6 +104,14 @@ Enter command # -or- command name (4 char min) :
```
# Installation
### Downloading
Download DBRepair.sh (if you want just the script)
# This overwrites any existing version. Remove "-O DBRepair.sh" to not overwrite.
```
wget -O DBRepair.sh https://github.com/ChuckPa/PlexDBRepair/releases/latest/download/DBRepair.sh
```
### Moving the downloaded DBRepair.sh
Where to place the utility varies from host to host.
Please use this table as a reference.

View File

@@ -8,6 +8,10 @@
![Maintenance](https://img.shields.io/badge/Maintained-Yes-green.svg)
# Release Info:
v1.13.02
1. Autoincrement - Adjust statistics_bandwidth table per Plex engineering suggestion.
v1.13.01
1. Tag sort order - Github tags are not guaranteed to be numeric or in most-recent order.