feat: limit default categories and hashtags to podcast scope

This commit is contained in:
2026-07-25 15:19:36 +04:00
parent 521ad8c7f1
commit 4114b9e8e3
3 changed files with 14 additions and 34 deletions
+4 -14
View File
@@ -38,11 +38,8 @@ if (!defined('SHOW_VIDEO_VIEWS')) define('SHOW_VIDEO_VIEWS', false); // Masquer
// format: [ID catégorie => Nom personnalisé]
if (!defined('PRIORITY_CATEGORIES')) {
define('PRIORITY_CATEGORIES', [
11 => 'Actualités & Politique',
15 => 'Science et Technologie',
4 => 'Art',
9 => 'Humour',
10 => 'Divertissement'
10 => 'Divertissement',
15 => 'Science et Technologie'
]);
}
@@ -175,21 +172,14 @@ if (!defined('TAG_SHORT')) define('TAG_SHORT', 'short');
// Hashtags importants à afficher dans la sidebar, footer et menu mobile
if (!defined('IMPORTANT_TAGS')) {
define('IMPORTANT_TAGS', [
'ANNUKUTECED',
'podcast',
'fediverse',
'audio',
'vidéo'
'ANNUKUTECED'
]);
}
// Hashtags populaires à afficher sur la page d'accueil
if (!defined('POPULAR_TAGS')) {
define('POPULAR_TAGS', [
'podcast',
'annukuteced',
'fediverse',
'audio'
'ANNUKUTECED'
]);
}
+4 -14
View File
@@ -79,19 +79,12 @@ define('APP_HOST_NAME', 'example.com');
// Hashtags importants à afficher dans la sidebar, footer et menu mobile
define('IMPORTANT_TAGS', [
'ANNUKUTECED',
'podcast',
'fediverse',
'audio',
'vidéo'
'ANNUKUTECED'
]);
// Hashtags populaires à afficher sur la page d'accueil
define('POPULAR_TAGS', [
'podcast',
'annukuteced',
'fediverse',
'audio'
'ANNUKUTECED'
]);
// Durée maximale des shorts en secondes
@@ -154,11 +147,8 @@ define('SHORTS_MAX_DURATION', 180); // 3 minutes
// 17 : Kids
// 18 : Food
define('PRIORITY_CATEGORIES', [
11 => 'Actualités & Politique',
15 => 'Science et Technologie',
4 => 'Art',
9 => 'Humour',
10 => 'Divertissement'
10 => 'Divertissement',
15 => 'Science et Technologie'
// Ajoutez d'autres catégories selon vos besoins
]);