const fs = require('fs');
const path = require('path');

const configPath = path.join(__dirname, '../electron/config/default-templates.json');
const content = fs.readFileSync(configPath, 'utf8');
const config = JSON.parse(content);

console.log('Cover Templates:');
config.coverTemplates.forEach((t, i) => {
    console.log(`[${i}] ID: ${t.id}, Name: ${t.name}, IsSystem: ${t.is_system}`);
});

console.log('\nSubtitle Styles:');
if (config.subtitleStyles) {
    config.subtitleStyles.forEach((s, i) => {
        console.log(`[${i}] ID: ${s.id}, Name: ${s.name}, IsSystem: ${s.is_system}`);
    });
} else {
    console.log('No subtitleStyles found in config.');
}
