89 Commits

Author SHA1 Message Date
ChuckPa
75481e41d3
Refactor version tags 2025-05-23 01:26:33 -04:00
ChuckPa
8aed201782
Correct version tag handling (remove junk)
Users would see multiple versions' tag info.  This is undesirable.
2025-05-22 19:38:05 -04:00
ChuckPa
a34511a219
May 2025 cleanup
Minor DB Cleanup extras.
2025-05-20 20:19:14 -04:00
ChuckPa
2fcd006ed4
Set LC_ALL=C when null
MacOS fails regular expressions when null (as of Sequoia)
2025-03-18 21:44:11 -04:00
ChuckPa
48f7ff7f36
Change Update to use non-POSIX techniques
QNAP BusyBox 'grep' no longer supports POSIX.
Refactor to alternative method
2025-01-03 19:03:01 -05:00
ChuckPa
984b4ff861
Minor cleanup from 1.10 release 2025-01-02 15:13:16 -05:00
ChuckPa
fe6c8d3ab6
Add Prune
Delete all images and temporary transcoder files/dirs in "/tmp".
2024-11-14 16:44:00 -05:00
ChuckPa
f11d8de6be
Fix: Forgot 'fi' on line 664 2024-09-04 20:02:20 -04:00
ChuckPa
f4b987900a
LSIO Start/Stop - updated path support
LSIO has multiple svc-plex pathnames.
This change adds support for /run/service/svc-plex.
2024-08-28 14:40:11 -04:00
Mark Honeychurch
f869520ef8
Update DBRepair.sh, fix typo
Removed duplicated "database" in instructions
2024-06-23 21:46:38 +12:00
ChuckPa
91562060d1
v1.07.00
1.  Add MacOS start/stop functionality from menu.
2.  Cleanup & dead code removal
2024-06-14 13:20:37 -04:00
2bits
b029ccebbb
Support Mac Start Stop
Use osascript to Start and Stop PMS on Apple Mac.
2024-06-13 19:49:13 -07:00
ChuckPa
029020ebc5
v1.06.02 bug fix
Manual configuration mode error handling and reporting.
2024-05-11 02:37:37 -04:00
ChuckPa
32c30e6826
v1.06.01 - Support directory or full path with '--sqlite' option. 2024-05-10 18:04:12 -04:00
ChuckPa
d0084c96fb
Manual config support
See Release notes about --sqlite and --databases options.
2024-05-05 01:22:32 -04:00
ChuckPa
1a3228e648
Windows: Make path discovery better
DBRepair (Win)  now understands mixed mode (32 bit on 64 bit OS)
2024-05-05 00:51:52 -04:00
ChuckPa
852fdfc0d5
Manual mode - Initial commit 2024-05-01 02:02:32 -04:00
ChuckPa
d8d2283c01
HOTIO path locator fixes
Contributed path changes for HOTIO
Version bump
2024-03-26 14:42:33 -04:00
causefx
4d880bf788
fix: add new path for update hotio image 2024-03-11 16:18:55 -07:00
ChuckPa
c8162a487f
Change Transcoder Cache dir to variable.
Structure differences on MacOS.
Update documentation
2024-03-08 00:35:02 -05:00
ChuckPa
26a8bf3e49
Add Kubernetes (and TrueNAS) container support 2024-02-09 01:54:49 -05:00
ChuckPa
d96f091823
v1.04.00 - Add SNAP support
Adds support for SNAP packaging  (/snap, /var/snap)
2024-01-30 19:57:29 -05:00
ChuckPa
6ebb342973
Correct case where PAGESIZE != 2^n where n={10,11,12,13,14,15,16}
1.  Correct PAGESIZE allowed values
2.  Improved performance of prune
3.  Cosmetic output cleanup
4.  Improve error messaging and handling
5.  Update documentation
2024-01-17 21:15:56 -05:00
ChuckPa
2a8a8e242b
Add 'purge' & Environment variable support.
PlexDBRepair - release v01.03.00

1.  Purge command  ('piurge') - Remove old image files from Transcode cache
2.  Environment variables support to tailor operation
    - DBREPAIR_CACHEAGE -  Set max age of files to retain
    - DBREPAIR_PAGESIZE    -  Set Plex SQLite database page_size
2024-01-17 00:33:07 -05:00
ChuckPa
8863beeab2
Update Release Notes & README.md
Logging - Add missing logging record when making active
One logging record was missing.

Add DSM 7 Task Scheduler usage documentation
2024-01-12 16:47:57 -05:00
ChuckPa
38749aef78
New: Add menu option to ignore/honor duplicates / constraint errors
update code.
bump to version 1.02.00 (new feature)
update release notes.
update readme
2023-11-26 00:43:39 -05:00
ChuckPa
fa760e3ddf
Update version to 1.01.04 after patch
update version to 1.01.04 after patch
2023-11-25 19:39:05 -05:00
ChuckPa
80fb3a751c
Fix unable to repair DB when UNIQUE constraint errors occur
Not all DBs were repairable.  This fix addresses UNIQUE constraint failures.
2023-11-25 19:36:57 -05:00
ChuckPa
fcf132f9e1
Fix unable to repair DB when UNIQUE constraint errors occur
Not all DBs were repairable.  This fix addresses UNIQUE constraint failures.
2023-11-25 19:25:21 -05:00
ChuckPa
4dcb686ab1
Cleanup version output
Update Release Notes
2023-11-10 15:40:26 -05:00
ChuckPa
f6008d76b7
Correct confirmation when not scripted.
Fixes:  https://github.com/ChuckPa/PlexDBRepair/issues/108
2023-11-10 15:13:43 -05:00
ChuckPa
ee335a69a5
Update ReleaseNotes
Release notes
2023-10-16 20:32:51 -04:00
ChuckPa
8cbbc2b0b2
v1.01.00 - Add self-update capability
And update documentation
2023-10-16 19:16:48 -04:00
causefx
db1edd13a4
Add update feature to script 2023-10-13 08:35:32 -07:00
ChuckPa
4d8fa8058c
Update version and generate new release 2023-09-23 14:44:32 -04:00
causefx
8924a304d1
fix first if statement 2023-09-18 20:37:07 -07:00
causefx
94abffcb86
Update DBRepair.sh 2023-09-17 17:50:23 -07:00
ChuckPa
c5609e585b
Fix release version
Update to v1.0.12 for HOTIO container start/stop
2023-08-30 19:42:40 -04:00
Brett Petch
559090d9d7
Update plex service location (re: #404461a)
404461a968
2023-08-29 11:40:04 -04:00
ChuckPa
9073ffa445
Change start/stop logic and timeout handling 2023-08-15 20:20:54 -04:00
ChuckPa
9d81f942cf
v1.0.10 - Prevent negative watch counts 2023-07-30 11:58:14 -04:00
ChuckPa
91959549ac
DBRepair: Prevent negative watch counts
Changes grouping and deletion.
Thanks @tkkg1994
2023-07-30 00:39:23 -04:00
ChuckPa
94a3c3923b
Provide means to ignore selected DB recovery errors
When recovering a damaged database,  it is sometimes necessary to ignore constraint errors resulting from damaged indexes.

This update provides command line options to support this:
1.   -i  or -f  -   Ignore DB check errors / Force acceptance
2.   -p  -  When importing viewstate from another DB, purge duplicate counts.
               (Use with extreme caution).
2023-06-25 16:20:52 -04:00
ChuckPa
7d9583a774
Refine Arch Linux detection. Grab a few others in the process 2023-06-09 20:23:45 -04:00
ChuckPa
507dca0af9
Enforce UID=0 on selected platforms 2023-06-02 00:00:31 -04:00
ChuckPa
d508e761d2
Binhex: Fat-fingered IF test. 2023-05-31 23:17:12 -04:00
ChuckPa
2c85008dc3
Fixes:
Fix Binhex container detection.
Re-prioritize host detection;  move MacOS detection higher up to avoid  mis-identification.
2023-05-28 16:18:41 -04:00
ChuckPa
1f23bf8419
Fix Quit / Exit behavior
Separate Quit and exit into two commands.
- Quit is immediate exit without cleanup
- Exit provides option to remove temp files
- EOF exit will always retain temp files.
2023-05-16 20:46:17 -04:00
ChuckPa
c00a52fda4
Version 1.0.5
1. Add Arch Linux support
2. Improve override file processing
3. Documentation cleanup
2023-05-05 00:23:35 -04:00
CLHatch
6431bfee86
Add start/stop command for ReadyNAS
I just tested this on my ReadyNAS 316, and it works.  The service file is stored at `/apps/plexmediaserver/fvapp-plexmediaserver.service`.
2023-04-01 23:41:47 -05:00