jkjnkjkllkjjk

This commit is contained in:
nose
2025-11-30 11:39:04 -08:00
parent ed417c8200
commit 7a13af9a1f
15 changed files with 1150 additions and 363 deletions

19
debug_db.py Normal file
View File

@@ -0,0 +1,19 @@
import sqlite3
import os
from pathlib import Path
db_path = Path("C:/Media Machina/.downlow_library.db")
if not db_path.exists():
print(f"DB not found at {db_path}")
else:
conn = sqlite3.connect(db_path)
cursor = conn.cursor()
print("Files in DB:")
cursor.execute("SELECT id, file_path FROM files")
for row in cursor.fetchall():
print(f"ID: {row[0]}, Path: {row[1]}")
conn.close()