Revert "Merge pull request #724 from knmurphy/enable-apprise-plugins"

This reverts commit ee63821a69, reversing
changes made to 8491d216c4.
This commit is contained in:
ehpersonal38
2023-02-15 10:33:50 -05:00
parent b1d6a5aca5
commit e61a92475c
2 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -280,7 +280,7 @@ if(isset($_GET['sendtest']) && $_GET['sendtest'] == "true") {
$body = str_replace("\$overlap", $overlap, $body);
$body = str_replace("\$flickrimage", $exampleimage, $body);
echo "<pre class=\"bash\">".shell_exec($home."/BirdNET-Pi/birdnet/bin/apprise -vv --plugin-path ".$home."/.apprise/plugins "." -t '".$title."' -b '".$body."' ".$attach." ".$cf." ")."</pre>";
echo "<pre class=\"bash\">".shell_exec($home."/BirdNET-Pi/birdnet/bin/apprise -vv -t '".$title."' -b '".$body."' ".$attach." ".$cf." ")."</pre>";
die();
}
+1 -7
View File
@@ -13,13 +13,7 @@ DB_PATH = userDir + '/BirdNET-Pi/scripts/birds.db'
flickr_images = {}
species_last_notified = {}
asset = apprise.AppriseAsset(
plugin_paths=[
userDir + "/.apprise/plugins",
userDir + "/.config/apprise/plugins",
]
)
apobj = apprise.Apprise(asset=asset)
apobj = apprise.Apprise()
config = apprise.AppriseConfig()
config.add(APPRISE_CONFIG)
apobj.add(config)