Disclaimer for direct editing

This commit is contained in:
SpaceMonkey 2025-06-09 23:52:30 +02:00
parent af3c1b7da6
commit c6a654149c

View file

@ -156,7 +156,12 @@ function splitByCulturalGroup(filePath) {
// Add all lines of the entry to the appropriate cultural group
if (currentCulturalGroup) {
if (!groups[currentCulturalGroup]) {
groups[currentCulturalGroup] = ['#EXTM3U'];
groups[currentCulturalGroup] = [
'#EXTM3U',
'# WARNING: This file is auto-generated from mystique.m3u',
'# Do not edit this file directly - edit the main mystique.m3u instead',
'#'
];
}
groups[currentCulturalGroup].push(...currentEntry);
}