From 5b50cf000c601f5d35cbbab17a7ec17ce3c8324c Mon Sep 17 00:00:00 2001 From: vijay Date: Mon, 8 Jun 2026 08:23:53 +0000 Subject: [PATCH] Update plexdb.py --- plexdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plexdb.py b/plexdb.py index 707ba92..c76aee5 100644 --- a/plexdb.py +++ b/plexdb.py @@ -42,7 +42,7 @@ def run_db_injection(db_path): # 3. Insert Video Stream record cursor.execute(""" INSERT INTO media_streams ( - media_part_id, stream_type_id, codec, index, language, + media_part_id, stream_type_id, codec, [index], language, bitrate, class, display_title, created_at, updated_at ) VALUES (?, 1, 'h264', 0, 'eng', 5000000, 'video', '1080p H.264', datetime('now'), datetime('now')) """, (part_id,)) @@ -50,7 +50,7 @@ def run_db_injection(db_path): # 4. Insert Audio Stream record cursor.execute(""" INSERT INTO media_streams ( - media_part_id, stream_type_id, codec, index, language, + media_part_id, stream_type_id, codec, [index], language, channels, bitrate, class, display_title, created_at, updated_at ) VALUES (?, 2, 'aac', 1, 'eng', 2, 192000, 'audio', 'AAC Stereo', datetime('now'), datetime('now')) """, (part_id,))