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,))