Commit Graph
117 Commits
Author SHA1 Message Date
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
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 4a7664b160 WD (OS 5) support
Add support for WD (OS 5)  systems
2022-10-28 13:17:31 -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