mirror of
https://github.com/ChuckPa/PlexDBRepair.git
synced 2026-02-12 05:56:11 -06:00
Compare commits
4 Commits
2d93f36ad9
...
4f96b69f1d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f96b69f1d | ||
|
|
d54a44b2d8 | ||
|
|
6307a9a5bf | ||
|
|
91959549ac |
@@ -1297,9 +1297,8 @@ DoImport(){
|
||||
if [ $PurgeDuplicates -eq 1 ]; then
|
||||
cat <<EOF | "$PLEX_SQLITE" "$TMPDIR/$CPPL.db-IMPORT-$TimeStamp"
|
||||
DELETE FROM metadata_item_settings
|
||||
WHERE id in (SELECT MIN(id)
|
||||
FROM metadata_item_settings
|
||||
GROUP BY guid HAVING COUNT(guid) > 1);
|
||||
WHERE rowid NOT IN
|
||||
( SELECT MIN(rowid) FROM metadata_item_settings GROUP BY guid, account_id );
|
||||
EOF
|
||||
fi
|
||||
|
||||
|
||||
@@ -9,6 +9,11 @@
|
||||
|
||||
# Release Info:
|
||||
|
||||
v1.0.10
|
||||
|
||||
- Correct bug when importing watch lists. Negative watch counts could occur.
|
||||
This release corrects the issue.
|
||||
|
||||
v1.0.9
|
||||
|
||||
- When recovering a damaged database, it is sometimes necessary to ignore constraint errors resulting from damaged indexes.
|
||||
|
||||
Reference in New Issue
Block a user