mcguirepr89 / BirdNET-Pi

A realtime acoustic bird classification system for the Raspberry Pi 4B, 3B+, and 0W2 built on the TFLite version of BirdNET.
Other
1.28k stars 137 forks source link

Delayed log display #1106

Open Svardsten53 opened 8 months ago

Svardsten53 commented 8 months ago

On one of my installations it takes about 60 seconds for the log to show any content after I click on the function in the menu. However, the black screen appears, but without content. After that it works normally. The logging function seems pretty simple (see below), but I can't follow what could be wrong. Does anyone have any idea? Otherwise, everything works normally.

if($_GET['view'] == "View Log"){echo "<body style=\"scroll:no;overflow-x:hidden;\"><iframe style=\"width:calc( 100% + 1em);\" src=\"/log\"></iframe></body>";}