Merge branch 'mcguirepr89:main' into main
This commit is contained in:
@@ -63,6 +63,7 @@ Currently listening in these countries . . . that I know of . . .
|
||||
- Costa Rica
|
||||
- The Philippines
|
||||
- Hungary
|
||||
- South Sudan
|
||||
|
||||
## Features
|
||||
* 24/7 recording and BirdNET-Lite analysis
|
||||
|
||||
@@ -13,12 +13,12 @@ DB_PATH = userDir + '/BirdNET-Pi/scripts/birds.db'
|
||||
flickr_images = {}
|
||||
species_last_notified = {}
|
||||
|
||||
apobj = apprise.Apprise()
|
||||
config = apprise.AppriseConfig()
|
||||
config.add(APPRISE_CONFIG)
|
||||
apobj.add(config)
|
||||
|
||||
def notify(body, title, attached=""):
|
||||
apobj = apprise.Apprise()
|
||||
config = apprise.AppriseConfig()
|
||||
config.add(APPRISE_CONFIG)
|
||||
apobj.add(config)
|
||||
if attached != "":
|
||||
apobj.notify(
|
||||
body=body,
|
||||
|
||||
Reference in New Issue
Block a user