Skip to content

A live bird collage card for your Home Assistant dashboard.

after learning more about the code, it won't use the included_species_list.txt file until after considering the privacy_threshold on the entire labels.txt

mcguirepr89b3c4e905a91d
diff --git a/scripts/advanced.php b/scripts/advanced.php
index 20e2cd88..5ca3f638 100644
--- a/scripts/advanced.php
+++ b/scripts/advanced.php
@@ -164,14 +164,8 @@ if(isset($_GET['submit'])) {
fwrite($fh2, $contents2);
}
-$count_included = count(file("./scripts/include_species_list.txt"));
$count_labels = count(file("./scripts/labels.txt"));
-
-if($count_included > 0) {
- $count = $count_included;
-} else {
- $count = $count_labels;
-}
+$count = $count_labels;
?>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>