Commit Graph
85 Commits
Author SHA1 Message Date
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 907f233a06 Manual Configuration: How to use with Docker 2024-05-10 13:30:16 -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 ee8556d0f9 Update README.md 2024-04-23 22:04:52 -04:00
ChuckPa d8d2283c01 HOTIO path locator fixes
Contributed path changes for HOTIO
Version bump
2024-03-26 14:42:33 -04: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 4f21080862 Update DBRepair-Windows.zip after fixing Path discovery 2023-11-11 15:02:06 -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
ChuckPa 4d8fa8058c Update version and generate new release 2023-09-23 14:44:32 -04:00
ChuckPa c5609e585b Fix release version
Update to v1.0.12 for HOTIO container start/stop
2023-08-30 19:42:40 -04:00
ChuckPa 44b4cb58d7 Update HOTIO start/stop commands
Contributed by @brettpetch
2023-08-30 17:52:30 -04:00
ChuckPa cd39ce5d14 Update: Docker manual PMS stop instructions
Add How to stop PMS manually from within a container.
2023-08-16 21:53:51 -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 d54a44b2d8 Release notes. 2023-07-30 00:45:22 -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
ChuckPa ae18fbf1c7 Contribute: Add branch
Generate PRs to this branch.
PRs will merge to master after testing completed.
2023-04-19 12:06:27 -04:00
ChuckPa e5ea99d09b Contributing: Clarify guidelines. 2023-04-19 11:30:58 -04:00
ChuckPa 14cbc979c8 Contributor instructions
How to contribute to PlexDBRepair
2023-04-19 10:29:40 -04:00
ChuckPa 621bb274d2 Start/stop cleanup 2023-04-01 17:16:09 -04:00
ChuckPa e0ed282ffc Update README.md 2023-03-31 03:37:36 -04:00
ChuckPa 6aa4bac4c4 block if/fi correction 2023-03-29 04:18:06 -04:00
ChuckPa 69206eb356 QNAP: Force POSIX mode 'df' output formatting 2023-03-29 02:17:08 -04:00
ChuckPa a0184bdf24 Handle unexpected EOL when scripted 2023-03-28 00:23:20 -04:00
ChuckPa 3f32a57d1b Syntax error 2023-03-14 15:45:02 -04:00
ChuckPa 9b3c0ed40e Release 1.0.
New menu w/ command name support
Stop containers within the utility
Updated documentation
2023-03-13 15:10:26 -04:00
ChuckPa 7497df41b2 Incremental commit - BETA 3
development push -- changing repos


Cleanup finalized

Waiting to complete testing.
2023-03-01 19:58:39 -05:00
ChuckPa 1ef2d87b45 DBRepair v1.0.0 development 2023-02-27 12:57:20 -05:00
ChuckPa c10169d7fd Fix problem with date in timestamp
Date format subject to user system settings.  Results inconsistent.
This is a limitation of windows CMD

Date removed from TimeStamp.
2023-01-17 01:23:49 -05:00
ChuckPa 249f36a668 DBRepair-Windows: Fix Date/Time stamp
Date would have spaces in name on some systems.
2023-01-13 20:10:14 -05:00
ChuckPa 672c493c7e Add Podman (libpod) container support 2023-01-11 18:26:00 -05:00
ChuckPa 6daa8e0582 Fix typo - Hotio 2023-01-08 14:45:13 -05:00
ChuckPa 28cc96e32f Add HOTIO container support
Thanks to @causefx and @sittingmongoose.
2023-01-07 20:07:32 -05:00
ChuckPa 8e59eded28 Correct cgroups v2 issue
Corrected an issue with Cgroups V2 detection.
2022-12-26 21:39:16 -05:00
ChuckPa c73ad0a77f Western Digital: Forgot one set of quotes 2022-12-26 11:27:08 -05:00
ChuckPa d4005fba15 . 2022-12-24 20:55:20 -05:00
ChuckPa b621ca1ab1 . 2022-12-24 20:47:23 -05:00
ChuckPa 1e4a8e4b26 . 2022-12-24 19:21:43 -05:00
ChuckPa 579004cfe0 Add support for cgroup V2 2022-12-16 13:30:07 -05:00
ChuckPa de8bb48901 Improve database backup selection logic, Add BINHEX support
Added informative output and correct issue selecting final available backup.
Added binhex (Arch) docker support
Updated READMEmd

Add support for all Docker variants

Change detection to use cgroup

Add BINHEX support,  Update README.md
2022-12-14 01:43:46 -05:00
ChuckPa 7c56552ff7 Export View history with viewstate
Export view history table as well.
While here,  clean up the logic
Import using the same style as the other functions do.
Minor cleanup of user output. 

Final testing & review before release
2022-11-21 01:03:26 -05:00
ChuckPa db1f1da8fc Sort supported hosts list 2022-11-16 16:43:24 -05:00
ChuckPa 6b63fcb610 Add Sample Session 2022-11-16 16:17:57 -05:00
ChuckPa 3fda441b32 Add PMS interlock
Prevents database actions when PMS is active.
2022-11-16 13:50:02 -05:00
ChuckPa 3b625879d4 Merge branch 'chuckpa/watchlist' 2022-11-13 11:36:53 -05:00
ChuckPa c1feacaefa Import ViewState from another datatbase
Import viewstate (watch history) from another database.

Viewstate import - Development complete

Developer initial testing complete.
1.  Copy DB from Syno to Linux workstation
2.  Setup empty PMS on Linux workstation
3.  Add library section
4.  Observe media all unwatched
5.  import the DS418's database 
6.  Verify on Linux workstation -- all titles now marked played



Replaced 'echo -n' with posix printf.


Timestamp changed,  Add Undo to new code

1.  To increase portability,  changed the ':' in timestamo to '.' (MacOS problems)
2.  Completed adding WriteLog and logic to support UNDO for importing Viewstate



Change 'cut' back to awk


use printf in new code. Reapply timestamp change


Viewstate import - Improve error checking and recovery


Fix misplaced quote
2022-11-13 11:35:51 -05:00
ChuckPa e30053be35 Fix misplaced quote 2022-11-12 23:01:40 -05:00
ChuckPa b645e0f205 Viewstate import - Improve error checking and recovery 2022-11-12 01:18:04 -05:00
ChuckPa aa296cf52d use printf in new code. Reapply timestamp change 2022-11-11 13:57:15 -05:00
ChuckPa f45227abc4 Change 'cut' back to awk 2022-11-09 21:38:24 -05:00
ChuckPa 303cde633d Timestamp changed, Add Undo to new code
1.  To increase portability,  changed the ':' in timestamo to '.' (MacOS problems)
2.  Completed adding WriteLog and logic to support UNDO for importing Viewstate
2022-11-09 21:33:30 -05:00
ChuckPa 580ec27986 Replaced 'echo -n' with posix printf. 2022-11-08 11:19:31 -05:00
ChuckPa ba4474ed06 Import viewstate (watch history) from another database.
Viewstate import - Development complete

Developer initial testing complete.
1.  Copy DB from Syno to Linux workstation
2.  Setup empty PMS on Linux workstation
3.  Add library section
4.  Observe media all unwatched
5.  import the DS418's database 
6.  Verify on Linux workstation -- all titles now marked played
2022-11-07 18:52:32 -05:00
ChuckPa d967c08e2f Fixes per @2bits 2022-11-03 02:11:40 -04:00
ChuckPa 6e675ae48b Fixed variable editing when reading override.conf 2022-11-02 22:17:24 -04:00
ChuckPa efaaaadfc3 Update Readme.MD
User documentation & examples.
2022-10-31 17:14:48 -04:00
ChuckPa 4a7664b160 WD (OS 5) support
Add support for WD (OS 5)  systems
2022-10-28 13:17:31 -04:00
ChuckPa dbcbd76f83 Updated readme 2022-10-20 14:17:36 -04:00
ChuckPa 7f503642ba Docker: Simplify LSIO + PlexInc image detection 2022-10-15 16:59:58 -04:00
ChuckPa 03e738ec8f Add support for Docker and permission checks 2022-10-12 12:19:12 -04:00
ChuckPa 00e1080049 Add License.md, size Reports, README. 2022-09-21 19:18:17 -04:00
ChuckPa 43323e8cbf Initial Commit - DBRepair.sh 2022-09-01 19:19:12 -04:00
ChuckPa 2cb2d51e99 Initial commit 2022-09-01 19:16:50 -04:00