from app import create_app
from app.routes import get_quality_presets

import logging
logging.getLogger("werkzeug").setLevel(logging.ERROR)

app = create_app()
with app.app_context():
    presets = get_quality_presets()
    print("Presets length:", len(presets))
    if len(presets) > 0:
        print("First 3 presets:")
        for p in presets[:3]:
            print(p)
