Revert "Merge pull request #724 from knmurphy/enable-apprise-plugins"
This reverts commitee63821a69, reversing changes made to8491d216c4.
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user