Support Doc for Database Cache Size (MB)?

@VBB

This is the same file you tested.

Yes it will go on GitHub and be maintained.

Before I release it on github, it needs:

  1. Function calls working as expected
  2. Menus
  3. More functions (DB import)
  4. Plex installation directory detection (if I can manage it)

here’s a live run (just now) . I added some 800 Movies.

 Volume Serial Number is D0F2-0B8D

 Directory of C:\Users\Chuck\AppData\Local\Plex Media Server\Plug-in Support\Databases

12/18/2022  02:25 PM    <DIR>          .
12/18/2022  02:25 PM    <DIR>          ..
12/17/2022  06:51 PM         1,036,288 com.plexapp.plugins.library.blobs.db
12/18/2022  02:02 AM         1,036,288 com.plexapp.plugins.library.blobs.db-2022-12-18
12/18/2022  02:25 PM       359,706,624 com.plexapp.plugins.library.db
12/18/2022  02:02 AM       311,504,896 com.plexapp.plugins.library.db-2022-12-18
12/17/2022  06:48 PM    <DIR>          dbtmp
12/17/2022  06:48 PM             5,294 PlexDBRepair.log
               5 File(s)    673,294,846 bytes
               1 Dir(s)  28,766,334,976 bytes free

C:\Users\Chuck\AppData\Local\Plex Media Server\Plug-in Support\Databases>g:DBRepair-WinDev.bat
14:26:11.85 --  ====== Session begins. (Sun 12/18/2022) ======
14:26:12.26 --  Exporting Main DB
14:27:30.02 --  Exporting Blobs DB
14:30:32.93 --  Exporting Complete.
14:30:32.94 --  Creating Main DB
14:30:57.94 --  Verifying Main DB
14:31:10.50 --  Main DB verification check is: ok
14:31:10.50 --  Main DB verification successful.
14:31:10.51 --  Creating Blobs DB
14:31:10.64 --  Verifying Blobs DB
14:31:10.72 --  Blobs DB verification check is: ok
14:31:10.72 --  Blobs DB verification successful.
14:31:10.72 --  Import and verification complete.
14:31:10.73 --  Reindexing Main DB
14:31:20.18 --  Reindexing Blobs DB
14:31:20.29 --  Reindexing complete.
14:31:20.29 --  Moving current DBs to DBTMP and making new databases active
        1 file(s) moved.
        1 file(s) moved.
        1 file(s) moved.
        1 file(s) moved.
14:31:20.31 --  Database repair/rebuild/reindex completed.
14:31:20.31 --  ====== Session completed. ======

C:\Users\Chuck\AppData\Local\Plex Media Server\Plug-in Support\Databases>dir
 Volume in drive C has no label.
 Volume Serial Number is D0F2-0B8D

 Directory of C:\Users\Chuck\AppData\Local\Plex Media Server\Plug-in Support\Databases

12/18/2022  02:31 PM    <DIR>          .
12/18/2022  02:31 PM    <DIR>          ..
12/18/2022  02:31 PM         1,036,288 com.plexapp.plugins.library.blobs.db
12/18/2022  02:02 AM         1,036,288 com.plexapp.plugins.library.blobs.db-2022-12-18
12/18/2022  02:31 PM       350,883,840 com.plexapp.plugins.library.db
12/18/2022  02:02 AM       311,504,896 com.plexapp.plugins.library.db-2022-12-18
12/18/2022  02:31 PM    <DIR>          dbtmp
12/18/2022  02:31 PM             6,178 PlexDBRepair.log
               5 File(s)    664,472,946 bytes
               1 Dir(s)  28,115,718,144 bytes free

C:\Users\Chuck\AppData\Local\Plex Media Server\Plug-in Support\Databases>
2 Likes