holy shit. dude also works for rich spaceman and had something to do with the x android. (github ) tested with reverse proxy over 4G.. works fine. can download files as well. --- "works fine" he says. this application hammers the shit out of the JF db and made my network grind hard. maybe wait for a few revisions. it does work, tho.
was BY FAR the funniest torpedo of a career i have ever seen in my fucking life. all he had to do was continue making videos, but chose a different route. damn. lmfao
VIDEO
• JF blog • download sqlite3 (cmd line tools) • set ENVIRONMENT PATH to c:\sqlite3 (or wherever you unzipped it) • python has sqlite3 included by defaultjellyfin_maintenance.py import sqlite3 db_path = r"C:\ProgramData\Jellyfin\Server\data\jellyfin.db" print("Connecting to database...") conn = sqlite3.connect(db_path) cur = conn.cursor() print("Running integrity check...") print(cur.execute("PRAGMA integrity_check;").fetchall()) print("WAL Checkpoint...") cur.execute("PRAGMA wal_checkpoint(TRUNCATE);") conn.commit() print("Cleaning old activity logs...") cur.execute("DELETE FROM ActivityLogs WHERE DateCreated < datetime('now', '-30 days');") conn.commit() print("Reindexing...") cur.execute("REINDEX;") conn.commit() print("Analyzing...") cur.execute("ANALYZE;") conn.commit() print("Running VACUUM (this may take time)...") cur.execute("VACUUM;") conn.commit() conn.close() print("!Maintenance complete!")
-- OR -- • stop JF service • run in (admin) cmd: cd C:\location_of\Jellyfin\Server\data && sqlite3 jellyfin.db "PRAGMA integrity_check;" && sqlite3 jellyfin.db "PRAGMA wal_checkpoint(TRUNCATE);" && sqlite3 jellyfin.db "DELETE FROM ActivityLogs WHERE DateCreated < datetime('now', '-30 days');" && sqlite3 jellyfin.db "REINDEX;" && sqlite3 jellyfin.db "ANALYZE;" && sqlite3 jellyfin.db "VACUUM;" -- OR -- 1. Stop Jellyfin (run in PowerShell as Administrator) PowerShellStop-Service JellyfinServer 2. Open Command Prompt and navigate to the database folder cd C:\ProgramData\Jellyfin\Server\data 3. Run these commands one by one: cmdsqlite3 jellyfin.db "PRAGMA integrity_check;" sqlite3 jellyfin.db "PRAGMA wal_checkpoint(TRUNCATE);" sqlite3 jellyfin.db "DELETE FROM ActivityLogs WHERE DateCreated < datetime('now', '-30 days');" sqlite3 jellyfin.db "REINDEX;" sqlite3 jellyfin.db "ANALYZE;" sqlite3 jellyfin.db "VACUUM;" 4. Restart Jellyfin PowerShellStart-Service JellyfinServer
MAN v24.21.11
[written solely in notepad]