Commit Graph

130 Commits

Author SHA1 Message Date
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
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
Chuck
e68d61e011 Merge pull request #4 from 2bits/newsuppdir-add-echo
Fix echo variable pipe for NewSuppDir
2022-11-06 18:10:38 -05:00
2bits
7c5ffd9665 Fix echo variable pipe for NewSuppDir
This commit fixes a `NewSuppDir` bug reported in the forum SQLite3 thread, https://forums.plex.tv/t/suggested-sqlite3-db-optimizations/794749/122
where a `sed` was missing its `echo` variable and pipe.

The code between lines 328 and 350 was cut and tested in a Bourne script on a Mac, but not the whole `DBRepair.sh` on the user's OS.
There's no real need to pull this, as it's not for extra credit :)  But it get's the word out in a central location.
2022-11-06 13:40:42 -08: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