269 Commits

Author SHA1 Message Date
Chuck
ddf02345a8 Merge pull request #37 from ChuckPa/chuckpa/windows-12-24-hour-clock
DBRepair-Windows:  Fix Date/Time stamp
2023-01-13 20:23:12 -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
Chuck
b600d52e13 Merge pull request #36 from ChuckPa/chuckpa/refector-container-detection
Add Podman (libpod) container support
2023-01-11 18:32:05 -05:00
ChuckPa
672c493c7e Add Podman (libpod) container support 2023-01-11 18:26:00 -05:00
Chuck
d2f8de489f Merge pull request #34 from ChuckPa/chuckpa/hotio-fix
Fix typo - Hotio
2023-01-08 14:48:38 -05:00
ChuckPa
6daa8e0582 Fix typo - Hotio 2023-01-08 14:45:13 -05:00
Chuck
19b5260168 Update README.md 2023-01-08 13:53:52 -05:00
Chuck
8a97580830 Merge pull request #33 from ChuckPa/chuckpa/add-hotio-support
Add HOTIO container support
2023-01-08 13:32:07 -05:00
ChuckPa
28cc96e32f Add HOTIO container support
Thanks to @causefx and @sittingmongoose.
2023-01-07 20:07:32 -05:00
Chuck
6b675bc2b3 Update README.md 2022-12-26 22:12:20 -05:00
Chuck
d36f9e1bad Merge pull request #31 from ChuckPa/chuckpa/Docker
Correct cgroups v2 issue
2022-12-26 21:41:02 -05:00
ChuckPa
8e59eded28 Correct cgroups v2 issue
Corrected an issue with Cgroups V2 detection.
2022-12-26 21:39:16 -05:00
Chuck
94a7718b2b Merge pull request #29 from ChuckPa/chuckpa/Wd-fix
Western Digital:  Fix location detection
2022-12-26 11:34:55 -05:00
ChuckPa
c73ad0a77f Western Digital: Forgot one set of quotes 2022-12-26 11:27:08 -05:00
Chuck
74a9b9e153 Merge pull request #28 from ChuckPa/ChuckPa/DBRepair-Windows-dev
Put Windows Development code on master
2022-12-24 21:05:14 -05:00
Chuck
6ade729e56 Merge branch 'master' into ChuckPa/DBRepair-Windows-dev 2022-12-24 21:05:04 -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
Chuck
605d7fa44c Update README.md 2022-12-24 19:04:03 -05:00
Chuck
89e158b16a Update README.md 2022-12-24 18:45:45 -05:00
Chuck
5e27807031 Update README.md 2022-12-24 18:44:23 -05:00
Chuck
a32345ac0c Update README.md 2022-12-16 16:59:01 -05:00
Chuck
04ea482fb0 Merge pull request #27 from ChuckPa/chuckpa/support-cgroup2
Add support for cgroup V2
2022-12-16 13:38:32 -05:00
ChuckPa
579004cfe0 Add support for cgroup V2 2022-12-16 13:30:07 -05:00
Chuck
6b253b26fd Merge pull request #22 from ChuckPa/chuckpa/improve-restore-logic
Improve database backup selection logic, Add BINHEX support
2022-12-15 01:52:30 -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
Chuck
8d2e287ecd Update README.md 2022-11-28 23:32:52 -05:00
Chuck
cd9fe591a3 Merge pull request #21 from ChuckPa/chuckpa/transfer-view-history-with-viewstate
Export View history with viewstate
2022-11-21 01:05:34 -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
Chuck
fc921293fe Merge pull request #18 from ChuckPa/chuckpa/sort-supported-hosts
Sort supported hosts list
2022-11-16 16:47:06 -05:00
ChuckPa
db1f1da8fc Sort supported hosts list 2022-11-16 16:43:24 -05:00
Chuck
20ee668d98 Merge pull request #17 from ChuckPa/chuckpa/update-doc
Add sample session to README.md
2022-11-16 16:22:14 -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
Chuck
972b03c575 Merge pull request #9 from 2bits/2bits/support-mac
Changes to support MacOS
2022-11-16 01:02:31 -05:00
2bits
71502bc203 Merge branch 'ChuckPa:master' into 2bits/support-mac 2022-11-15 21:04:38 -08:00
Tommy Mikkelsen
e97d46a16a Merge pull request #16 from ChuckPa/ukdtom/issue15
Readme needs update
2022-11-15 23:58:41 +01:00
Tommy Mikkelsen
75ebe8fb63 Readme needs update
Fixes #15
2022-11-15 23:55:32 +01:00
Tommy Mikkelsen
f882fef740 Merge pull request #14 from ChuckPa/ukdtom/issue13
Update ReadMe
2022-11-15 23:52:10 +01:00
Tommy Mikkelsen
6b046fd233 Update ReadMe
Fixes #13
2022-11-15 23:48:21 +01:00
2bits
e1f68ccd74 Align some WriteLog entries
The log is handsome when the spacing is right.
2022-11-15 01:41:40 -08:00
2bits
02450bf770 On Mac store plexmediaserver.pid in TMP
Storing `plexmediaserver.pid` in TMP is safer on a Mac than in a place
the engineering team is working. Make that change to the one we create.
Because TMP is not yet initialized in HostConfig(), go ahead & create it.
2022-11-15 00:46:51 -08:00
2bits
fac2aa6db4 Change DBRepair.sh to support Apple Mac.
This is the primary commit for PlexDBRepair that adds Mac support
to `DBRepair.sh`

Add all the PMS paths unique to Mac in `HostConfig()`.
Include code to create a `plexmediaserver.pid` file.
That concept needs more attention to guard against PMS running.

Deal with MacOS quirks in shell utils and builtins like
- sed -i
- echo -n
- pidof
- awk
- colons & forward slashes in filenames
2022-11-14 17:50:07 -08:00
2bits
4f581d251a Initial commit. Modify README to include Apple Mac
Initial commit for PlexDBRepair to add support for Mac.
Modify `README.sh` to inlcude Mac as a supported host.
Show how to run `DBRepair.sh` from the command line as Administrator.
2022-11-14 17:39:11 -08:00
Chuck
d7c8ac7abc Update README.md 2022-11-13 12:07:58 -05:00
Chuck
63920205ff Merge pull request #8 from ChuckPa/chuckpa/Watchlist-release
Chuckpa/watchlist release
2022-11-13 12:02:06 -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
Chuck
b58b27b071 Merge pull request #7 from ChuckPa/chuckpa/watchlist
Add watchlist (viewstate) import support to utility
2022-11-13 11:25:30 -05:00