Update plexdb.py
This commit is contained in:
parent
2af9870fd5
commit
1bfe9baeb1
@ -12,6 +12,10 @@ def run_db_injection(db_path):
|
||||
conn = sqlite3.connect(db_path)
|
||||
cursor = conn.cursor()
|
||||
|
||||
# Print table columns for debugging
|
||||
cursor.execute("PRAGMA table_info(media_parts)")
|
||||
print("[*] media_parts columns: {}".format([row[1] for row in cursor.fetchall()]))
|
||||
|
||||
# Find unanalyzed STRM files
|
||||
cursor.execute("""
|
||||
SELECT media_parts.id, media_items.id, media_parts.file
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user