Voor de geïnteresseerden die Dashboard (plex pass) ook daar verwijderde users wil weg hebben. Hierbij een 'how to / tutorial'
Een tijdje terug poste ik
dit. Destijds was er veel op zwart op redit. Maar nu weer toegankelijk.
Met deze
post en de reactie erop heb ik mijn dashboard wat meer opgeruimd.
Aangezien daar de info nogal dunnetjes. Nog wat extra info. Hieronder uitleg is voor een Windows machine waar plex op draait.
Zorg dat plex server applicatie gesloten is.
com.plexapp.plugins.library.db is te vinden in
code:
1
| C:\Users\USERNAME\AppData\Local\Plex Media Server\Plug-in Support\Databases |
Maak voor de zekerheid een kopie van de db.
SQL editor die ik heb gebruikt is Beekeeper Studio Ultimate portable (voor 2 weken gratis te gebruiken), als iemand een betere heeft met z'n fijne interface laat het weten.
SQLite als connectie type en daarna bestand com.plexapp.plugins.library.db selecteren en connect.
Klik op de tabel accounts om alle accounts te zien. Zoek het record met id dat je wilt weggooien.
Wijzig 12345678 in het betreffende record id
code:
1
2
3
4
5
6
7
8
9
10
11
12
| DELETE FROM media_item_settings WHERE account_id = 12345678;
DELETE FROM media_part_settings WHERE account_id = 12345678;
DELETE FROM media_stream_settings WHERE account_id = 12345678;
DELETE FROM metadata_item_accounts WHERE account_id = 12345678;
DELETE FROM metadata_item_settings WHERE account_id = 12345678;
DELETE FROM metadata_item_views WHERE account_id = 12345678;
DELETE FROM play_queues WHERE account_id = 12345678;
DELETE FROM plugin_permissions WHERE account_id = 12345678;
DELETE FROM statistics_bandwidth WHERE account_id = 12345678;
DELETE FROM statistics_media WHERE account_id = 12345678;
DELETE FROM view_settings WHERE account_id = 12345678;
DELETE FROM accounts WHERE id = 12345678; |
Plak het in Query #1 en druk op run. Sluit het tabje accounts en klik weer op de tabel accounts. Je ziet dat record met dat id is weg.
Hierna kun je plex server applicatie starten en bij Dashboard (Plex pass nodig) is nu ook daar de user weg.